Commit Graph

831 Commits

Author SHA1 Message Date
paulc b58683909b Always copy parameters from Yate messages to signaling messages.
Copy parameters starting with a CapitalLetter in all messages, not just IAM.
Made static several helper functions to avoid symbol pollution.


git-svn-id: http://voip.null.ro/svn/yate@3407 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-29 19:46:31 +00:00
paulc 6b86d3be09 Added support to emit SS7 Management messages (COO,CBD,TFP,TFR,TFA,TRA) with arbitrary fields from chan.control message or rmanager command.
git-svn-id: http://voip.null.ro/svn/yate@3405 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-29 09:35:02 +00:00
paulc d49b070451 Added a "reset" control command to fast reset ISUP circuits.
Default reset interval for both ISUP and ISDN is 300s with 60s minimum.


git-svn-id: http://voip.null.ro/svn/yate@3404 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-25 14:48:29 +00:00
paulc 8c02021eeb Use static const Regexps wherever possible to speed up code.
git-svn-id: http://voip.null.ro/svn/yate@3391 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-17 11:38:46 +00:00
paulc 511eddc54e Use the correct table for validating the voice format name.
Fixes setting non-default formats for ISUP call controllers.


git-svn-id: http://voip.null.ro/svn/yate@3388 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-17 09:56:19 +00:00
paulc 81ecea7581 Got rid of some long standing conversion warning by providing the proper casts.
git-svn-id: http://voip.null.ro/svn/yate@3377 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-11 18:07:17 +00:00
paulc 6e23c56d28 Spelling cleanup of a very common error: Retrive -> Retrieve
git-svn-id: http://voip.null.ro/svn/yate@3371 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-11 11:25:10 +00:00
paulc d646d0da2f Fixed the way SS7 L4 detaches early from the SS7 router.
Added a conditional debugging message when engine searches a component.


git-svn-id: http://voip.null.ro/svn/yate@3369 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-09 21:07:50 +00:00
marian 3c1053ba3e Check pointer before using it.
git-svn-id: http://voip.null.ro/svn/yate@3361 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-03 11:43:42 +00:00
paulc 3f364ef2bd Pick only the already offered formats from an arbitrary list of media formats.
This removes the possibility of accidentally answering with a codec that was not offered.


git-svn-id: http://voip.null.ro/svn/yate@3347 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-27 15:46:36 +00:00
marian cd6943ffb7 Added utility used to decode old XEP-0091 date/time stamp.
git-svn-id: http://voip.null.ro/svn/yate@3341 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-26 08:45:14 +00:00
paulc 83934efb74 Added method to fire a timer at a specific time.
git-svn-id: http://voip.null.ro/svn/yate@3314 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-12 10:57:36 +00:00
paulc af8c7b12f4 Allow SNM, MTN and MTP_T user parts to have their SIO configured.
git-svn-id: http://voip.null.ro/svn/yate@3304 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-11 08:02:30 +00:00
paulc 2e2c0545e8 Moved the SIO variable and its settings (service, priority, netindicator) in the common SS7Layer4 class so they apply to all SS7 User Parts.
git-svn-id: http://voip.null.ro/svn/yate@3302 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-10 10:38:18 +00:00
paulc 1c0eb8f817 Properly store the sequence number in the test data.
git-svn-id: http://voip.null.ro/svn/yate@3292 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-06 11:48:55 +00:00
paulc c389491462 Preserve the SLS in all answers sent at MTP3, some implementations are very picky.
git-svn-id: http://voip.null.ro/svn/yate@3289 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-05 15:09:25 +00:00
paulc f5ba7cbf35 Preserve the SLS of ISUP messages throughout the call.
SLS style defaults to "cic" on ITU controllers.


git-svn-id: http://voip.null.ro/svn/yate@3287 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-04 16:24:56 +00:00
paulc 74e4a198cf Truncate the SLS field to the number of bits mandated by the point code.
git-svn-id: http://voip.null.ro/svn/yate@3286 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-04 16:22:54 +00:00
paulc 26b9bead07 Changed code 27 to "out-of-order" so 20 (Subscriber absent) could be mapped to "offline".
Added some cause code mappings including 14 (Excess digits).
Changed default cleanup code to Network Out Of Order.


git-svn-id: http://voip.null.ro/svn/yate@3276 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-04 09:34:35 +00:00
paulc 7b9d11ccf0 Correctly deal with the packed form of calledpointcode.
Filter incoming ISUP and BICC messages by remote Point Code.
Added an inequality operator for SS7PointCode.


git-svn-id: http://voip.null.ro/svn/yate@3273 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-03 13:06:41 +00:00
paulc 66c1838b1a Fixed a Doxygen commment.
git-svn-id: http://voip.null.ro/svn/yate@3272 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-03 12:29:52 +00:00
paulc bd0a6fc6a9 Allow specifying a default SLS for outbound calls in the ISUP settings (reloadable).
git-svn-id: http://voip.null.ro/svn/yate@3265 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-01 18:38:03 +00:00
paulc cf8d84aef7 Added support for NumberPortabilityInformation.
Added declaration of a bunch new ITU parameters (Q.763 12/1999).


git-svn-id: http://voip.null.ro/svn/yate@3264 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-30 19:25:10 +00:00
paulc 365fc226ee Added decoding and encoding of the GenericName ISUP parameter.
git-svn-id: http://voip.null.ro/svn/yate@3263 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-30 18:24:58 +00:00
paulc 4ed0aadefb Added possibility to retrieve and set the SLS of a new ISUP call.
git-svn-id: http://voip.null.ro/svn/yate@3262 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-30 17:06:23 +00:00
paulc c842b3c13f Added support for Hop Counter and Originating Line Information ISUP parameters.
Constified some parameter description tables.


git-svn-id: http://voip.null.ro/svn/yate@3261 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-30 16:07:38 +00:00
marian 68ec433729 Allow building message stanza with custom type attribute.
git-svn-id: http://voip.null.ro/svn/yate@3256 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-29 15:19:44 +00:00
marian 85e9ec4611 Added method used to copy an xml element's attributes to another list using a prefix.
git-svn-id: http://voip.null.ro/svn/yate@3254 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-29 13:29:38 +00:00
marian c4cc64f1e1 Fixed bug: reset pointer after changing ownership to avoid double destruction.
git-svn-id: http://voip.null.ro/svn/yate@3250 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-28 12:32:20 +00:00
paulc da2cd240d0 Added support for sending periodic RTCP reports and the final RTCP bye.
git-svn-id: http://voip.null.ro/svn/yate@3248 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-27 22:20:09 +00:00
marian 079f037bbf Added
git-svn-id: http://voip.null.ro/svn/yate@3246 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-27 15:04:03 +00:00
paulc c0b1b7f91a Added support for the ISUP GenericNumber parameter. Copy all possible parameters to the IAM message.
git-svn-id: http://voip.null.ro/svn/yate@3241 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-22 13:42:36 +00:00
paulc a915a4592d Added handling of ISUP CCR messages - either in existing calls or alone.
git-svn-id: http://voip.null.ro/svn/yate@3239 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-21 20:54:38 +00:00
paulc 3ab5be8cce Update the format before placing the circuit in a special mode.
Prefix with "test:" the continuity type when our end is initiating the test.


git-svn-id: http://voip.null.ro/svn/yate@3235 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-21 15:47:03 +00:00
paulc 848caaa5b2 Allow changing the continuity check style at initialization.
git-svn-id: http://voip.null.ro/svn/yate@3231 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-21 12:51:44 +00:00
paulc 738e5a3aed Send the proper release message and cause if circuit failed to enter continuity check mode.
git-svn-id: http://voip.null.ro/svn/yate@3230 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-21 12:32:06 +00:00
paulc 5b4cc44e46 Added continuity check type setting in ISUP. Fixed a format documentation error.
git-svn-id: http://voip.null.ro/svn/yate@3229 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-21 12:01:01 +00:00
paulc 7795ecc048 Implemented sending CQM using control command, ignore without CNF some response messages - CQR, CVR.
git-svn-id: http://voip.null.ro/svn/yate@3228 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-21 09:33:16 +00:00
paulc f61060d708 The default data format should fit the point code of the ISUP call controller.
git-svn-id: http://voip.null.ro/svn/yate@3227 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-21 08:57:27 +00:00
paulc 2024c8f685 Fixed the encoding of raw hex parameters, it was reporting wrong length.
git-svn-id: http://voip.null.ro/svn/yate@3226 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-21 08:16:19 +00:00
paulc 1a0ced9c85 Only check for testing if call is not already testing or set up.
git-svn-id: http://voip.null.ro/svn/yate@3225 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-20 16:56:20 +00:00
paulc 606dbeebf7 Let the call progress only if COT indicates success.
git-svn-id: http://voip.null.ro/svn/yate@3224 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-20 15:35:13 +00:00
paulc 63cc8b2fa3 Unified code paths for testing the continuity check flags in both directions of the call.
git-svn-id: http://voip.null.ro/svn/yate@3223 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-20 15:07:29 +00:00
paulc 7ef4b061b2 Fixed the placements of bits used in continuity check indication.
git-svn-id: http://voip.null.ro/svn/yate@3220 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-20 11:07:47 +00:00
paulc d2a17acc71 Preliminary support for continuity testing in ISUP calls.
git-svn-id: http://voip.null.ro/svn/yate@3203 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-16 23:50:58 +00:00
paulc 6bdf413a19 Added implementation of SS7 MTP Traffic Test User Part described in Q.782 2.3
git-svn-id: http://voip.null.ro/svn/yate@3190 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-13 22:18:38 +00:00
paulc 26213e9159 Implemented answering to Circuit Group Query (national use).
git-svn-id: http://voip.null.ro/svn/yate@3188 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-12 22:05:10 +00:00
paulc e1f182fee3 Added support for controlling ISUP, implemented sending CVT on demand.
git-svn-id: http://voip.null.ro/svn/yate@3187 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-12 22:02:27 +00:00
paulc 2753c9faee Added explicit keyword to create routes to adjacent point codes (A/E or F links). Regular routes now have a default priority of 100.
git-svn-id: http://voip.null.ro/svn/yate@3186 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-12 18:01:41 +00:00
paulc b20e23e0a5 Added CQR (Circuit Group Query Response, national use) message description.
The CircuitStateIndicator parameter uses the raw coder.


