Commit Graph

831 Commits

Author SHA1 Message Date
paulc cba5cf2e63 Optimized const String usage in the ysig library.
git-svn-id: http://voip.null.ro/svn/yate@4428 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-03 14:25:17 +00:00
paulc 07502db52d Optimized const String usage in the SIP library.
git-svn-id: http://voip.null.ro/svn/yate@4427 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-03 13:04:21 +00:00
paulc 4b0e1bc90c Optimized const String usage in the RTP library.
git-svn-id: http://voip.null.ro/svn/yate@4426 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-03 13:04:08 +00:00
paulc cd13b06593 Optimized const String usage in the SDP library.
git-svn-id: http://voip.null.ro/svn/yate@4425 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-03 13:03:53 +00:00
paulc aba54ff612 Optimized const String usage in the XML library.
git-svn-id: http://voip.null.ro/svn/yate@4424 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-03 12:55:03 +00:00
marian ccd500ab74 Use default thread sleep value when failed to read data from socket.
git-svn-id: http://voip.null.ro/svn/yate@4421 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-31 10:53:16 +00:00
paulc f60ca31f81 Allow forcing the SDP parser to update the formats list.
git-svn-id: http://voip.null.ro/svn/yate@4414 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-28 12:28:35 +00:00
paulc 2871ff0307 Allow using span and range names in circuits= parameter for (un)block commands.
git-svn-id: http://voip.null.ro/svn/yate@4405 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-25 15:26:54 +00:00
paulc dc6ce73882 Use a "Param_" prefix to form the name for unknown ISUP parameters.
Allow raw encoding of unknown ISUP parameters.
A parameter that failed to decode is added raw with its correct name but also added to the parameters-unsupported list.


git-svn-id: http://voip.null.ro/svn/yate@4403 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-24 09:35:16 +00:00
paulc 81cc274888 Accomodate new SIGTRAN stream handling by issuing ASP commands on link events.
git-svn-id: http://voip.null.ro/svn/yate@4385 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-17 12:57:45 +00:00
paulc de8331f2d0 On transport failure set the SIGTRAN ASP state down.
git-svn-id: http://voip.null.ro/svn/yate@4384 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-17 11:55:38 +00:00
paulc 288eaf8b12 Change call status before checking the bearer so any call cleanup is executed correctly.
Got rid of some useless instruction blocks.


git-svn-id: http://voip.null.ro/svn/yate@4379 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-16 12:22:20 +00:00
marian 311636496a Use a global (per engine) nonce counter. Increase it each time we need it.
git-svn-id: http://voip.null.ro/svn/yate@4378 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-16 08:18:56 +00:00
paulc 7644e257a8 Do not provide the raw user data from library when processing MGCP events.
Access explicitely the pointer under a mutex lock to prevent race conditions.


git-svn-id: http://voip.null.ro/svn/yate@4374 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-13 13:12:05 +00:00
marian c8ef4d0a84 Handle qop=auth authentication requested by UAS when acting as UAC.
git-svn-id: http://voip.null.ro/svn/yate@4365 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-10 13:37:44 +00:00
paulc a59dfa132f Added flag to force long sequence numbers in M2UA links.
git-svn-id: http://voip.null.ro/svn/yate@4363 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-06 11:05:26 +00:00
paulc 56e3a1cf00 When searching for pending COO/XCO/ECO only the 1st byte is required.
Fixes "Unexpected XCA" and "Unexpected COA" warnings.


git-svn-id: http://voip.null.ro/svn/yate@4362 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-06 10:54:50 +00:00
paulc 8eea482f34 If possible answer with COA to an incoming COO even if link is using long sequence number.
git-svn-id: http://voip.null.ro/svn/yate@4361 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-06 10:01:25 +00:00
paulc cfdd694251 Make the MTP2 error rate monitor more closely follow Q.703 10.2 and 10.3.
The error threshold of a proven link can be configured.
It is possible to simulate receiving error packets.


git-svn-id: http://voip.null.ro/svn/yate@4352 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-29 15:27:27 +00:00
paulc 5ad56ed7c1 Fixed swapped DPC and OPC in an ISUP related debug message.
git-svn-id: http://voip.null.ro/svn/yate@4350 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-29 12:39:36 +00:00
paulc bec96747f2 Allow sending an UPT message from ISUP control command.
git-svn-id: http://voip.null.ro/svn/yate@4338 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-21 11:24:24 +00:00
paulc cd862615a9 Fixed typo that prevented using CVT on ANSI.
git-svn-id: http://voip.null.ro/svn/yate@4337 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-21 11:08:29 +00:00
paulc 3e06ead78e Allow using other messages (CVT, UBL, RSC) for testing remote user part.
git-svn-id: http://voip.null.ro/svn/yate@4336 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-21 11:01:03 +00:00
paulc a8c813ae5a For timeout ignore RTCP packets if no RTP was received.
This prevents an initial RTP timeout from being retriggered if RTCP interval is larger than timeout.


