Commit Graph

5067 Commits

Author SHA1 Message Date
marian 94b6e06060 Make sure the user data pointer carried by handled message is a CallEndpoint one.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5287 acf43c95-373e-0410-b603-e72c3f656dc1
2012-10-01 11:00:30 +00:00
oana 5da6b7f7cc Don't add a choice parameter to the XML if it's optional and it doesn't have a tag.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5286 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-27 14:32:05 +00:00
oana 242e18f467 Bug fix: acknowledge CONTROL frame types, don't rely on acknowledging the retransmission.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5285 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-26 14:10:09 +00:00
oana 79cda3df63 Fix for bug introduced in rev.5211: also check for frame type when looking for late PINGs/PONGs.
Avoids matching on a RINGING frame and not acknowledging it.



git-svn-id: http://yate.null.ro/svn/yate/trunk@5284 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-26 14:04:43 +00:00
paulc 53733091d8 Added a high pass filter to remove any bias from the AMR encoder input.
This works around a bug in the encoder that causes terrible noises on biased silence like the one caused by A-Law transcoding.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5283 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-25 16:15:48 +00:00
paulc a779f83eb0 Changed the handling of the "timeout" parameter so it (re)starts when call is answered.
Added "maxcall" and "timeout" setting and handling to channels that lacked it.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5282 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-25 09:39:49 +00:00
paulc fbd70be32b Propagate media packet flags through the AMR transcoder.
Always set the Mark bit when resuming after silence when using DTX.
Skip over the "no data" frames the AMR encoder generates in DTX mode.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5281 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-24 16:37:07 +00:00
oana a29dd63251 Added support for the reportSM-DeliveryState MAP operation.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5280 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-24 13:42:29 +00:00
paulc 7252404187 Send a SIGHUP to Yate only once, after all logs were rotated.
This fixes a race condition causing some logs to not be rotated promptly.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5279 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-24 10:47:49 +00:00
paulc 4a641d9b25 Fixed timestamps in AMR when transcoding from non-20ms packetization.
Added setting for initial AMR mode.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5278 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-21 10:38:19 +00:00
marian ec97de2487 Honor detected method when sending DTMFs.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5277 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-20 09:29:28 +00:00
marian 08654d5b53 Override channel dtmf methods in chan.dtmf only if explicitly requested.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5276 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-19 14:11:11 +00:00
marian 1204460b32 Fixed bug: don't advertise RFC2833 telephone event support when missing and rtp is forwarded.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5275 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-19 12:55:17 +00:00
marian c0a1420b5e Start capability exchange procedure when connection is established and didn't received remote capabilities.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5274 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-19 12:34:50 +00:00
paulc e2a2dd26ad Add GMT formatted timestamps by default to the Yate service.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5273 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-19 12:05:31 +00:00
andrei 1cbe7df586 Avoid declaring variables with the same name.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5272 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-19 11:12:50 +00:00
paulc 082d93a3a3 Reduce complexity of appending multiple objects to a list.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5271 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-19 10:59:42 +00:00
paulc 989b83725e Install filtered handlers for overlapped script messages.
Watch the "engine.timer" instead of installing a handler for it.
Overall these changes reduce contention in the script.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5270 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-19 10:57:11 +00:00
andrei 9a6586e49b Fixed Visual C compile error.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5269 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-19 10:25:40 +00:00
marian ec380ed341 Added parameter lists used to encode/decode MAP sendParameters request and response.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5268 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-18 15:31:26 +00:00
paulc 5b5530d25e Enqueue the module.update immediately when the RTP wrapper is destroyed.
These monitoring messages are now disabled by default.
Emit a delayed module.update if the number of RTP sessions or reflectors change.
This commit fixes a memory leak and system slowdown.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5267 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-18 11:26:23 +00:00
marian 0583b5cdc5 Changed info allowed debug message level. Show it when compiled with xdebug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5266 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-18 11:14:58 +00:00
marian e0fdf7c584 Allow dtmf send method(s) to be configured. Detect RFC2833 support when receiving remote capabilities.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5265 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-18 08:49:39 +00:00
marian 2030126a5f Allow send dtmf method(s) to be configurable. Detect remote party INFO support from 'Allow' header.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5264 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-18 08:40:29 +00:00
andrei fee18f0f18 Send accounting interim updates on call cdr status message.
Added Quintum radius attrinutes.
Add duplicate radius parameters in yate message.
Added the option to send radius messages from outside radius module.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5263 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-14 15:15:06 +00:00
andrei 5adc97d095 Added the option to disable call cdr updates.
Added the option to send call cdr status.
Added the option to format call time.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5262 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-14 15:12:16 +00:00
paulc 31155b34db Properly clean up a fork slave whose call.execute succeeded but connect() failed.
This fixes a dangling pointer crash caused by some misconfigurations.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5261 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-14 12:01:53 +00:00
andrei 900e263138 Handle charging isup message.
Added possibility to specify how to handle it from configuration. 


