Commit Graph

46 Commits

Author SHA1 Message Date
paulc 37a72e4bc1 Added copyright notices to sources and scripts missing them.
Updated copyright notices for 2014.
Fixed end of lines in many files.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5755 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 11:42:17 +00:00
paulc cf5d0fd71a Changed license terms in each source file to reference an external file.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5609 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 13:38:10 +00:00
marian cab5d6ebc4 Fixed bug: avoid rejecting a call when a full Voice frame is received before processing Accept.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5551 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-24 09:13:17 +00:00
marian 5f3ab731e3 Added support for multiple iax listeners.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5550 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-20 13:50:39 +00:00
marian 266819937c Fixed race condition when (re)setting connection transaction pointer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5546 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-14 14:54:22 +00:00
marian 03618a32ff Added option to use efficient trunking: a transaction can now send trunking data only if the number of calls using the trunk is greater then 1.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5544 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-14 12:31:31 +00:00
marian b88be7a47e Allow trunking parameters set in 'user.login' to override configured. Allow trunking out to be enabled in 'user.login'.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5542 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-13 10:28:53 +00:00
marian 1f8feb6d48 Made sent challenge timeout interval configurable. Improved debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5540 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-12 13:47:13 +00:00
marian c924cdfb28 Fixed transaction timeout when waiting for terminate. improved debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5539 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-12 12:17:20 +00:00
marian e09aa75d48 Send INVAL for all unmatched full frames except for INVAL.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5538 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-11 14:03:57 +00:00
marian d6060f0213 Made configurable ping interval, frame retransmission counter and interval.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5537 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-11 13:41:36 +00:00
marian ce83870516 Fixed bug: don't reject incoming calls with missing USERNAME IE, reject incoming (un)register requests with missing USERNAME IE. Improved debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5536 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-11 10:23:22 +00:00
marian 3021fe3b2a Implemented sending of trunk without miniframes timestamp. Fixed timestamp handling when processing trunk without miniframes timestamps. Check for thread termination when parsing lists tp process transactions and trunks.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5535 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-11 08:57:46 +00:00
marian 14b658f0a5 Send missing required parameters in New and RegRej.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5528 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-05 11:03:40 +00:00
marian 0632636339 Set and handle caller number type, presentation and screening.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5527 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-05 09:57:42 +00:00
marian 6c44fcaf43 Fixed bug: terminate a rejected transaction when ACK is received.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5520 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-04 11:02:20 +00:00
marian 1199baf95e Don't send refresh IE when unregistering.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5515 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-03 14:50:18 +00:00
marian 18607ad4fb Added calltoken support for outgoing registrations.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5514 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-03 14:21:11 +00:00
marian e3b028dfa3 Fixed bug: avoid leaking incoming registration transactions. Improved debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5512 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-03 13:02:47 +00:00
marian a5385c2f47 Fixed timestamps for sent media: send timestamps using media source timestamp, sync audio timestamps with transaction timestamp.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5511 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-03 07:50:14 +00:00
marian d65e873624 Fixed bug: don't adjust Pong and LagRp timestamps: they must be sent with received request timestamp.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5508 acf43c95-373e-0410-b603-e72c3f656dc1
2013-05-22 14:47:07 +00:00
marian fd88ed1260 Properly handle trunk frames without miniframe timestamps.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5344 acf43c95-373e-0410-b603-e72c3f656dc1
2012-12-07 15:41:13 +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
oana 8a8b37c663 Added special handling for late PING/PONG frames.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5211 acf43c95-373e-0410-b603-e72c3f656dc1
2012-07-24 14:24:24 +00:00
oana 3a538cdb01 Don't clear incoming frames queue, avoids losing received ACKs.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5210 acf43c95-373e-0410-b603-e72c3f656dc1
2012-07-24 14:11:41 +00:00
oana 0ac755b18f Never reject processing an INVAL frame.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5209 acf43c95-373e-0410-b603-e72c3f656dc1
2012-07-24 14:07:10 +00:00
oana fa6b375e94 Don't increment output sequence number when sending an INVAL.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5208 acf43c95-373e-0410-b603-e72c3f656dc1
2012-07-24 14:02:24 +00:00
oana 14ba3f9c84 Always try to adjust timestamps when sending frames.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5198 acf43c95-373e-0410-b603-e72c3f656dc1
2012-07-13 14:19:19 +00:00
oana 8625ac0551 Bug fix: Send ACK when receiving ANSWER, don't send ACK when receiving INVAL.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5197 acf43c95-373e-0410-b603-e72c3f656dc1
2012-07-13 14:13:01 +00:00
oana fb4a7f61a3 Bug fix: don't search an ACK for a sent PING.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5196 acf43c95-373e-0410-b603-e72c3f656dc1
2012-07-13 14:01:12 +00:00
oana 0ebbdbd97f Bug fix: don't terminate a transaction until an ACK is received which matches the sent HANGUP frame.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5195 acf43c95-373e-0410-b603-e72c3f656dc1
2012-07-13 13:52:40 +00:00
oana e1941d32f9 Bug fix: don't refuse INVAL/VNAK frames even if a HANGUP has been sent for a transaction.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5194 acf43c95-373e-0410-b603-e72c3f656dc1
2012-07-13 13:43:26 +00:00
oana d1fe8b9c3f Bug fix: don't remove a frame unless it matches with a received ACK.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5192 acf43c95-373e-0410-b603-e72c3f656dc1
2012-07-13 13:13:16 +00:00
oana e0b65c6394 Bug fix: after the last retransmission of a frame, wait for a while for an answer before destroying the transaction. Changed debug level for message regarding media transmission.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5191 acf43c95-373e-0410-b603-e72c3f656dc1
2012-07-13 12:49:44 +00:00
marian 1051c59a8f Allow registration expire time to be changed by the user.register message when acting as registrar.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4645 acf43c95-373e-0410-b603-e72c3f656dc1
2011-10-12 14:35:52 +00:00
marian 04b7b695a1 Added video support to iax channel. Added/changed debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4644 acf43c95-373e-0410-b603-e72c3f656dc1
2011-10-12 14:23:19 +00:00
marian eae45ad032 Added support for call token IAX extension. The frame is now keeping its own IE list to avoid parsing it again.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4480 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-11 12:46:14 +00:00
paulc 1ae0546b45 Added class for pseudo random number generation.
Replace library ::random() and ::rand() calls with shared Random method.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4470 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-29 11:19:02 +00:00
marian 01d6f7601c Safely allow IAX lines to be processed asynchronously (IAX line is now a Mutex and RefObject). Fixed IAX line (un)register transaction abort.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3791 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-04 15:43:16 +00:00
paulc c23251c4d0 Fixed more warnings on different platforms.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2726 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-19 11:58:33 +00:00
paulc 2c3d47c29c Added mutex names to most Yate libraries.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2612 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-05 12:37:55 +00:00
paulc 9b292f5868 Fixed some warnings and genuine bugs exposed by newer gcc.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2447 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-20 12:27:53 +00:00
paulc 7a7d60364d Don't force username as called number in registration.
As protocol extension allow to register specific called number and context.


git-svn-id: http://yate.null.ro/svn/yate/trunk@1859 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-28 16:06:21 +00:00
paulc 85a2f72b07 Silenced several benign warnings.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1600 acf43c95-373e-0410-b603-e72c3f656dc1
2008-01-08 13:05:34 +00:00
paulc bccee6022e Directory reorder #1
git-svn-id: http://yate.null.ro/svn/yate/trunk@1474 acf43c95-373e-0410-b603-e72c3f656dc1
2007-11-15 22:08:39 +00:00