git-svn-id: http://voip.null.ro/svn/yate@4306 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-16 13:16:32 +00:00
paulc 3736466398 The default RFC 2833 payload can be configured and overriden per call.
git-svn-id: http://voip.null.ro/svn/yate@4287 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-12 15:41:49 +00:00
paulc 1fab878b8f If we find a RFC2833 mapping in SDP it cannot be a regular payload too.
git-svn-id: http://voip.null.ro/svn/yate@4283 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-11 15:43:51 +00:00
marian f4e32dbb94 Added jingle session 'no ping' flag to prevent sending session ping. Fixed debug.
git-svn-id: http://voip.null.ro/svn/yate@4280 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-11 14:48:35 +00:00
marian c58adb9483 Fixed bug: add the separator when building the list of compression methods from received stanza.
git-svn-id: http://voip.null.ro/svn/yate@4263 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-05 08:15:56 +00:00
marian 5dcc8f82ba Advertise 'pmuc-v1' MUC capability in entity capability child of the presence stanza.
git-svn-id: http://voip.null.ro/svn/yate@4253 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-01 07:34:20 +00:00
marian a042f122db The media list is now keeping the telephone event payload id along with its name and an optional second telephone event payload name to send.
git-svn-id: http://voip.null.ro/svn/yate@4245 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-31 11:06:12 +00:00
paulc 7bfdaaa12d Print SS7 routes to the output, not as a debug.
Added "show" control that print routes to linksets too.


git-svn-id: http://voip.null.ro/svn/yate@4243 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-31 08:05:01 +00:00
paulc 6bfb3bf161 Complain louder if an incorrect SLTM is received on a link.
git-svn-id: http://voip.null.ro/svn/yate@4242 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-31 08:02:01 +00:00
marian 8c8952cace Handle 'bitrate' attribute in received payload.
git-svn-id: http://voip.null.ro/svn/yate@4239 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-30 14:53:37 +00:00
marian 1290fd8bf6 Fixed bug: set all data when initializing media payload.
git-svn-id: http://voip.null.ro/svn/yate@4238 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-30 07:30:23 +00:00
marian 252f96b4b8 Fixed bug: avoid clearing rtp media parameters in copy constructor.
git-svn-id: http://voip.null.ro/svn/yate@4237 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-29 12:13:37 +00:00
marian 77dcb89da7 Added method used to set a media list from another one.
git-svn-id: http://voip.null.ro/svn/yate@4236 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-29 12:09:07 +00:00
paulc 5b575d0b16 Made RTP and UDPTL sessions derive from Mutex.
Lock the sessions when sending data or events, prevent race conditions.


git-svn-id: http://voip.null.ro/svn/yate@4233 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-29 09:38:21 +00:00
paulc 555db7adb2 Added support for reporting uptime for SS7 links and Q.921 interfaces.
git-svn-id: http://voip.null.ro/svn/yate@4231 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-28 16:39:34 +00:00
paulc 3a6bb55910 Added "netindicator" setting for linksets so it's no longer required to restrict types using netind2pctype.
git-svn-id: http://voip.null.ro/svn/yate@4220 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-28 11:19:22 +00:00
marian e005885da7 Added new namespace and use it to detect jingle version and audio capability from advertised features.
git-svn-id: http://voip.null.ro/svn/yate@4214 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-24 15:33:32 +00:00
paulc d0ca7bde2f Adjusted debugging in MGCP, prevent log spamming.
git-svn-id: http://voip.null.ro/svn/yate@4212 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-24 14:23:09 +00:00
marian f813c3a37a Optionally set entity node when building a GTalk entity caps element.
git-svn-id: http://voip.null.ro/svn/yate@4210 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-24 13:45:08 +00:00
paulc 3b4fe9b475 Added national use NAI for network specific and routing numbers (ANSI style).
git-svn-id: http://voip.null.ro/svn/yate@4200 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-22 19:58:01 +00:00
paulc cc854c5b4f Complain when mapping NI -> Type -> NI of received SS7 SLTM is not identity.
This helps catching netind2pctype MTP3 misconfiguration.


git-svn-id: http://voip.null.ro/svn/yate@4197 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-22 00:00:02 +00:00
paulc 873d8b8c70 Added method to check easily if a SIP transaction can send a response message.
git-svn-id: http://voip.null.ro/svn/yate@4192 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-17 20:31:18 +00:00
paulc 9e232fab1c Modified notification in ISUP to only consider its own Layer 3 and remote route status, not individual linksets attached to the router.
git-svn-id: http://voip.null.ro/svn/yate@4190 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-17 15:43:09 +00:00
paulc f265f745f3 Added ISUP setting (default on ANSI) to set CGB messages duplicated.
git-svn-id: http://voip.null.ro/svn/yate@4187 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-16 21:10:03 +00:00
paulc ecd6fed754 When forcing a circuit (group) block or unblock remove any opposing operation pending.
git-svn-id: http://voip.null.ro/svn/yate@4185 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-15 19:21:53 +00:00
paulc 98f89656f4 Reduced the M2PA minimum unack timer to 50ms.
Made message unack counter modifiable at runtime.


git-svn-id: http://voip.null.ro/svn/yate@4184 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-15 18:17:18 +00:00
paulc e05388ff8f Accept ISUP CPR and ANM in state Setup if they have Backward Call Indicators.
git-svn-id: http://voip.null.ro/svn/yate@4181 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-14 15:34:09 +00:00