git-svn-id: http://yate.null.ro/svn/yate/trunk@5260 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-14 08:51:24 +00:00
paulc f2cdd4b39b Made the new SCCPUser documentation work with both doxygen and kdoc.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5259 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-13 17:50:14 +00:00
andrei 8a17864fab Improved SCCPUser methods documentation.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5258 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-13 15:36:59 +00:00
andrei 206710225e Properly initialize wait_oos timer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5257 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-13 10:05:18 +00:00
paulc 1b5e46cecc Allow postponing the embedded R: command when creating continuity check connection.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5256 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-11 18:42:52 +00:00
paulc 054a52f4eb Avoid making copies of message parameters in the RTP module.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5255 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-11 10:31:55 +00:00
paulc 8aa902352c Retrieve and reuse Time::now() at most twice per SIPEngine::getEvent()
Avoids making too many calls to gettimeofday() when there are many SIP transactions.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5254 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-11 10:27:56 +00:00
marian 64e3c4b224 Fixed debug message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5253 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-05 14:12:26 +00:00
marian 6ee5e5825f Implemented ping on client to server streams.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5252 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-05 13:50:08 +00:00
marian c8466bc285 Fixed bug: don't change party when processing inactive events to avoid overriding it with a wrong one. Moved party changed debug message to DebugInfo level.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5251 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-05 10:19:37 +00:00
marian a77586a7a9 Added configurable option (defaults to disable) used to change remote party's ip/port when a channel receives a response or a new transaction from a different address.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5250 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-03 09:41:46 +00:00
andrei f565edd8d7 Fixed crash. Release m_sending mutex when the socket is null.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5249 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-30 15:13:04 +00:00
marian 4994228715 Documented stream redirect max parameter.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5248 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-29 11:45:37 +00:00
marian 03fdd4de37 Ignore stream redirect to the same destination. Allow adding error element text in sent stream errors.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5247 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-29 11:40:38 +00:00
marian 4915f1e631 Handle calling phone numbers for tigase.im jabber accounts. Use voip.tigase.im as target domain.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5246 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-28 15:07:58 +00:00
marian 028a02cf82 Added support for redirect (see-other-host) stream error.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5245 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-28 15:03:43 +00:00
paulc b59e4a9a41 Fixed millisecond to timestamp conversion in IAX audio.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5244 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-28 00:31:06 +00:00
paulc 989e7d9b2f Override the IAX caller and callername only if presenty in REGACK.
Allow setting the preferred caller and callername in account.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5243 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-27 20:59:19 +00:00
paulc 01a81504e9 Overwrite the calling number and name on IAX calls only if they are set by the line.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5242 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-27 20:36:54 +00:00
paulc a5aaf0406d Display maxcalls besides running cals count in "callgen info" command.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5241 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-27 12:59:04 +00:00
paulc 5a94b2fc2a Make sure we clear the processor of a RTP transport only after the group was cleared.
Fixes a very infrequent random crash.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5240 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-27 11:17:33 +00:00
paulc a9b848b408 Added an optional kernel buffer setting for RTP sockets.
This limits how much delayed (so useless anyway) packets are processed under high load.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5239 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-24 17:53:33 +00:00
paulc ef4b1e4255 Added -F to init scripts to increase file handle limit.
Moved the -d and -p options out of Debian's user preferences.
Unified optional daemon command line across package types.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5238 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-22 15:19:34 +00:00