Commit graph

4959 commits

Author SHA1 Message Date
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
paulc
8f33870634 Bumped version to 4.2.1 development.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5237 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-20 13:08:20 +00:00
paulc
bdf626f043 Changed release code to 2 for the SIP changes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5235 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-20 11:42:38 +00:00
oana
4b096a8081 Added separate setting for activating the SIP flood protection mechanism.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5234 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-20 11:06:06 +00:00
paulc
659e7884b0 Added new lksctp.conf to packaging.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5233 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-20 09:44:00 +00:00
paulc
eda4865932 Changed version to release.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5232 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-20 09:16:27 +00:00
paulc
c5a87c0c02 Changed package version to 4.2
git-svn-id: http://yate.null.ro/svn/yate/trunk@5231 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-20 09:09:29 +00:00
paulc
d4aacc8ce9 Always use the RTP started flag, no matter in which version.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5230 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-17 23:08:21 +00:00
paulc
3919a0668e Fixed Jingle audio content creation in a scenario with immediate answer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5229 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-17 21:09:08 +00:00