Commit Graph

825 Commits

Author SHA1 Message Date
paulc 1f05aaeb1c Allow forcing the SDP parser to update the formats list.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4414 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-28 12:28:35 +00:00
paulc 07a8350f5c Allow using span and range names in circuits= parameter for (un)block commands.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4405 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-25 15:26:54 +00:00
paulc b8794261a9 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://yate.null.ro/svn/yate/trunk@4403 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-24 09:35:16 +00:00
paulc 60ef5593f6 Accomodate new SIGTRAN stream handling by issuing ASP commands on link events.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4385 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-17 12:57:45 +00:00
paulc 51b399d75d On transport failure set the SIGTRAN ASP state down.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4384 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-17 11:55:38 +00:00
paulc b3aa286f0f 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://yate.null.ro/svn/yate/trunk@4379 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-16 12:22:20 +00:00
marian b77429d566 Use a global (per engine) nonce counter. Increase it each time we need it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4378 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-16 08:18:56 +00:00
paulc 9cfc4fef96 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://yate.null.ro/svn/yate/trunk@4374 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-13 13:12:05 +00:00
marian 8c5ca9bc71 Handle qop=auth authentication requested by UAS when acting as UAC.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4365 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-10 13:37:44 +00:00
paulc 56b52cfca8 Added flag to force long sequence numbers in M2UA links.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4363 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-06 11:05:26 +00:00
paulc 33f3217975 When searching for pending COO/XCO/ECO only the 1st byte is required.
Fixes "Unexpected XCA" and "Unexpected COA" warnings.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4362 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-06 10:54:50 +00:00
paulc e350fe3a37 If possible answer with COA to an incoming COO even if link is using long sequence number.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4361 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-06 10:01:25 +00:00
paulc 13e01d2139 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://yate.null.ro/svn/yate/trunk@4352 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-29 15:27:27 +00:00
paulc f60755ff86 Fixed swapped DPC and OPC in an ISUP related debug message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4350 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-29 12:39:36 +00:00
paulc dc434fea6d Allow sending an UPT message from ISUP control command.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4338 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-21 11:24:24 +00:00
paulc 44017e59e0 Fixed typo that prevented using CVT on ANSI.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4337 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-21 11:08:29 +00:00
paulc 1d39807e2e Allow using other messages (CVT, UBL, RSC) for testing remote user part.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4336 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-21 11:01:03 +00:00
paulc e50a59ee39 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://yate.null.ro/svn/yate/trunk@4306 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-16 13:16:32 +00:00
paulc 3c4e6a01b6 The default RFC 2833 payload can be configured and overriden per call.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4287 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-12 15:41:49 +00:00
paulc f4cf176deb If we find a RFC2833 mapping in SDP it cannot be a regular payload too.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4283 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-11 15:43:51 +00:00
marian 56af3d65b1 Added jingle session 'no ping' flag to prevent sending session ping. Fixed debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4280 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-11 14:48:35 +00:00
marian 9ba72448b7 Fixed bug: add the separator when building the list of compression methods from received stanza.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4263 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-05 08:15:56 +00:00
marian f3b416612c Advertise 'pmuc-v1' MUC capability in entity capability child of the presence stanza.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4253 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-01 07:34:20 +00:00
marian 94bb5d89d9 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://yate.null.ro/svn/yate/trunk@4245 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-31 11:06:12 +00:00
paulc 042e731c08 Print SS7 routes to the output, not as a debug.
Added "show" control that print routes to linksets too.


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


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


git-svn-id: http://yate.null.ro/svn/yate/trunk@4197 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-22 00:00:02 +00:00
paulc ef393de662 Added method to check easily if a SIP transaction can send a response message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4192 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-17 20:31:18 +00:00
paulc cf55dedbd5 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://yate.null.ro/svn/yate/trunk@4190 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-17 15:43:09 +00:00
paulc d0addeb715 Added ISUP setting (default on ANSI) to set CGB messages duplicated.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4187 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-16 21:10:03 +00:00
paulc fffe83ac03 When forcing a circuit (group) block or unblock remove any opposing operation pending.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4185 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-15 19:21:53 +00:00
paulc 6f382aacab Reduced the M2PA minimum unack timer to 50ms.
Made message unack counter modifiable at runtime.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4184 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-15 18:17:18 +00:00
paulc 625d06f2f6 Accept ISUP CPR and ANM in state Setup if they have Backward Call Indicators.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4181 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-14 15:34:09 +00:00
paulc 6ef08070fa Modified the way M2PA UserData messages are acknowledged.
Reduces the number of ACK messages in case of unidirectional high traffic.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4167 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-08 16:21:15 +00:00
paulc 03049a6a34 Added support for Extended Changeover messages (XCO/XCA) used with 24-bit sequence SS7 links.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4164 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-07 18:34:52 +00:00
paulc 8a0ced911e Report textual status of call controllers (trunks).
git-svn-id: http://yate.null.ro/svn/yate/trunk@4163 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-07 14:57:07 +00:00
paulc 6a09c86bad Added flags that control how SIP message components are automatically completed.
These flags can be configured per engine and can be overridden in some messages by setting an "xsip_flags" parameter.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4161 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-07 13:50:59 +00:00
paulc 453fe76909 Set the value of rport parameter (RFC 3581) in the topmost Via header only if the parameter is already set by the client or proxy and has no value.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4160 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-07 11:56:43 +00:00
paulc 76e6284f25 Check if the remote Point Code is set in ISUP before using it.
Code was crashing if an ISUP was started with an invalid configuration.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4159 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-04 21:06:55 +00:00