git-svn-id: http://voip.null.ro/svn/yate@3185 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-12 12:27:48 +00:00
paulc b3d88aa7d7 Handle ANSI ISUP Circuit Validation Test, answer to it.
git-svn-id: http://voip.null.ro/svn/yate@3178 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-09 22:16:08 +00:00
paulc 962bc53562 ANSI RLC has no parameters, not even optional, so add it to the specific table.
Accept with just a MILD warning messages that are truncated just before the optional parameters pointer.


git-svn-id: http://voip.null.ro/svn/yate@3177 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-09 16:58:03 +00:00
oana aa528b1523 Yate has been ported on Mac OS X.
git-svn-id: http://voip.null.ro/svn/yate@3153 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-30 11:49:43 +00:00
paulc a3b65e3faa Reorder libraries so that Yate libraries and modules can be linked using --as-needed avoiding underlinking or overlinking.
Reported by Mandriva (bug report #206).


git-svn-id: http://voip.null.ro/svn/yate@3143 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-24 13:46:12 +00:00
marian cae46114b4 Fixed SRV query failure reporting.
git-svn-id: http://voip.null.ro/svn/yate@3132 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-18 15:25:15 +00:00
marian 52d07b557d Fixed debug.
git-svn-id: http://voip.null.ro/svn/yate@3131 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-18 14:32:37 +00:00
marian 83812e81e4 The xml parser now returns incomplete instead of invalid encoding error when the buffer contains an invalid utf8 character (it might be at buffer end).
git-svn-id: http://voip.null.ro/svn/yate@3129 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-17 15:22:26 +00:00
marian d2a45bc08d Lock the socket mutex when the xml parser is reset due to stream restart.
git-svn-id: http://voip.null.ro/svn/yate@3128 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-17 14:48:40 +00:00
marian b480d411f0 Fixed deadlock: outgoing jabber stream id is now checked by the engine event processor to avoid locking engine's stream list(s) while the stream is locked.
git-svn-id: http://voip.null.ro/svn/yate@3126 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-17 13:06:54 +00:00
paulc 5686698de8 Collect RTP stats - packet and octet counter - and retrieve them MGCP style.
git-svn-id: http://voip.null.ro/svn/yate@3105 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-03 18:52:40 +00:00
marian 524b89abdb Don't indent element text when it's the only child. Fixed documentation.
git-svn-id: http://voip.null.ro/svn/yate@3100 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-02 09:27:10 +00:00
paulc ef54bbdde6 Handle SignallingInterface::HardwareError condition in M2PA.
An explicit "align" control forces alignment even if autostart is disabled.


git-svn-id: http://voip.null.ro/svn/yate@3092 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-18 17:52:53 +00:00
marian cf0e6bb935 Fixed bug: always re-connect idle outgoing c2s streams.
git-svn-id: http://voip.null.ro/svn/yate@3087 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-18 11:46:45 +00:00
marian f0efb2945a Fixed indendation.
git-svn-id: http://voip.null.ro/svn/yate@3086 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-18 11:45:20 +00:00
marian 8630c28ec1 Implemented support for multiple remote domains on incoming s2s streams. Implemented XEP 0185 and 0220. Added module option and stream flag used to disable RFC3920 features advertising on incoming s2s streams.
git-svn-id: http://voip.null.ro/svn/yate@3085 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-18 11:40:24 +00:00
paulc 2b2f7e2380 Use CR LF for multi-line message outputs, fixes telnet and Windows logging.
git-svn-id: http://voip.null.ro/svn/yate@3082 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-15 21:07:17 +00:00
paulc 240cb52250 Fixed checking of M2PA backwards sequence numbers with jumps.
Decode and acknowledge CBD and XCO management messages.


git-svn-id: http://voip.null.ro/svn/yate@3080 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-15 20:29:32 +00:00
paulc 81e5d1050e Use the proper clearParams() method to clear the parameter lists.
git-svn-id: http://voip.null.ro/svn/yate@3078 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-15 13:53:18 +00:00
paulc adbcad5373 Fixed building in Windows, added sigtransport to build and installer.
git-svn-id: http://voip.null.ro/svn/yate@3069 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-04 12:50:06 +00:00
paulc 3769914317 The SS7 Management component can handle MTNS messages too.
git-svn-id: http://voip.null.ro/svn/yate@3068 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-04 02:02:52 +00:00
paulc 2c29e87f01 Set the proper PPID for M2PA, propagate to SCTP socket.
Fixed order of sequence numbers in M2PA.
Fixed the insertion/removal of priority octet in M2PA transport.


git-svn-id: http://voip.null.ro/svn/yate@3067 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-04 02:01:40 +00:00
paulc 80a2af15b4 M2PA Normal and Emergency proving were reversed.
git-svn-id: http://voip.null.ro/svn/yate@3064 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-03 23:32:07 +00:00
paulc ed7d097677 Fixed initial M2PA sequence numbers and aligned() implementation.
Improved debugging messages and fixed minor spelling errors.


git-svn-id: http://voip.null.ro/svn/yate@3060 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-02 21:53:05 +00:00
andrei ecd075d0ac Added generic support for SS7 SIGTRAN protocol stack.
Added SCTP sockets support based on Linux Kernel SCTP.
Added SS7 Sigtran M2PA protocol support.


git-svn-id: http://voip.null.ro/svn/yate@3058 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-02 14:38:12 +00:00
paulc be5664b373 Use static Regexps instead of allocating them on stack. Multiplies 2.5x the parser performance.
git-svn-id: http://voip.null.ro/svn/yate@3048 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-31 20:30:02 +00:00
paulc 232ca0d142 Minor performance improvement parsing non-SIP/2.0 branches.
git-svn-id: http://voip.null.ro/svn/yate@3047 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-31 20:27:56 +00:00
marian ac821b5213 Add one pair of separators (-----) when xml is printed in verbose mode.
git-svn-id: http://voip.null.ro/svn/yate@3043 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-28 11:20:16 +00:00
marian c9075175c2 Added extra mutex to protect stream socket and parser (avoid infinite looping on connection reset).
git-svn-id: http://voip.null.ro/svn/yate@3037 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-26 11:40:15 +00:00
marian b6b6e47497 Don't add streams namespace to error and features elements.
git-svn-id: http://voip.null.ro/svn/yate@3036 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-26 11:30:34 +00:00
paulc 89a427cb6e Fixed some doxygen comments.
git-svn-id: http://voip.null.ro/svn/yate@3015 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-11 00:24:17 +00:00
marian 32b89dede5 Avoid destroying a locked isup call mutex.
git-svn-id: http://voip.null.ro/svn/yate@3014 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-08 15:39:26 +00:00
andrei c78831d0e4 When getting circuit events return fast without locking if there are no queued events.
Fixes high CPU usage when running many ISDN or SS7 circuits.


git-svn-id: http://voip.null.ro/svn/yate@3011 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-07 14:19:57 +00:00
marian f59b9fbc96 Set message type to 'chat' when building from a list of parameters. Added some namespaces to global list.
git-svn-id: http://voip.null.ro/svn/yate@2986 acf43c95-373e-0410-b603-e72c3f656dc1
2009-12-14 16:44:34 +00:00
marian b04da09914 Escape element text when requested.
git-svn-id: http://voip.null.ro/svn/yate@2978 acf43c95-373e-0410-b603-e72c3f656dc1
2009-12-03 13:21:37 +00:00
marian 15812c43a6 Add stream type prefix to stream name. Added account to client streams. A client stream can now be retrieved by account from the jabber client engine.
git-svn-id: http://voip.null.ro/svn/yate@2976 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-27 12:17:17 +00:00
marian 8674887c45 Fixed compile error.
git-svn-id: http://voip.null.ro/svn/yate@2969 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-26 13:46:17 +00:00
marian a5b4364394 Skip SRV query if a destination port was set.
git-svn-id: http://voip.null.ro/svn/yate@2968 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-26 13:40:09 +00:00
oana e48d12b378 Skip SRV resolving on platforms that don't support it.
git-svn-id: http://voip.null.ro/svn/yate@2963 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-25 15:04:46 +00:00
paulc ca6466add2 Explicitely include arpa/nameser.h needed for *BSD.
git-svn-id: http://voip.null.ro/svn/yate@2962 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-25 14:25:50 +00:00
marian 749b71764f Don't reset stream flags when updating from engine domain list. Added debug when stream flags change.
git-svn-id: http://voip.null.ro/svn/yate@2960 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-23 09:54:16 +00:00
marian ba971d995d Set default message stanza type to 'chat'.
git-svn-id: http://voip.null.ro/svn/yate@2959 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-23 09:52:16 +00:00
marian 4151517eeb Print element attributes on the same line with tag.
git-svn-id: http://voip.null.ro/svn/yate@2950 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-17 08:28:46 +00:00
marian 929f79d534 Fixed ILBC payload name in rtpmap.
git-svn-id: http://voip.null.ro/svn/yate@2949 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-16 13:35:54 +00:00
marian 090fe41f26 Don't use idle timer for c2s streams.
git-svn-id: http://voip.null.ro/svn/yate@2945 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-13 12:56:05 +00:00
marian aa0b6ec97d Implemented c2s non sasl authentication. Added listener for direct c2s SSL connections. Restrict client resources with the same name while authenticating using non sasl.
git-svn-id: http://voip.null.ro/svn/yate@2943 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-13 11:36:05 +00:00
marian dbc0c175ce Pop only completed child elements.
git-svn-id: http://voip.null.ro/svn/yate@2924 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-11 13:00:09 +00:00
paulc d079caaae2 Made Yate 3 build in Visual Studio, fixed some bugs discovered by the VC++ compiler.
git-svn-id: http://voip.null.ro/svn/yate@2923 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-10 18:44:44 +00:00
marian 117095ed2f Fixed xml debug string build.
git-svn-id: http://voip.null.ro/svn/yate@2922 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-10 16:17:42 +00:00
marian 353032803b Added error flag used to avoid stream re-connect when terminated with error and have nothing to send. Fixed stream idle timer usage.
git-svn-id: http://voip.null.ro/svn/yate@2917 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-10 15:27:47 +00:00
paulc 494e0db1fb Fixed ISDN PRI circuit allocation bugs introduced by Rev. 2505 (BRI support).
git-svn-id: http://voip.null.ro/svn/yate@2913 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-09 21:38:16 +00:00
paulc 648b6900a1 Added some extra messages related to circuit allocation when compiled for debugging.
git-svn-id: http://voip.null.ro/svn/yate@2912 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-09 21:35:50 +00:00
paulc 3d9e8de177 Disambiguated a pair of if ... else.
git-svn-id: http://voip.null.ro/svn/yate@2910 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-09 19:05:44 +00:00
paulc 86bd3dd397 Fixed a doxygen comment.
git-svn-id: http://voip.null.ro/svn/yate@2909 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-09 19:02:31 +00:00
marian 93c9fb5d62 Removed duplicate namespace value check (incorrect).
git-svn-id: http://voip.null.ro/svn/yate@2904 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-09 13:12:40 +00:00
marian cc6fc01ad0 Fixed stanza/stream error decoding.
git-svn-id: http://voip.null.ro/svn/yate@2903 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-09 13:10:16 +00:00
paulc c15bd91b73 Added a virtual destructor to the abstract class XmlParent.
git-svn-id: http://voip.null.ro/svn/yate@2901 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-07 11:51:49 +00:00
marian 49d7c524c4 Added line (account) to jingle session and connection. Fixed jingle channel stanza send. Request resource caps when making an outgoing call.
git-svn-id: http://voip.null.ro/svn/yate@2898 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-05 15:25:33 +00:00
paulc 358751bcc9 Added to libyjabber the resolver library needed for dn_expand.
git-svn-id: http://voip.null.ro/svn/yate@2895 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-04 16:35:50 +00:00
marian a5a3672ead Added external component support to jabber server.
git-svn-id: http://voip.null.ro/svn/yate@2893 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-04 14:29:28 +00:00
paulc fb5e33347f Fixed some parameter names and doxygen tags.
Added ignore list to yjabber directory.


git-svn-id: http://voip.null.ro/svn/yate@2887 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-03 11:37:17 +00:00
paulc 1c6e7c9a7c Added support for T.38 fax terminal.
Added UDPTL transport in libyrtp and RTP channel.


git-svn-id: http://voip.null.ro/svn/yate@2885 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-03 10:49:12 +00:00
paulc c820ad9e22 Bumped SVN trunk version to 3.0.0 alpha 1.
git-svn-id: http://voip.null.ro/svn/yate@2883 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-03 09:48:34 +00:00
marian 76c182e440 Implemented jabber server. Changed jingle channel to support the new jabber library. Replaced tinyxml with yate own XML library. Added openssl support for server. Work in progress in jabber client support.
git-svn-id: http://voip.null.ro/svn/yate@2882 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-02 16:05:39 +00:00
paulc 3624562f55 Added an extra parameter to SDPSession::updateFormats() allowing it to add or remove media.
Use the SDPSession::updateFormats() method in SIP instead of reimplementing it.


git-svn-id: http://voip.null.ro/svn/yate@2873 acf43c95-373e-0410-b603-e72c3f656dc1
2009-10-20 22:54:56 +00:00
paulc 221cbb9019 Explicitely set "media"="false" when other but no audio media is present since the default for audio is true.
git-svn-id: http://voip.null.ro/svn/yate@2872 acf43c95-373e-0410-b603-e72c3f656dc1
2009-10-20 20:43:27 +00:00
marian 53f6b50064 Fixed NAI dictionary string.
git-svn-id: http://voip.null.ro/svn/yate@2870 acf43c95-373e-0410-b603-e72c3f656dc1
2009-10-19 09:08:31 +00:00
paulc 83f9079ba5 Made the SIP transactions list protected, added methods to add or remove transactions from list that lock the engine.
Remove transactions from engine's list on destroyed() as later access to their virtual methods is unsafe.


git-svn-id: http://voip.null.ro/svn/yate@2868 acf43c95-373e-0410-b603-e72c3f656dc1
2009-10-16 12:08:22 +00:00
paulc 748e8b3ae6 Mark media as muted if chan.rtp returned an empty local IP address.
git-svn-id: http://voip.null.ro/svn/yate@2858 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-25 13:16:00 +00:00
paulc 3b553da8b1 Hold the ChanAssistList mutex between the list search and insertion of new assist in list.
This prevents race conditions between chan.startup and call.execute that could create two assist instances for the same channel.


git-svn-id: http://voip.null.ro/svn/yate@2853 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-23 14:00:38 +00:00
paulc 0020599c05 Reduce mutex contention by unlocking the ISUP controller while sending a MSU downstream in a few places.
git-svn-id: http://voip.null.ro/svn/yate@2852 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-22 11:58:30 +00:00
paulc 55590fd9d5 Also keep the ChanAssistList locked while adding a new assist to the list.
git-svn-id: http://voip.null.ro/svn/yate@2850 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-21 14:29:52 +00:00
paulc 5ae2aef6bc Hold the ChanAssistList mutex while removing an element.
Remove the assist from list before calling its msgHangup() method.


git-svn-id: http://voip.null.ro/svn/yate@2849 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-21 14:26:22 +00:00
paulc 72b1c03a19 Made RTPGroup join() and part() methods public.
git-svn-id: http://voip.null.ro/svn/yate@2837 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-14 18:47:43 +00:00
paulc 1c1216ada5 Add the media format to the chan.rtp message even if not starting it.
git-svn-id: http://voip.null.ro/svn/yate@2836 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-14 15:02:43 +00:00
paulc ab72da1219 Added several RTP paylods for MPEG (A/V) and MJPEG streams.
git-svn-id: http://voip.null.ro/svn/yate@2833 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-14 09:11:57 +00:00
paulc cea5f52b61 Provide the entire SDPMedia to the mediaChanged() mthod, not only the name of the media.
Add the "rtpid" parameter to the chan.rtp message if the media id() is available.


git-svn-id: http://voip.null.ro/svn/yate@2832 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-14 09:06:16 +00:00
marian ead9d36d3e Fixed error response matching for sent iq stanzas.
git-svn-id: http://voip.null.ro/svn/yate@2828 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-08 13:16:22 +00:00
paulc 56f89eca3e Fixed documentation generating comments for SIP classes.
git-svn-id: http://voip.null.ro/svn/yate@2823 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-06 14:58:18 +00:00
paulc 4b8527fca4 Added new methods to SIPDialog to compare only callid and tags (RFC 3261) and to retrieve the From and To URI or tags depending on direction.
Documented members of SIPDialog.


git-svn-id: http://voip.null.ro/svn/yate@2822 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-06 14:50:36 +00:00
paulc ad1dbdb955 Prevent the escaping of user-unreserved characters (RFC 3261 25.1 Page 222) when building the user part of SIP From and Contact.
git-svn-id: http://voip.null.ro/svn/yate@2817 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-01 14:42:28 +00:00
paulc e21495f4cb Added missing documentation generating comment for a parameter.
git-svn-id: http://voip.null.ro/svn/yate@2815 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-01 10:12:43 +00:00
andrei c7282caac1 Appended configuration parameters when building SignallingCircuitSpan
git-svn-id: http://voip.null.ro/svn/yate@2814 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-01 08:34:14 +00:00
paulc 78062c0dab Copy configuration subparameters to the child components.
git-svn-id: http://voip.null.ro/svn/yate@2812 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-31 14:43:22 +00:00
paulc 37059faf58 Added configuration parameter "autostart" so MTP2, MTP3 and Cisco SLT may be inhibited at startup.
Fixed the way Cisco SLT notifies the MTP3 about alignment status changes.


git-svn-id: http://voip.null.ro/svn/yate@2810 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-26 15:58:50 +00:00
paulc 9671245819 Fixed the component name matching in control operations.
Implemented control of MTP3 with notification to Layer 4 about operational changes caused by management inhibiting.


git-svn-id: http://voip.null.ro/svn/yate@2807 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-25 21:07:34 +00:00
paulc 5b8b3431c6 Added separate library for interpreting lines of a SDP.
git-svn-id: http://voip.null.ro/svn/yate@2804 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-24 11:58:41 +00:00
paulc 57d3dcc491 Circuit parameters can be set from a NamedList attached to the "circuit_parameters" parameter.
git-svn-id: http://voip.null.ro/svn/yate@2803 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-24 11:56:27 +00:00
paulc 43618793a3 Added methods to get a boolean or integer parameter of a circuit.
Added const method to get a const span from a circuit.


git-svn-id: http://voip.null.ro/svn/yate@2802 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-24 11:54:54 +00:00
paulc 9c7317c972 Added separate method to actually process a SIP message after identifying its transaction.
git-svn-id: http://voip.null.ro/svn/yate@2791 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-14 12:51:05 +00:00
paulc 1ae2b5f153 Transmit the internally generated 408 answer, prevent the stack from immediately cleaning up the transaction.
git-svn-id: http://voip.null.ro/svn/yate@2790 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-14 11:34:04 +00:00
paulc 6107af4987 Fixed entering the proving period.
Fixed synchronization of FIB.
Added a T2 timer - just a mild warning, Yate keeps trying.
Added several abnormality generation controls for making tests.


git-svn-id: http://voip.null.ro/svn/yate@2784 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-11 21:57:56 +00:00
paulc 917c2d0a1f Fixed the location where the User Part type and cause are written in an UPU.
git-svn-id: http://voip.null.ro/svn/yate@2783 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-11 15:45:48 +00:00
paulc 36f08ceeaa Added methods to get and set at once multiple parameters of a circuit.
git-svn-id: http://voip.null.ro/svn/yate@2780 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-07 09:46:55 +00:00
paulc c1634df9c4 Detect EOF condition on socket.
git-svn-id: http://voip.null.ro/svn/yate@2779 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-03 10:26:42 +00:00
paulc 4239be2fca Made processing of a circuit event take ownership over the event to be certain who needs to destroy it.
git-svn-id: http://voip.null.ro/svn/yate@2774 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-28 15:52:18 +00:00
marian 4453b1906a Added capability to forward circuit events upwards to signalling module.
git-svn-id: http://voip.null.ro/svn/yate@2772 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-28 12:52:13 +00:00
paulc da81e205c9 Implemented basic control operation for SS7 Layer 2.
git-svn-id: http://voip.null.ro/svn/yate@2771 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-28 10:51:50 +00:00
paulc 14ace8e2ca Accept session type "reject" for terminating Jingle version 0 sessions.
git-svn-id: http://voip.null.ro/svn/yate@2769 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-24 11:38:42 +00:00
paulc 258aff23e0 Made XMPP stream terminate if the host address could not be resolved.
git-svn-id: http://voip.null.ro/svn/yate@2768 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-24 11:07:23 +00:00
paulc c56c469f0f Use the platform idle time in various sleeps in SIP and Jabber.
Fixed a compiler warning about the copy constructor of Mutex and 
Semaphore.


git-svn-id: http://voip.null.ro/svn/yate@2763 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-22 15:41:28 +00:00
paulc 263e2b5862 Decode generically known but unhandled ISUP messages that have only optional parameters.
Build a list of unhandled message parameters.
Decode MCID request and response parameter flags.


git-svn-id: http://voip.null.ro/svn/yate@2739 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-26 14:40:10 +00:00
paulc 17bd631324 Added an unified Thread::idle method, use it instead of arbitrary
sleeps.


git-svn-id: http://voip.null.ro/svn/yate@2737 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-24 16:47:29 +00:00
paulc 774f74c5bd Fixed thread names for the MGCP library and Signalling engine too.
git-svn-id: http://voip.null.ro/svn/yate@2734 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 15:01:10 +00:00
paulc 85ef8e4d49 Changed thread names to be uniform and easily readable.
git-svn-id: http://voip.null.ro/svn/yate@2733 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 14:48:26 +00:00
paulc d095227d30 Fixed more warnings on different platforms.
git-svn-id: http://voip.null.ro/svn/yate@2726 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-19 11:58:33 +00:00
paulc 86ab316486 Two more warning fixes.
git-svn-id: http://voip.null.ro/svn/yate@2725 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-19 11:28:25 +00:00
paulc eb2a9cd5e0 Fixed warnings and a few minor bugs when compiling on a different architecture.
git-svn-id: http://voip.null.ro/svn/yate@2724 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-19 11:19:20 +00:00
paulc d93dc49e4e Added method to add a compact circuit range to an existing range.
In ysigchan status a suffix of /* or /all shows the state of all circuits of the trunk.


git-svn-id: http://voip.null.ro/svn/yate@2712 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-15 10:38:32 +00:00
marian 3173547682 Keep the stream alive while connecting.
git-svn-id: http://voip.null.ro/svn/yate@2708 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-13 18:47:20 +00:00
marian c189cbc763 Don't resolve the remote domain in constructor: avoid blocking the thread creating the stream. Don't try to connect if failed to resolve the remote domain.
git-svn-id: http://voip.null.ro/svn/yate@2707 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-13 18:46:00 +00:00
paulc fe1527fe74 Made some dangerous constructors explicit, fix potential problems exposed by this.
git-svn-id: http://voip.null.ro/svn/yate@2705 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-12 15:15:36 +00:00
paulc 96cf546852 Allow disabling sending of ISUP circuit group requests.
git-svn-id: http://voip.null.ro/svn/yate@2692 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-09 13:18:46 +00:00
marian 1a4b9fd050 Fixed bug: avoid calling tinyxml's SetAttribute() with NULL char pointer parameter(s) (leads to crash).
git-svn-id: http://voip.null.ro/svn/yate@2687 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-04 16:26:01 +00:00
paulc 3740511825 Fixed path to test executable.
git-svn-id: http://voip.null.ro/svn/yate@2683 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-04 14:01:44 +00:00
paulc 00a1093743 Correctly provide a format string as we cannot guarantee the string content is printf safe.
git-svn-id: http://voip.null.ro/svn/yate@2682 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-04 14:01:17 +00:00
paulc e301807aa1 Reserve $LIBS and @LIBS@ for the system libraries that can be passed to
the configure script.


git-svn-id: http://voip.null.ro/svn/yate@2678 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 19:17:54 +00:00
paulc 35beaecc0a Use the system detected CFLAGS instead of hardcoding -O2
git-svn-id: http://voip.null.ro/svn/yate@2673 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 16:06:14 +00:00
paulc 69da61247f Detect the proper threading library where pthread_mutexattr_settype is
located.
Look for regcomp only when not using internal regexp.


git-svn-id: http://voip.null.ro/svn/yate@2672 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 15:42:34 +00:00
paulc c7af6cdf7c Call txPacket instead of transmitPacket so outbound MTP2 messages are written to dump.
git-svn-id: http://voip.null.ro/svn/yate@2671 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 13:31:29 +00:00
paulc 10d8d3d7cf Link the libraries using the C++ linker so it properly links against libstdc++ and compiler support.
Not required on ELF systems as libyate.so would pull in the required libraries but was confusing and could cause problems on other platforms.


git-svn-id: http://voip.null.ro/svn/yate@2667 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-31 18:58:25 +00:00
marian 283dd92294 Implemented old jingle protocol support.
git-svn-id: http://voip.null.ro/svn/yate@2666 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-31 15:22:08 +00:00
marian 9a0a6f7d7c Added base abstract class for jingle sessions.
git-svn-id: http://voip.null.ro/svn/yate@2662 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-29 08:39:33 +00:00
paulc e06c3f3a33 Enable the SS7 L1 interface after being configured.
Slow down LSSU generation on FISU reception when unaligned as we'll flood the buffer since maximum FISU rate is greater than LSSU.


git-svn-id: http://voip.null.ro/svn/yate@2661 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-28 17:52:27 +00:00
paulc 6f7581edc9 Moved all point code settings to SS7ISUP so the type of point code is known and numeric (packed) values can be used.
Changed channellock to milliseconds to improve resolution.
Documented channellock and userparttest parameters.


git-svn-id: http://voip.null.ro/svn/yate@2660 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-28 17:18:50 +00:00
paulc 30425c511e Allow using numeric (packed) point codes if their type is known.
git-svn-id: http://voip.null.ro/svn/yate@2659 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-28 16:09:16 +00:00
marian 5af3deb2d5 The client stream is now allowing disco info/items responses to be received by the upper layer.
git-svn-id: http://voip.null.ro/svn/yate@2656 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-28 07:28:11 +00:00
paulc a46886c059 Major rewrite of signalling components creation and configuration.
The creation of subcomponents is offloaded to each component to allow for proper building of the component stack.


git-svn-id: http://voip.null.ro/svn/yate@2650 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-26 13:43:24 +00:00
marian 213fd2bf43 Added jabber:iq:private namespace.
git-svn-id: http://voip.null.ro/svn/yate@2647 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-22 13:23:58 +00:00
paulc caaf7433f0 Add a Contact header to INVITE even if user part of URI is empty.
Properly escape the user component of the URI.


git-svn-id: http://voip.null.ro/svn/yate@2645 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-21 20:57:51 +00:00
marian 3bc5415fc1 From now on the stanza_timeout value is expected to be given in milliseconds.
git-svn-id: http://voip.null.ro/svn/yate@2631 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-19 12:57:20 +00:00
marian d549fe185e Implemented jingle session ping (check session existence at remote party).
git-svn-id: http://voip.null.ro/svn/yate@2630 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-19 12:27:39 +00:00
paulc 4306e6ab5a Changed EOL style to native.
git-svn-id: http://voip.null.ro/svn/yate@2624 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-12 13:02:50 +00:00
paulc cfa182b1d5 Do not display the warn if a duplicate sequence number RTP packet is received.
git-svn-id: http://voip.null.ro/svn/yate@2616 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-06 16:37:08 +00:00
paulc 9ec4af603c Attempt to resync RTP sequence numbers if we dropped out of sync.
With SRTP try hard to keep sync as authentication requires correct sequence.


git-svn-id: http://voip.null.ro/svn/yate@2615 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-05 21:22:58 +00:00
paulc fe3a149e21 Added mutex names to most Yate libraries.
git-svn-id: http://voip.null.ro/svn/yate@2612 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-05 12:37:55 +00:00
paulc 79d54cfd65 Made CPE number filter act as prefix, not exact match. Documented.
git-svn-id: http://voip.null.ro/svn/yate@2609 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-05 07:27:06 +00:00
paulc 6a9e663408 Accept MGCP responses with an empty comment.
git-svn-id: http://voip.null.ro/svn/yate@2594 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-24 15:38:11 +00:00
paulc 3a6c141dd4 Handle MGCP requests with versions other than 1.0
git-svn-id: http://voip.null.ro/svn/yate@2569 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-09 09:55:41 +00:00
paulc 1461ba13cb Added type info methods to AnalogLineGroup and SignallingCircuitGroup.
git-svn-id: http://voip.null.ro/svn/yate@2568 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-09 09:54:26 +00:00
paulc c9668b3a02 Reimplemented SS7MTP2::getObject so both SS7Layer2 and SignallingReceiver can be reached.
git-svn-id: http://voip.null.ro/svn/yate@2519 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-10 11:26:50 +00:00
paulc 485c05872c Added a missing parameter to documentation generating comments.
git-svn-id: http://voip.null.ro/svn/yate@2506 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-02 18:56:47 +00:00
paulc ec08dd849a ISDN BRI support, most Andrei's (andrei@null.ro) work.
Fixes and new features throughout the signalling engine.


git-svn-id: http://voip.null.ro/svn/yate@2505 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-02 18:51:30 +00:00
marian 00cc59f450 Fixed conversion of an XML element to an output string.
git-svn-id: http://voip.null.ro/svn/yate@2503 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-02 16:30:43 +00:00
marian ea702fe128 The resource list is now keeping its items ordered by their priority (higher priority first).
git-svn-id: http://voip.null.ro/svn/yate@2501 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-02 09:44:05 +00:00
paulc 7f74b7c59f Fixed the structure of Q.850 cause codes with diagnostic information attached.
git-svn-id: http://voip.null.ro/svn/yate@2493 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-23 21:19:01 +00:00
marian 4ca4b24f10 Added more features to be advertised in disco info.
git-svn-id: http://voip.null.ro/svn/yate@2487 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-19 08:33:23 +00:00
marian d96dc1043c Added RTP audio namespace.
git-svn-id: http://voip.null.ro/svn/yate@2486 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-19 08:31:50 +00:00
paulc b1420c66e3 If end user is indicated as known in received ACM interpret it as progress or ringing indication.
Added generic mechanism to set protocol specific parameters in messages.


git-svn-id: http://voip.null.ro/svn/yate@2484 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-18 17:01:48 +00:00
paulc 13ac6c49ff Support packing multiple RFC2833/4733 events in a RTP packet.
git-svn-id: http://voip.null.ro/svn/yate@2474 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-05 22:43:07 +00:00
marian e1c52c748a Fixed bug: set base when converting date/time to avoid failure when date/time components start with 0.
git-svn-id: http://voip.null.ro/svn/yate@2459 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-30 08:15:09 +00:00
paulc c104e5be07 Fixed some warnings and genuine bugs exposed by newer gcc.
git-svn-id: http://voip.null.ro/svn/yate@2447 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-20 12:27:53 +00:00
paulc 1e30af892e Set the latest message in SIP client transactions. Compute user timeout from standard SIP timers.
git-svn-id: http://voip.null.ro/svn/yate@2442 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-16 14:59:27 +00:00
paulc 8f106b1639 Use the Human Interaction timer once we see any answer with code > 100
git-svn-id: http://voip.null.ro/svn/yate@2441 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-16 13:48:24 +00:00
marian bb014653c5 Fixed bug: avoid keeping extra stream reference for incoming sessions.
git-svn-id: http://voip.null.ro/svn/yate@2440 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-15 14:38:11 +00:00
paulc c2ab4372ea Work in progress.
git-svn-id: http://voip.null.ro/svn/yate@2420 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-09 15:24:24 +00:00
marian f6f0583e1e Added jingle file transfer support.
git-svn-id: http://voip.null.ro/svn/yate@2417 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-09 14:32:48 +00:00
paulc 8c8a623c47 Fixed several documentation generating comments.
git-svn-id: http://voip.null.ro/svn/yate@2405 acf43c95-373e-0410-b603-e72c3f656dc1
2008-12-19 14:37:19 +00:00
marian bcb9a69027 Changed comments. Removed old, not used, session-transfer check.
git-svn-id: http://voip.null.ro/svn/yate@2395 acf43c95-373e-0410-b603-e72c3f656dc1
2008-12-05 14:21:21 +00:00
paulc 54d80ec29f Added alias name to remote endpoint info.
Optimized some endpoint searches.


git-svn-id: http://voip.null.ro/svn/yate@2394 acf43c95-373e-0410-b603-e72c3f656dc1
2008-12-05 13:48:44 +00:00
paulc 5bf0653513 Removed spurious 2nd parameter of YSIGFACTORY2 macro.
git-svn-id: http://voip.null.ro/svn/yate@2392 acf43c95-373e-0410-b603-e72c3f656dc1
2008-12-04 19:36:47 +00:00
marian f729ac562f Added utility method used to build a vcard xml element.
git-svn-id: http://voip.null.ro/svn/yate@2390 acf43c95-373e-0410-b603-e72c3f656dc1
2008-12-03 14:11:01 +00:00
paulc cfaf2d7b38 Build and use dynamic versions of MGCP and Jingle libraries.
git-svn-id: http://voip.null.ro/svn/yate@2389 acf43c95-373e-0410-b603-e72c3f656dc1
2008-12-03 13:51:52 +00:00
marian f25033ab9f Implemented the new Jingle specifications.
git-svn-id: http://voip.null.ro/svn/yate@2382 acf43c95-373e-0410-b603-e72c3f656dc1
2008-12-01 00:37:18 +00:00
marian bf7b95888d Fixed compile/build in Windows.
git-svn-id: http://voip.null.ro/svn/yate@2373 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-26 18:43:57 +00:00
paulc ded639b978 Added secure RTP support in library for AES block and HMAC SHA1.
git-svn-id: http://voip.null.ro/svn/yate@2370 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-26 17:50:43 +00:00
paulc 501f0bef0e Accept a comma separated list of links to try to send the call.
Detect early a congestion or network failure and attempt next link.


git-svn-id: http://voip.null.ro/svn/yate@2368 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-26 15:20:15 +00:00
paulc 96c30c706c Requesting an ACK on incoming MGCP transactions can be disabled per engine or transaction.
git-svn-id: http://voip.null.ro/svn/yate@2367 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-25 18:17:26 +00:00
paulc 0e5be1c7b9 Accept NUL character as alias for piggybacking dot to support broken gateways.
git-svn-id: http://voip.null.ro/svn/yate@2364 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-25 16:04:02 +00:00
paulc 8769af4d61 Moved network transport layer from SIGTRAN into a separate abstract class.
git-svn-id: http://voip.null.ro/svn/yate@2355 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-19 16:15:07 +00:00
paulc 6f94b989c1 Made component removal message identifiable between the 2 methods.
A lock is taken earlier when a component's engine is to be checked.


git-svn-id: http://voip.null.ro/svn/yate@2354 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-19 14:44:49 +00:00
paulc 507c9c7094 Do not send repeatedly LSSU when MTP2 goes out of service.
git-svn-id: http://voip.null.ro/svn/yate@2350 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-18 18:55:48 +00:00
paulc df4cb7b6a9 Use the MIME quoting method instead of blindly adding quotes around strings.
git-svn-id: http://voip.null.ro/svn/yate@2344 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-17 12:38:17 +00:00
marian 1dea95592e Fixed stanza id check when sending info.
git-svn-id: http://voip.null.ro/svn/yate@2340 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-13 13:16:38 +00:00
paulc c1efca5336 Cosmetic: fixed typo in comments and debug messages.
git-svn-id: http://voip.null.ro/svn/yate@2335 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-12 16:48:31 +00:00
paulc a848a19496 Removed unnecessary ISDN layer 2 locks in monitor methods called from layer 2.
git-svn-id: http://voip.null.ro/svn/yate@2334 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-12 16:41:24 +00:00
paulc c5bd6cee80 Send data and link state from ISDN Layer 2 to Layer 3 withou holding locks.
git-svn-id: http://voip.null.ro/svn/yate@2333 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-12 14:44:20 +00:00
marian a42c59fd91 The jingle session is now handling transfer and rtp session info stanzas. The channel is handling ringing and deny transfer/hold/active/mute requests.
git-svn-id: http://voip.null.ro/svn/yate@2332 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-12 10:54:49 +00:00
marian 5576260830 Fixed jingle session negotiation. Added reason to terminate stanza. The module can now handle presence broadcast when the component is keeping the roster. Additional presence stanza can now be added to presence command.
git-svn-id: http://voip.null.ro/svn/yate@2330 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-12 09:33:17 +00:00
marian 1a588883a0 Fixed circuit map build when sending circuit group (un)blocking.
git-svn-id: http://voip.null.ro/svn/yate@2329 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-11 14:47:41 +00:00
paulc 5686805c6d Fixed missing Windows exports operator << for point code and label.
git-svn-id: http://voip.null.ro/svn/yate@2327 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-11 11:50:03 +00:00
marian 80f8dc2630 Fixed protected method call.
git-svn-id: http://voip.null.ro/svn/yate@2326 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-11 11:33:27 +00:00
marian c1a6b89f2b Implemented getObject() for JBStream descendants.
git-svn-id: http://voip.null.ro/svn/yate@2324 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-11 08:53:02 +00:00
marian c95e639053 A message stanza can now have a arbitrary type. Added feature list to resource.
git-svn-id: http://voip.null.ro/svn/yate@2323 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-11 08:51:26 +00:00
marian c0ddb86448 Added XML element type enums.
git-svn-id: http://voip.null.ro/svn/yate@2322 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-11 08:44:45 +00:00
marian f25f569962 JID feature list can now be built from received stanza. Added some namespace enums.
git-svn-id: http://voip.null.ro/svn/yate@2321 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-11 08:41:03 +00:00
paulc c907226626 SignallingEvent::sendEvent cleans up itself if it has no call attached.
git-svn-id: http://voip.null.ro/svn/yate@2320 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-10 18:55:33 +00:00
paulc 9da6896197 Forward packets through the router without holding locks.
git-svn-id: http://voip.null.ro/svn/yate@2319 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-10 18:48:50 +00:00
paulc 8883e3dd5b Made SignallingComponent derive from RefObject to simplify coding.
git-svn-id: http://voip.null.ro/svn/yate@2318 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-10 18:04:29 +00:00
paulc 871124de19 Several more events and MSUs are sent without holding a lock.
git-svn-id: http://voip.null.ro/svn/yate@2315 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-10 16:01:10 +00:00
paulc 2ae87e049c Added convenience method to send an event through its call.
git-svn-id: http://voip.null.ro/svn/yate@2312 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-10 15:25:48 +00:00
paulc e2d7957570 Added common message classes.
git-svn-id: http://voip.null.ro/svn/yate@2310 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-07 18:03:13 +00:00
paulc 14462c3eb4 Cosmetical spell fix.
git-svn-id: http://voip.null.ro/svn/yate@2309 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-07 18:00:39 +00:00
paulc a6040937b6 Fixed status transmitted in LSSU.
Fixed sequence numbers and acknowledge algorithm.
Fixed the MSU recover method, made it optional.


git-svn-id: http://voip.null.ro/svn/yate@2308 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-07 11:38:21 +00:00
paulc bbfd246675 Improved packet loss debug message to include remote FSN and local BSN.
git-svn-id: http://voip.null.ro/svn/yate@2306 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-06 16:25:50 +00:00
paulc 0bc17ce162 Added method to retrieve engine's default tick sleep interval.
git-svn-id: http://voip.null.ro/svn/yate@2303 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-03 15:48:31 +00:00
paulc eb1fe3f40f Fixed typo.
git-svn-id: http://voip.null.ro/svn/yate@2300 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-02 18:06:53 +00:00
paulc 82fa8f7708 Made possible to adjust next tick sleep time from within timerTick.
git-svn-id: http://voip.null.ro/svn/yate@2299 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-02 18:03:51 +00:00
marian ca7c1f219c ISUP message print is now configurable.
git-svn-id: http://voip.null.ro/svn/yate@2298 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-31 12:18:07 +00:00
marian 694d9c7a18 Added static template method to engine used to remove a component from its engine and destroy it.
git-svn-id: http://voip.null.ro/svn/yate@2296 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-31 12:05:50 +00:00
paulc 4527e90585 Cosmetic change: fixed some whitespace.
git-svn-id: http://voip.null.ro/svn/yate@2295 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-31 10:59:35 +00:00
paulc 8dee2667b0 MTP2 repeat packet request is now configurable.
Added timer used to control FISU/LSSU packets transmission. 


git-svn-id: http://voip.null.ro/svn/yate@2294 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-29 13:45:50 +00:00
marian 9b06043465 Now the stream setup timeout can be configured. Changed its default value.
git-svn-id: http://voip.null.ro/svn/yate@2282 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-22 14:11:52 +00:00
marian f4917c19e8 Reset setup timer only when state is Running. Destroy the stream if setup timer expired.
git-svn-id: http://voip.null.ro/svn/yate@2281 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-22 13:46:31 +00:00
marian 1c82c70105 Create a client session when requested by server. Ignore presence from the same resource.
git-svn-id: http://voip.null.ro/svn/yate@2279 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-22 12:46:45 +00:00
marian 1053522d07 Fixed incorrect implementation of SASL MD5 authentication.
git-svn-id: http://voip.null.ro/svn/yate@2278 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-22 11:10:20 +00:00
marian ff372cd972 Drop mutex lock before resolving the domain when connecting.
git-svn-id: http://voip.null.ro/svn/yate@2276 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-21 14:43:02 +00:00
marian 5e0e0bdbb4 Roster's user list is now public.
git-svn-id: http://voip.null.ro/svn/yate@2275 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-21 14:41:44 +00:00
paulc cecc09a1c0 Fixed initialization of Q931 channel timers.
git-svn-id: http://voip.null.ro/svn/yate@2269 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-20 11:05:48 +00:00
paulc 31fb274ec9 Handle conflict when call is disconnected from both sides.
git-svn-id: http://voip.null.ro/svn/yate@2266 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-19 13:55:55 +00:00
paulc 07e686d5df Fixed some documentation generating comments.
git-svn-id: http://voip.null.ro/svn/yate@2263 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-16 19:12:49 +00:00
paulc 2e37051b96 Q.931 status reports now have local network as location.
git-svn-id: http://voip.null.ro/svn/yate@2247 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-01 12:57:42 +00:00
paulc bad11a328c Recover from a Q.931 STATUS when call is established.
git-svn-id: http://voip.null.ro/svn/yate@2246 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-01 12:39:28 +00:00
marian aaabf17f63 Added priority data to resource object.
git-svn-id: http://voip.null.ro/svn/yate@2238 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-23 12:33:06 +00:00
marian 38174f5935 Destroy client stream if authentication fails.
git-svn-id: http://voip.null.ro/svn/yate@2235 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-22 08:08:05 +00:00
marian 95337f7e15 Show buffer content or info in parser error debug message.
git-svn-id: http://voip.null.ro/svn/yate@2234 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-22 07:13:32 +00:00
paulc f547635cec Fixed generation of mask for wrapping around Q.931 call identifiers.
git-svn-id: http://voip.null.ro/svn/yate@2225 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-19 17:41:43 +00:00
paulc 9172c47da2 Always decode call state names, it's usefull and not expensive.
git-svn-id: http://voip.null.ro/svn/yate@2222 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-19 15:25:53 +00:00
paulc f40ec47700 Added proper mutex locks and RefPointers in a few places.
Added missing spaces in hex dump.


git-svn-id: http://voip.null.ro/svn/yate@2218 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-18 22:33:41 +00:00
paulc d80b89078a Separated config for dumping NET and CPE sides of ISDN monitor to files.
git-svn-id: http://voip.null.ro/svn/yate@2217 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-18 16:06:27 +00:00
paulc e3c8137dbf Unified dump file parameter name (layer2/layer3) between ISDN and SS7.
File type can be modified by extension (.hex/.txt/.raw)
Documented dump files in ysigchan.conf


git-svn-id: http://voip.null.ro/svn/yate@2211 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-18 14:18:25 +00:00
paulc c60f1b10fb Implemented generic signalling component control mechanism.
Protocol data dumping capability for several L2 and L3 components.
Data dumpers can be set at runtime from rmanager command with completion.


git-svn-id: http://voip.null.ro/svn/yate@2210 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-18 14:05:26 +00:00
paulc 58abae7223 Added still incomplete support for capturing ISDN data at runtime.
git-svn-id: http://voip.null.ro/svn/yate@2205 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-16 19:28:32 +00:00
paulc 4ec224e5a3 Added raw and SCCP dumper types.
git-svn-id: http://voip.null.ro/svn/yate@2200 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-16 12:08:42 +00:00
marian 3a26c20957 Use 'to' and 'from' attribute also to match a session for received elements.
git-svn-id: http://voip.null.ro/svn/yate@2194 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-10 15:09:23 +00:00
marian a8bd683f3a Removed Pending state check for incoming sessions. Removed useless check when a sent stanza failed to be written to stream.
git-svn-id: http://voip.null.ro/svn/yate@2191 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-08 16:36:49 +00:00
marian 1cb2ec4b44 Fixed error response element construction. Add received element's children, not the element itself.
git-svn-id: http://voip.null.ro/svn/yate@2189 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-08 16:14:12 +00:00
marian d7f7b4a01f Added methods to remove children from XML elements.
git-svn-id: http://voip.null.ro/svn/yate@2188 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-08 16:12:13 +00:00
marian 80aa9eaa74 Jingle session: added option for stanza senders to receive result notification (timeout, write failure, etc). Fixed error stanza detection in stream.
git-svn-id: http://voip.null.ro/svn/yate@2184 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-08 12:54:19 +00:00
paulc 5bb0e64069 Made SIPEvent::getMessage return a non-const, improved documentation.
git-svn-id: http://voip.null.ro/svn/yate@2163 acf43c95-373e-0410-b603-e72c3f656dc1
2008-08-15 12:10:14 +00:00
marian fe814ff307 Added in-band account creation.
git-svn-id: http://voip.null.ro/svn/yate@2159 acf43c95-373e-0410-b603-e72c3f656dc1
2008-08-15 07:32:40 +00:00
paulc 4d8ec63ac6 Added capability to skip the initial "100 Trying" for non-INVITE transactions.
git-svn-id: http://voip.null.ro/svn/yate@2146 acf43c95-373e-0410-b603-e72c3f656dc1
2008-08-06 17:16:34 +00:00
marian 1358585837 Client stream is now updating its roster when receiving presence from another instances of the same user.
git-svn-id: http://voip.null.ro/svn/yate@2071 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-16 09:07:28 +00:00
marian 066489d152 The user roster is now keeping a list of resources to be filled when receiving presence from its own jid.
git-svn-id: http://voip.null.ro/svn/yate@2070 acf43c95-373e-0410-b603-e72c3f656dc1
2008-07-16 09:06:30 +00:00
paulc bf945c92b5 Added a simple 2 wire recorder line type.
git-svn-id: http://voip.null.ro/svn/yate@2040 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-27 20:24:12 +00:00
paulc 8df26a72bf Added support for padding RTP payload to a multiple of a chunk size.
git-svn-id: http://voip.null.ro/svn/yate@2032 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-19 13:52:18 +00:00
paulc 1c395402fe Added analog detector to Windows project, made it compile
git-svn-id: http://voip.null.ro/svn/yate@2026 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-11 18:17:14 +00:00
paulc d0deb6a9b8 Added TUP to non-windows builds.
git-svn-id: http://voip.null.ro/svn/yate@2025 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-11 17:57:30 +00:00
paulc f036500903 Modified libysig to create a DLL, added wanpipe module for Windows.
git-svn-id: http://voip.null.ro/svn/yate@2024 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-11 17:51:32 +00:00
paulc 3143f16fd8 Fixed maximum timeout, must be 60000ms not 6000.
git-svn-id: http://voip.null.ro/svn/yate@2018 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-09 22:18:49 +00:00
marian ebf33b5d3b Fixed bug that was preventing other streams to process data if the first stream in list didn't return an event.
git-svn-id: http://voip.null.ro/svn/yate@2017 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-05 15:33:51 +00:00
marian d0b390f184 Destroy the stream when receiving invalid stream xml elements in non Running state
git-svn-id: http://voip.null.ro/svn/yate@2010 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-03 19:06:17 +00:00
marian cfc2fa07e9 Add support to send/receive multiple DTMFs in the same stanza.
git-svn-id: http://voip.null.ro/svn/yate@2007 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-03 15:15:54 +00:00
paulc bbc0dbea91 Add configure time LDFLAGS to linker command line.
git-svn-id: http://voip.null.ro/svn/yate@2006 acf43c95-373e-0410-b603-e72c3f656dc1
2008-06-03 10:59:16 +00:00
marian cdfe313a1e Added method to get an XML element from a NamedPointer parameter.
git-svn-id: http://voip.null.ro/svn/yate@2001 acf43c95-373e-0410-b603-e72c3f656dc1
2008-05-29 14:27:28 +00:00
paulc dbd2a87461 Fix race condition in RTP remote address setting (Mantis bug #74).
git-svn-id: http://voip.null.ro/svn/yate@1996 acf43c95-373e-0410-b603-e72c3f656dc1
2008-05-26 12:25:37 +00:00
marian deae641a3a Changed stream default flags.
git-svn-id: http://voip.null.ro/svn/yate@1991 acf43c95-373e-0410-b603-e72c3f656dc1
2008-05-22 22:55:16 +00:00
marian 0d3d4aa509 Fixed bug: delay xml element release when decoding a jingle jabber event until transport and/or media are retrieved from it.
git-svn-id: http://voip.null.ro/svn/yate@1983 acf43c95-373e-0410-b603-e72c3f656dc1
2008-05-14 08:03:05 +00:00
paulc aee6974bcb Got rid of the manually updated YSS7_PCTYPE_COUNT
git-svn-id: http://voip.null.ro/svn/yate@1974 acf43c95-373e-0410-b603-e72c3f656dc1
2008-05-06 14:40:39 +00:00
marian 4579b0b773 JBStream::streamMutex() is now public.
git-svn-id: http://voip.null.ro/svn/yate@1972 acf43c95-373e-0410-b603-e72c3f656dc1
2008-05-05 11:26:29 +00:00
marian 9656993cd8 Added method to get a client stream's resource.
git-svn-id: http://voip.null.ro/svn/yate@1971 acf43c95-373e-0410-b603-e72c3f656dc1
2008-05-05 11:13:50 +00:00
marian dfffe1c6f8 Fixed bug: XMPPUser is now checking if its owner has a presence engine before calling its method.
git-svn-id: http://voip.null.ro/svn/yate@1969 acf43c95-373e-0410-b603-e72c3f656dc1
2008-05-05 08:32:54 +00:00
marian ec9a8a8e28 Changed debug.
git-svn-id: http://voip.null.ro/svn/yate@1963 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-30 15:29:31 +00:00
marian 60ca5caaf5 Added more debug.
git-svn-id: http://voip.null.ro/svn/yate@1960 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-30 12:59:51 +00:00
marian 41b3f6f4b5 Fixed termination reason when failed to send keep alive.
git-svn-id: http://voip.null.ro/svn/yate@1959 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-30 08:10:40 +00:00
marian bd1ee329be Removed useless define.
git-svn-id: http://voip.null.ro/svn/yate@1958 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-30 08:10:10 +00:00
marian 1a40a0f830 Added stream setup and idle running timeout timers.
git-svn-id: http://voip.null.ro/svn/yate@1950 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-24 13:08:55 +00:00
marian 40ee629193 Added constructor and method allowing to copy an XML element from/to a NamedList.
git-svn-id: http://voip.null.ro/svn/yate@1944 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-24 08:30:42 +00:00
marian 4cdd745ffc Now a resource is updating its info list when built from an XML element.
git-svn-id: http://voip.null.ro/svn/yate@1942 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-23 15:13:21 +00:00
marian 29c8863963 Now a resource may keep additional XML elements to be sent with presence.
git-svn-id: http://voip.null.ro/svn/yate@1940 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-23 14:31:56 +00:00
marian 320fa3c354 Fixed memory leak: getting a child from an XML element is creating a new object. Release it after use.
git-svn-id: http://voip.null.ro/svn/yate@1936 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-21 11:18:17 +00:00
marian 2c9dc9e45a Remove jid from roster on server notification.
git-svn-id: http://voip.null.ro/svn/yate@1934 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-18 11:59:48 +00:00
marian ab43c050da Fixed roster update received from server.
git-svn-id: http://voip.null.ro/svn/yate@1933 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-18 11:32:48 +00:00
marian 465d6f06e4 Fixed remote resource removal when not broadcast.
git-svn-id: http://voip.null.ro/svn/yate@1931 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 15:19:41 +00:00
marian 4559a352e5 Fixed removal of remote user's resource when unavailable. Added debug.
git-svn-id: http://voip.null.ro/svn/yate@1929 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 15:06:57 +00:00
marian 54cffe6562 Avoid trying to connect while connecting.
git-svn-id: http://voip.null.ro/svn/yate@1928 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 15:05:43 +00:00
marian ffbe38de30 Now an user is removing an unavailable resource if no presence service.
git-svn-id: http://voip.null.ro/svn/yate@1927 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 14:12:11 +00:00
marian c49f05253a Changed the way client streams are created.
git-svn-id: http://voip.null.ro/svn/yate@1926 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 14:08:22 +00:00
marian db8cbcd49b Fixed jingle error response session id match.
git-svn-id: http://voip.null.ro/svn/yate@1922 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 10:30:54 +00:00
marian 46fd825b72 Fixed bug: terminate session on timeout to notify the upper layer.
git-svn-id: http://voip.null.ro/svn/yate@1921 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 10:26:20 +00:00
marian 72ce092311 Changed the behaviour on stanza timeout: try to hangup before destroying the session.
git-svn-id: http://voip.null.ro/svn/yate@1920 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 09:53:24 +00:00
marian 31c3555b96 Fixed iq result decoding.
git-svn-id: http://voip.null.ro/svn/yate@1919 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 09:33:46 +00:00
marian dec2c17711 Fixed stream iq stanza decoding. Increased jingle stanza timeout. Changed debug and comments.
git-svn-id: http://voip.null.ro/svn/yate@1918 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-17 09:24:04 +00:00
marian b5261056ed Fixed comments.
git-svn-id: http://voip.null.ro/svn/yate@1915 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-16 10:05:37 +00:00
marian c2fa94d8c4 Added option to presence service to respond only if the destination user exists in roster.
git-svn-id: http://voip.null.ro/svn/yate@1913 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-16 09:43:43 +00:00
marian 9b297af22c Changed presence service's add probe/subscribe/presence options: they are now keeping incoming and outgoing flags used to automatically add users to roster.
git-svn-id: http://voip.null.ro/svn/yate@1911 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-15 15:59:07 +00:00
marian ea74e1f020 Moved subscribe values from user to new class holding a mask of flags.
git-svn-id: http://voip.null.ro/svn/yate@1910 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-15 14:58:42 +00:00
marian da60bd5e3b Set debug level only if the parameter is present.
git-svn-id: http://voip.null.ro/svn/yate@1905 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-15 10:22:49 +00:00
marian 7851ef7fed Removed commented code.
git-svn-id: http://voip.null.ro/svn/yate@1904 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-15 10:21:36 +00:00
marian 1c8b437efb Look for server parameter when creating a client stream.
git-svn-id: http://voip.null.ro/svn/yate@1900 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-14 13:11:58 +00:00
marian e35d659aee Use jid's domain when creating client streams and destination address is missing.
git-svn-id: http://voip.null.ro/svn/yate@1899 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-14 10:56:32 +00:00
paulc 5815b91e5d Fire the timeout only once for every detected large gap in voice data.
git-svn-id: http://voip.null.ro/svn/yate@1894 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-10 18:58:11 +00:00
paulc b6fcb500ef Don't allocate a random SSRC with a value of zero.
git-svn-id: http://voip.null.ro/svn/yate@1893 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-10 18:29:58 +00:00
paulc 38334a727c Detect and drop the calls for which a proper transaction ACK was not received.
git-svn-id: http://voip.null.ro/svn/yate@1892 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-10 18:08:40 +00:00
paulc 85c7e98d78 Added RTP timeout detection with optional call drop.
The default local RTP binding address can be set from yrtpchan.conf file.


git-svn-id: http://voip.null.ro/svn/yate@1891 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-10 16:35:20 +00:00
marian 187b8948e6 Changed default ccause value when missing.
git-svn-id: http://voip.null.ro/svn/yate@1890 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-10 11:45:53 +00:00
marian 6cd6804027 ISDN is now using the SignallingUtils' methods to encode/decode Cause IE.
git-svn-id: http://voip.null.ro/svn/yate@1888 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-10 11:00:00 +00:00
marian dd6f3b1095 Fixed bug: now the ISDN call is using a destroyed flag instead of Null state to destroy itself.
git-svn-id: http://voip.null.ro/svn/yate@1887 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-10 09:10:46 +00:00
marian 99442bb90a Use TelEngine::destruct() instead of deref(). Added more debug.
git-svn-id: http://voip.null.ro/svn/yate@1886 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-10 08:46:27 +00:00
paulc b11438d1a7 Added a proper method for changing the name of an identity.
Fixes random but relatively frequent crashes.


git-svn-id: http://voip.null.ro/svn/yate@1885 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-09 20:29:48 +00:00
marian 09153fa1ac ISUP circuits state can be loaded from file and saved saved when changed.
git-svn-id: http://voip.null.ro/svn/yate@1882 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-09 15:04:22 +00:00
marian d203fc5194 Avoid building socket data member with pointer to unconstructed stream.
git-svn-id: http://voip.null.ro/svn/yate@1881 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-09 09:21:59 +00:00
marian 51fc0796c9 Avoid building base class with unconstructed pointer to derived class.
git-svn-id: http://voip.null.ro/svn/yate@1880 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-09 09:09:45 +00:00
marian 51a04f91ff Implemented jabber client stream. Major library changes.
git-svn-id: http://voip.null.ro/svn/yate@1877 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-03 15:25:15 +00:00
marian 8234478b60 Fixed bug: properly add element end tag when requesting un unclosed element.
git-svn-id: http://voip.null.ro/svn/yate@1872 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-03 13:09:35 +00:00
paulc a1622a363e Add early init to ChanAssistList constructor, forward it to Module.
git-svn-id: http://voip.null.ro/svn/yate@1866 acf43c95-373e-0410-b603-e72c3f656dc1
2008-04-01 07:45:57 +00:00
paulc 939eb94045 Don't force username as called number in registration.
As protocol extension allow to register specific called number and context.


git-svn-id: http://voip.null.ro/svn/yate@1859 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-28 16:06:21 +00:00
marian e37417dbdb Avoid double call release: may lead to crash.
git-svn-id: http://voip.null.ro/svn/yate@1858 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-27 14:42:01 +00:00
marian b9f7d88aa8 Fixed Restart IE encoding.
git-svn-id: http://voip.null.ro/svn/yate@1854 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-27 12:31:14 +00:00
marian ed630257bc Fixed channel id check when processing restart requests.
git-svn-id: http://voip.null.ro/svn/yate@1853 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-27 12:04:07 +00:00
marian b13bb6b601 Fixed channel id check when receiving restart requests.
git-svn-id: http://voip.null.ro/svn/yate@1852 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-27 12:00:49 +00:00
marian 82cd1fc27a Removed span's D-channel flag. Use the first span to process ISDN restart requests for single interfaces.
git-svn-id: http://voip.null.ro/svn/yate@1851 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-27 10:35:36 +00:00
marian b3edf00362 Added data to span to know if it contains a D-channel. Implemented ISDN response to restart requests for a single interface and all interfaces.
git-svn-id: http://voip.null.ro/svn/yate@1850 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-27 10:11:14 +00:00
marian 467d9e09cd Fixed bug: ISDN call controllers are now properly destroyed.
git-svn-id: http://voip.null.ro/svn/yate@1845 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-26 13:00:00 +00:00
paulc 2b13e5d2b1 Fixed build in Windows
git-svn-id: http://voip.null.ro/svn/yate@1840 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-25 08:47:18 +00:00
marian ebd8543097 Raise a Verify event whenever the circuits' locked state changes.
git-svn-id: http://voip.null.ro/svn/yate@1839 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-24 09:39:50 +00:00
marian 19b93078f4 Added support to call controller to raise a Verify event when requested by descendants.
git-svn-id: http://voip.null.ro/svn/yate@1838 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-24 09:39:09 +00:00
marian 97bea50166 Changed termination reason when failed to replace call's circuit.
git-svn-id: http://voip.null.ro/svn/yate@1837 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-24 08:58:06 +00:00
marian b9ab361dec Changed debug message.
git-svn-id: http://voip.null.ro/svn/yate@1836 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-24 08:50:20 +00:00
marian 24da76843c Added circuit range support to circuit group and ISUP. Fixed ISDN method call.
git-svn-id: http://voip.null.ro/svn/yate@1834 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-24 08:36:45 +00:00
marian e7f515fce5 Added circuit range class.
git-svn-id: http://voip.null.ro/svn/yate@1829 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-21 13:20:51 +00:00
marian 6fa7fc0619 Fixed debug message when recv UPA.
git-svn-id: http://voip.null.ro/svn/yate@1828 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-21 12:14:43 +00:00
marian ecf5bcbd51 Don't respond to unexpected UPA.
git-svn-id: http://voip.null.ro/svn/yate@1827 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-21 11:13:25 +00:00
marian 252110fc30 Fixed bug: make sure we build a correct circuit map, e.g. circuit codes are sequential.
git-svn-id: http://voip.null.ro/svn/yate@1826 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-21 10:56:57 +00:00
marian a0f8dfa60e Fixed bug: unlock call controller's mutex before exiting from getEvent().
git-svn-id: http://voip.null.ro/svn/yate@1825 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-21 09:56:59 +00:00
marian 14c2ccd61b Changed the way the engine is stopping the worker thread.
git-svn-id: http://voip.null.ro/svn/yate@1822 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-21 09:14:31 +00:00
marian 8d124eaac3 Fixed range and status processing bug.
git-svn-id: http://voip.null.ro/svn/yate@1818 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-20 11:22:52 +00:00
marian 87d8b4857b Removed STUB debug message from management receiver.
git-svn-id: http://voip.null.ro/svn/yate@1817 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-20 10:15:43 +00:00
marian 24f65f528b Changed default values for UPT timer.
git-svn-id: http://voip.null.ro/svn/yate@1815 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-19 14:25:23 +00:00
marian 1f64d78cdd Changed UPT timer values. Force UPT re-send when network is down.
git-svn-id: http://voip.null.ro/svn/yate@1814 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-19 14:09:07 +00:00
marian e3960cbf01 Changed default values for UPT timer. Removed user part availability check when sending messages.
git-svn-id: http://voip.null.ro/svn/yate@1813 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-19 13:59:41 +00:00
marian 455d29df1e Implemented UPT (user part test). Don't send MSUs if remote user part is not available.
git-svn-id: http://voip.null.ro/svn/yate@1812 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-19 13:46:34 +00:00
marian b724c1269b ISUP: Keep track of the Layer 3 network. Don't send MSUs when down.
git-svn-id: http://voip.null.ro/svn/yate@1811 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-19 12:20:30 +00:00
marian 8286f180af Fixed bug: reset local flags when receiving circuit (un)blocking responses.
git-svn-id: http://voip.null.ro/svn/yate@1810 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-19 11:55:43 +00:00
marian 4197d06b72 Change 'changed' flag when receiving circuit (un)blocking responses.
git-svn-id: http://voip.null.ro/svn/yate@1809 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-19 11:49:53 +00:00
marian 4a3312473a Fixed circuit lock flags when processing circuit events.
git-svn-id: http://voip.null.ro/svn/yate@1808 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-19 11:37:17 +00:00
marian bddcc8363a Reimplemented circuit (un)blocking.
git-svn-id: http://voip.null.ro/svn/yate@1807 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-19 11:11:19 +00:00
marian a7e99b4e66 Anyone can now obtain the list of circuits attached to a call controller.
git-svn-id: http://voip.null.ro/svn/yate@1805 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-18 17:02:31 +00:00
marian d6d3fe255a Handle received UEC by blocking both sides of the circuit.
git-svn-id: http://voip.null.ro/svn/yate@1804 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-18 15:30:45 +00:00
marian 142bae4297 Fixed bug: don't reset again the circuit we requested. Just release it.
git-svn-id: http://voip.null.ro/svn/yate@1803 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-18 15:14:39 +00:00
marian 7bc4e6d9bf Fixed bug: avoid responding to unexpected RLC for a valid circuit code.
git-svn-id: http://voip.null.ro/svn/yate@1802 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-18 13:37:24 +00:00
marian b848a4f4b9 Copy more parameters in outgoing IAM.
git-svn-id: http://voip.null.ro/svn/yate@1801 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-18 12:38:23 +00:00
marian a233a99b45 Fixed again circuit blocking.
git-svn-id: http://voip.null.ro/svn/yate@1800 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-18 12:29:49 +00:00
paulc bdc3451733 Fixed compilation in Visual Studio.
git-svn-id: http://voip.null.ro/svn/yate@1799 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-18 12:24:23 +00:00
marian 717bb2e528 Fixed circuit blocking.
git-svn-id: http://voip.null.ro/svn/yate@1798 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-18 12:11:09 +00:00
marian d00c503327 Fixed circuit (un)blocking.
git-svn-id: http://voip.null.ro/svn/yate@1797 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-18 12:07:08 +00:00
marian 24db526ec8 Implemented ISUP circuit block/unblock for local side.
git-svn-id: http://voip.null.ro/svn/yate@1796 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-18 11:37:15 +00:00
marian 12ceb1c767 Added more circuit lock flags. Simplified code.
git-svn-id: http://voip.null.ro/svn/yate@1794 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-18 10:26:49 +00:00
marian 19c5f35422 Added circuit events handling to call control and ISUP.
git-svn-id: http://voip.null.ro/svn/yate@1788 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-17 11:54:52 +00:00
marian a5002dd774 Fixed debug message to display correct info.
git-svn-id: http://voip.null.ro/svn/yate@1787 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-17 10:33:45 +00:00
marian e9bed530e8 Fixed bug when transmitting CNF.
git-svn-id: http://voip.null.ro/svn/yate@1781 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-14 14:34:50 +00:00
marian a9b90ece54 Added method to get the circuit from a circuit event.
git-svn-id: http://voip.null.ro/svn/yate@1780 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-14 14:34:22 +00:00
marian 027019732d Changed debug.
git-svn-id: http://voip.null.ro/svn/yate@1779 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-13 10:57:50 +00:00
marian 8864462783 Fixed debug output when decoding RangeAndStatus.
git-svn-id: http://voip.null.ro/svn/yate@1778 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-13 10:57:29 +00:00
marian 0e69a91f71 Fixed bug in CGB/CGU processing.
git-svn-id: http://voip.null.ro/svn/yate@1776 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-13 09:09:16 +00:00
marian 6f3a80a589 Implemented circuit group block/unblock.
git-svn-id: http://voip.null.ro/svn/yate@1775 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-13 08:56:31 +00:00
marian 9cc1aee474 Dump MSU content to output when asked to send one.
git-svn-id: http://voip.null.ro/svn/yate@1774 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-13 08:26:08 +00:00
marian 80fbb9da5f Fixed RangeAndStatus encoding.
git-svn-id: http://voip.null.ro/svn/yate@1773 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-13 08:18:25 +00:00
marian 65109ac451 Fixed RangeAndStatus parameter encoding.
git-svn-id: http://voip.null.ro/svn/yate@1772 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-12 17:10:24 +00:00
marian 6fcf21abe4 Handle circuit group reset message.
git-svn-id: http://voip.null.ro/svn/yate@1770 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-12 16:19:42 +00:00
marian 31e4ba0a39 Added method to print SNM messages to output.
git-svn-id: http://voip.null.ro/svn/yate@1768 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-12 15:44:26 +00:00