Commit Graph

946 Commits

Author SHA1 Message Date
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
paulc 9220b4b3ad Send repeatedly Link Status messages during M2PA proving, some implementations require them.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4158 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-04 19:39:47 +00:00
paulc f51650ed5d Added support for changeover and changeback messages on networks like ANSI where the SLC is not stored in the routing label's SLS.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4157 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-04 19:02:56 +00:00
paulc f009ef0440 Fixed the way ISUP calls are released when media cannot be started or checked.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4156 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-04 14:42:14 +00:00
paulc ac3da510d7 Start the M2PA ACK timer before sending the SIGTRAN packet.
Prevents a race condition from clearing the timer too early.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4155 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-04 14:29:12 +00:00
marian 6a337d5482 Use async connect if available. The stream connect timeout value is no longer global: it's used for each connect attempt (configured address, srv record, domain). Remember connect status and re-connect starting from old status. Added srv query timeout configurable option.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4150 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-03 13:02:29 +00:00
paulc 2afe580292 Added failsafes to prevent reusing an ISUP circuit if a call still owns it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4147 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-02 12:10:54 +00:00
paulc 170625c33e Added the newer Number Translated and QoR Routing flags to ISUP Forward Call Indicators.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4145 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-01 17:49:28 +00:00
paulc 987ad05f34 Added status detail to the pbxassist module.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4140 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-01 14:22:42 +00:00
marian e6fe117b0e Changed stream start timeout values.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4131 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-25 10:53:23 +00:00
marian 6b19fa2c19 Changed stream setup and connect default and maximum timeout values.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4130 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-25 09:58:56 +00:00
paulc f2aeb724f5 Display the proper OPC/DPC in the debug message when sending a SLTA.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4126 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-23 12:11:03 +00:00
paulc 3c68f81604 Fixed a double release of a circuit that could cause a race condition leading to multiple calls per circuit.
Removed an unnecessary release of the current reset circuit.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4123 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-22 13:11:32 +00:00
marian 4e4ae64f6f Always restart cluster streams with InError flag set.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4122 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-21 15:59:28 +00:00
paulc a8c6c7d2b6 Constified all TokenDicts in the ysig library.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4121 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-21 11:56:06 +00:00
paulc d8255c7ee1 Added a Media Required setting to Call Controllers.
Drop the call if a required circuit setup failed.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4120 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-21 11:42:10 +00:00
marian e9f820345e Added cluster stream.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4116 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-18 16:07:46 +00:00
marian fba5bf3042 Added conversion methods between NamedList parameters and XmlElement objects.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4115 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-18 16:04:07 +00:00
marian efae418da6 Outgoing streams can now be forced to use a specified local ip when connecting.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4110 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-15 15:26:53 +00:00
paulc 8ae4343af6 Release the ISUP call and the circuit when failed to transmit the IAM.
This can happen when the MTP route is prohibited.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4107 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-14 11:00:26 +00:00
paulc 72eb385818 Do not send back an UPU when receiving a call for on unequipped circuit.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4105 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-14 08:30:19 +00:00
marian 449c0c44c2 Increased the length of m2pa unacknowledged packets queue.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4104 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-10 11:13:32 +00:00
paulc fa8400a2fa Added a flag for value 0 of Access Delivery Information so it gets propagated.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4102 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-09 12:57:08 +00:00
marian 5dfbbc7a54 Retrieve the jingle action from 'type' or 'action' attribute. Set them both in sent jingle stanzas.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4097 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-04 15:08:40 +00:00
paulc 31a359766a Fixed the state machine of MTP2 to always start alignment by OS ->O transition.
Speed up end of proving on receipt of a correctly sequenced MSU.
Added setting (default true) to flush queued MTP2 messages at end of proving.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4096 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-04 14:18:56 +00:00
paulc ca498232ed Added possibility to disable the autostart feature of MTP2 and Cisco SLT.
Autostart should be disabled only for some certification or interoperation tests.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4095 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-04 11:43:43 +00:00
paulc d1a2274f2f Fixed reporting of SS7 links status.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4092 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-03 14:03:21 +00:00
paulc 3a99be772c ISUP now emits SUS / RES messages on Suspend / Resume events.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4089 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-02 10:12:28 +00:00
paulc f6644b2110 Allow signals A (10) and D (13) in ISUP digits.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4087 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-31 09:13:07 +00:00
paulc 56ed6de9dc Added setting to disable dropping the call if the remote sends an unknown or unsupported ISUP message in an early call state.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4082 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-28 12:13:51 +00:00
paulc 3400667350 Consistently use the branch from the last Via header in matching transactions.
Fixes bug #237.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4080 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-28 09:49:55 +00:00
paulc 313d1bb82a Added optional parameter to retrieve the last header or its parameters from a SIP message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4079 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-28 09:48:00 +00:00
paulc 9323c518b0 Renamed RedirectionInformation field "reason-original" to "reason_original" so it gets copied.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4078 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-27 13:52:06 +00:00
paulc 15f7933a3a Handle SUS and RES messages - mandatory in ISUP v2.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4076 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-27 08:51:28 +00:00
paulc 764b89f787 Added flags for Call Diversion Information encoding and decoding.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4075 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-26 15:54:49 +00:00
paulc 1a218b9e05 Add a raw hex variant of Parameter Compatibility Information for easier forwarding.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4074 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-26 15:02:15 +00:00
paulc aa4328f069 Changed the order of local point code checks so a transparent STP can transfer a message not handled by a local user part.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4073 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-26 14:03:50 +00:00
paulc c7ab08c559 Properly initialize the MTP operational status when attaching an ISUP dynamically at runtime.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4072 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-26 13:39:33 +00:00
paulc 3682c4bf7f Never advertise a point code from same linkset local address, it must be always allowed by TRA to adjacent node.
Such condition can happen in a nonstandard STP with multiple local point codes.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4071 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-26 09:31:30 +00:00
paulc 0e12e79f50 Ignore neighbours setting when receiving an UPU, any node can send it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4070 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-25 19:20:54 +00:00
paulc 65b64e2547 Fixed and simplified the way M2PA is forcibly realigned, wasn't clearing sequence numbers and all machine states.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4069 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-25 16:12:03 +00:00
paulc 79eca75910 Add a short random time to the initial SLTM timer to prevent synchronization between link ends.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4068 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-25 16:00:28 +00:00
paulc a81cbca96b Prevent misrouting or inadvertently handling SS7 messages in silent transfer scenarios.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4067 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-25 15:31:42 +00:00
paulc 54131d93fc Do not check the sequence numbers of M2UA packets with LinkStatus == OutOfService, let the state machine process them.
More visibly warn about wrong sequences once false positives are eliminated.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4066 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-25 15:07:08 +00:00
marian 09e857e542 Added thread safe methods used to retrieve a stream's local and remote party jid and check its id.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4064 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-25 14:59:06 +00:00
paulc f6d5324d22 Added capability to force a ringback to a MGCP gateway from ISDN and ISUP.
Fixed ring end on FXS analog MGCP gateways.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4062 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-25 11:46:13 +00:00
paulc 7114fab2c5 Added parameters CCSS Call Indication and CCNR Possible Indicator used by some ISUP supplementary services.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4060 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-24 11:16:20 +00:00
marian 86ace5a67c Fixed memory leak: release a parsed attribute when a duplicate is found.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4057 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-24 10:12:37 +00:00
marian 8d3918a79f Fixed memory leak: release received stream features xml element when starting stream compression.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4056 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-24 10:11:34 +00:00
marian a8889c9c15 Fixed memory leak: release received 'starttls' requests after successfully processed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4055 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-24 09:51:21 +00:00
marian f0b7da8e63 Fixed memory leak: release all xml element data when destroyed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4050 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-21 08:57:29 +00:00
marian e648511468 Fixed memory leak: clear xml document data when destroyed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4049 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-20 16:10:56 +00:00
marian 852f710b73 Fixed memory leak: release extracted xml tag if invalid.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4048 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-20 14:48:22 +00:00
marian 2476dc9112 Fixed memory leak: release data if failed to parse attribute value.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4047 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-20 14:30:52 +00:00
marian 89c240f7ac Fixed memory leak: release the fragment owned by a DOM parser. Release the temporary parser used when loading an xml document from a file.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4046 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-20 14:10:13 +00:00
paulc 08db1b6ec7 Build a list of "No pass on possible" compatibility parameters in "parameters-nopass-release", release the call if the list is not cleared just like "parameters-unhandled-release".
Make sure the CNF or REL diagnostic holds each parameter code only once.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4045 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-20 11:10:58 +00:00
paulc b218c1687d For signalling channels made "noconn" an alias for temporary failure, provides better error mapping.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4044 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-20 07:18:00 +00:00
paulc d3d4c9b39d Added the "No pass on possible" flags decoding to parameter compatibility.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4038 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-19 07:13:58 +00:00
paulc c8b30a2b1e Include A and D in the digits decoded when not following strictly the ISUP standard.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4033 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-18 12:00:39 +00:00
marian 91b4480cec Fixed bug: avoid sending entity caps request on s2s incoming stream.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4018 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-23 15:48:12 +00:00
marian f77afbba13 Fixed bug: lock the engine while searching for a session to accept a received response.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4016 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-23 13:10:01 +00:00
paulc 9c4a05d299 Raised the debug level of adding a circuit range.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4015 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-22 17:21:04 +00:00
marian 1b19a665ec Set the correct base class when calling the YCLASS macro in JBEngine descendants.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4014 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-22 16:04:27 +00:00
marian f0b1f24305 The jabber client engine default value for 'printxml' is now 'verbose'.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4013 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-22 16:01:38 +00:00
marian d629486b33 Fixed bug: set the telephone-event payload type to 101 instead of 106.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4002 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-21 16:10:58 +00:00
paulc d0771ccb78 Got rid of two leftover DebugStub.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3961 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-16 14:41:26 +00:00
oana 1407f691e5 Fixed OID encoding/decoding for itu-t, iso and joint-iso-itu-t identifiers. Added check to see if an interrogated OID is part of the known OID tree.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3934 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-08 14:45:39 +00:00
marian 246574548b Merged jabber changes from client branch into trunk.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3928 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-08 09:55:05 +00:00
oana 26f26fe5e1 Fixed the OID interrogation for the successor of a given OID.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3915 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-07 09:27:39 +00:00
oana b9112d80a9 Fixed negative integer ASN.1 encoding and decoding.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3914 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-07 09:23:05 +00:00
paulc 2d0bd40dee Made ISUP return properly HandledMSU::NoCircuit when it does not handle the circuit code and only warn the first time.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3909 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-06 09:39:23 +00:00
paulc 2c31e22e71 Added silent MSU transfer mode (STP without route advertising).
git-svn-id: http://yate.null.ro/svn/yate/trunk@3908 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-06 09:37:37 +00:00
oana ae2f69f21f Fixed memory leaks. Fixed several bugs. Changed the debug level for several debug messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3864 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-24 16:25:16 +00:00
paulc 440cfabfa2 Preserve the ISUP REL message for retransmissions instead of rebuilding it.
Copy parameters from failed call.route or call.execute to the REL message.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3850 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-22 18:03:00 +00:00
marian 2d2fd49921 Allocate a buffer for each child of an XmlFragment and then append them to the destination buffer (avoid expensive re-alloc/copy for elements with a large number of children).
git-svn-id: http://yate.null.ro/svn/yate/trunk@3814 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-15 08:38:01 +00:00
marian e51b81c831 Made some xml parser's methods static (they are not related to parser state). Added method used to check if a string is a valid tag name.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3809 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-12 15:59:19 +00:00
paulc a895c7b2dc Correctly deal with the name prefix when encoding optional ISUP parameters.
Also added some debugging on parameter encoding.
WARNING: This can disturb setups relying on the incorrect behavior.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3803 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-10 18:00:25 +00:00
paulc 242ae2be8d Keep the transaction list iterator in the MGCP engine.
Instead of creating it at each getEvent call just reassign it when running out of transactions.
This avoids the very expensive constructor and provides handling fairness.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3800 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-05 17:28:29 +00:00
paulc fd39111d4f Added static method to check at runtime if Socket::select() is efficient.
Use select() on the MGCP reader socket if it worths.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3798 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-05 16:08:11 +00:00
paulc 51a48f4322 Added Visual Studio projects for SNMP components.
Added SNMP to installer.
Fixed some bugs and warnings exposed by the Microsoft compiler.

git-svn-id: http://yate.null.ro/svn/yate/trunk@3795 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-04 18:48:53 +00:00
paulc e2d8b4317d Added a missing Windows specific macro, fixed some documentation comments.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3792 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-04 16:06:55 +00:00
marian 01d6f7601c Safely allow IAX lines to be processed asynchronously (IAX line is now a Mutex and RefObject). Fixed IAX line (un)register transaction abort.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3791 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-04 15:43:16 +00:00
paulc 61bb19e5ce Made MGCPEngine::knownCommand take a const String& to avoid unnecessarily constructing a String.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3789 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-04 15:30:00 +00:00
oana f3a841b70e Fixed compile warning on Mac OSX.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3777 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-03 16:57:08 +00:00
oana cda9ed670f Added SNMP support.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3776 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-03 16:27:30 +00:00
marian 34b0ecfe00 RTPSender send buffer is now kept across send calls: avoid buffer re-alloc if needed size don't change.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3767 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-02 13:13:10 +00:00
paulc 653e3e14a2 Fixed the alternate route detection algorithm.
Always recompute all views including itself as in alternate routing a notification may be sent back.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3750 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-22 10:38:15 +00:00
paulc 0796eb7010 Got rid of the early... settings, the algorithm is robust enough.
Speed up by always sending TFP and TRA on adjacent node restart if we are already started.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3749 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-22 07:23:24 +00:00
paulc e11845b25c Fixed the per-view best route state to take into account load sharing and alternate routing.
The type of sharing / alternate is taken from relative route priority.
Note that actual routing of the packets also takes into account the SLS shift.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3748 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-22 04:14:41 +00:00
paulc 903572b240 Answer with TRA to TRA (if T19 not running) in SP mode too.
Start T19 also when manually forcing out all TRA messages.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3747 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-22 01:53:39 +00:00
paulc 3f08346fb1 By default push TFPs as soon as possible on newly checked linksets.
Send TFPs to adjacent node with linkset down but seen starting elsewhere.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3746 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-22 01:30:25 +00:00
paulc 68d1e06a3f Do not send by default a TRA when the linkset is put in service.
In STP mode routing information (TFx) should be sent first.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3745 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-21 15:30:32 +00:00
paulc 238723414a Restart T21 when a link goes up.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3744 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-21 14:24:13 +00:00
paulc 8edccbeda2 After silently allowing routes on T21 expiration send all TFx and TRA just like if received a TRA.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3743 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-21 14:22:21 +00:00
paulc d8b7580268 Check the route status of the STP too if routing an User Part message.
Perform time controlled rerouting on all routes on a STP whose state changed.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3742 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-21 13:53:06 +00:00
paulc eda7784881 Added capability of configuring explicit routes per MTP3 linkset.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3741 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-21 11:59:43 +00:00
paulc f76e9c61a3 Added an "available" command to ISUP so the remote user part can be enabled manually for testing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3740 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-21 09:38:20 +00:00
paulc 36ebe8f40d Added a separate T19 timer, initialize T19 and T21 interval only once.
Start T21 at beginning of restart instead of a short one at end.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3739 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-21 08:32:10 +00:00
paulc 1f63e39ec5 Silently activate unknown yet routes to all nodes behind an adjacent STP that sent TRA.
This is safe as all TRx must have been received before TRA is received.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3738 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 16:26:13 +00:00
paulc b18c6b6761 Fixed the way the routes are cleared when a linkset changes state.
The adjacent point code is located (it is always first as it has priority zero) and provided for all other routes.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3737 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 15:20:02 +00:00
paulc 73e83e3e10 Consistently set T21 = T20 + 4s in the SS7 restart procedure.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3736 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 11:35:14 +00:00
paulc 5c95e6059c Do not handle route set test messages while still in the restart procedure.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3735 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 11:31:11 +00:00
paulc b333789197 Properly clear the adjacent route(s) of a linkset that goes down.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3734 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 11:29:51 +00:00
paulc ce07f3745e Trigger time controlled rerouting when the availability of any linkset in a route changed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3733 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 09:57:57 +00:00
paulc 7ab931ca69 Added variable to warn only once that all links in a linkset are down.
Prevents flooding the logs with warnings if a linkset is down for a long time.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3732 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 09:07:35 +00:00
paulc c3af68d0d4 Added separate setting for enabling sending changeback and changeover between linksets.
This setting is disabled by default so time controlled diversion is used between linksets.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3730 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 08:08:35 +00:00
paulc 653558edea Fixed a route building bug introduced in Rev 3641 (2010-09-08).
Fixed route test querying that caused the changes above.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3729 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 16:23:36 +00:00
paulc 262d9c50b3 Postpone the resuming of M2UA links after retrieval of sequence number to avoid flooding the gateway if we have many links (de)activating at once.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3728 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 13:43:20 +00:00
paulc 3b096f95ed Release the router lock before checking each reroute buffer to avoid deadlocks.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3727 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 13:41:46 +00:00
paulc de9b523b57 Changed the way an incoming LUN removes pending LRT and LFU, there can be one of each pending.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3726 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 12:53:41 +00:00
paulc 27fb658bb2 Added a reroute buffer used to implement T3 and T6 (missequencing avoidance).
Changed debug messages and levels to be easier to interpret the typical output.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3725 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 11:17:12 +00:00
paulc 6507806621 Added a message when a link that is not in service is cycled because of maintenance test failure.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3724 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 08:30:09 +00:00
paulc 9f576f9249 Added a debugging message before SS7 SNM sends out a message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3723 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 08:00:00 +00:00
paulc 1610c38f3d Link Force Uninhibit is sent with an 1200ms one-time retry (Q.704 T13).
git-svn-id: http://yate.null.ro/svn/yate/trunk@3722 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 06:50:48 +00:00
paulc 1f5acf67b1 Send a link management SNM even on inhibited links if nothing else is available.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3721 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 04:30:53 +00:00
paulc 95f7c9de99 Force processing of link flags if same flag is set and cleared.
Force a link cycle on maintenance test failure even if the link was inactive.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3720 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 04:06:18 +00:00
paulc 77d0b1e608 In STP mode answer with TFP to SNM packets with unknown DPC.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3719 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-18 15:58:06 +00:00
paulc d748a54632 Cycle a SS7 link that didn't answer to maintenance even if if was never in service.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3718 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-18 15:49:48 +00:00
paulc 6a89ba42e5 Implemented emergency proving interval in M2PA as 1/16 of normal interval.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3717 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-18 02:12:35 +00:00
paulc 77d137fcc6 Added new parameter "forcealign" that controls if a link that fails maintenance
test should be realigned.
The "checklinks" and "forcealign" parameters can be changed from control operati
on.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3716 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-18 01:57:06 +00:00
paulc c77650690a Made the RTP and RTCP received socket addresses member variables so they persist across calls.
This allows skipping a realocation and stringification at every received packet.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3714 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-13 17:18:32 +00:00
marian 0ccf15e5ef The jingle session is now properly set the error and associated text in raised events.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3672 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-28 11:41:37 +00:00
marian 6f70222d57 Try to retrieve the error text from error condition element's text.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3671 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-28 11:39:38 +00:00
marian 165eb0b03c Fixed incoming s2s stream setup bug: accept db:verify elements even if compression may still be negotiated.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3665 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-21 13:23:26 +00:00
marian c5bb847080 Handle failure tags when decoding an error.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3662 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-20 13:52:38 +00:00
paulc 2516e1edcc If auto changing RTP address remember the set address as preferred, change back to it if it sends packets.
This allows recovering RTP sessions stolen by a stale RTP stream or an attacker.
Patch provided by Matthew.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3655 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-15 14:23:20 +00:00
marian 307f20c1a5 Drop temporary ISDN call lock before deleting a sent event: avoid stray pointer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3653 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-15 07:56:53 +00:00
paulc 48e648c685 Added a timer to activate routes after restart or after a linkset got operational but sent no TRA.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3649 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-09 17:38:09 +00:00
paulc d8d4460bba Use L3Pointer only for storing linksets in routes, use new class L3ViewPtr to store linksets and their own view of the network in router.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3648 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-09 13:33:06 +00:00
paulc 230567ca1f Fixed a number of errors reported by the Visual C++ compiler.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3646 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-09 10:12:22 +00:00
paulc 4d9f4c092c Added setting to turn adjacent routes Allowed on first regular MSU received.
This allows interoperating with broken implementations that don't send TRA.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3643 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-08 13:44:17 +00:00
paulc 37f4995248 Dump sent SLTM packets to capture file.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3642 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-08 13:42:53 +00:00
paulc 1eedfcf920 Fixed the linkset/route state checking, notifying and isolation detection.
Isolation timer can be disabled so the router once started will never go down.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3641 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-08 12:34:35 +00:00
paulc 830017046d Fix for several infrequent memory leaks.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3640 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-08 11:28:22 +00:00
paulc a1c14360ec Added static method to retrieve (and possibly create) the primary instance of SignallingEngine.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3638 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-07 16:07:44 +00:00
paulc 677181d65c Fixed computing and clearing of routes, should end in Prohibited state.
Route set test messages now are distributed properly to their networks.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3636 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 16:20:57 +00:00
paulc bc7cfa0b75 Send TFP for unexpected packets through SS7Management, support Transfer prohibited inhibition timer (Q.704 T8).
git-svn-id: http://yate.null.ro/svn/yate/trunk@3635 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 14:57:09 +00:00
paulc ec365a11cf Fixed various SS7 rouning and STP problems.
Fixed the behavior of routes and the advertising to other nodes.
Added a lot of debug messages.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3634 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 13:45:15 +00:00
paulc 7976afdc16 Added support for forcibly postpone a SNM even if initial transmission failed.
This allows timing out CBD/COO even if no links are active.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3633 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 09:59:28 +00:00
paulc 99f48bbdae Do not send even SNM on an inhibited link.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3632 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 09:44:31 +00:00
paulc 7de0a58622 Initiate linkset emergency restore procedures only if link count worsened.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3631 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 08:48:22 +00:00
paulc fa96b8ee16 Simplified notifyRoutes by removing the now useless parameters.
Fixed a bug in setting the state of adjacent vs non-adjacent routes.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3630 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 04:52:18 +00:00
paulc 01e668f89c Perform changeover/changeback on another linkset if required, rely on time sequence if that one fails too.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3629 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 04:41:09 +00:00
paulc 19b491b3ae Added separate virtual check if SLTA should be sent back else neither end would get in service first.
Added method to check if a link is in service ignoring some inhibition flags.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3628 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 04:30:10 +00:00
paulc 376ef6b69a Made links fail only after waiting T2 for a second SLTA.
Pausing the linkset disables answering with SLTA so failure can be emulated.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3627 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 03:49:58 +00:00
paulc 6dc9b19eae Changed some debug levels to reflect their importance and frequence.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3626 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 03:09:22 +00:00
paulc 9f88eed54a Rewritten the route building and STP advertising logic.
For each attached linkset a view of its routes is used to know when to send transfer change notifications.
Most of the route handling code was moved in SS7Router as it was never used by SS7Layer3.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3625 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-02 15:41:26 +00:00
paulc 6a9fd57136 Made the default MTP test timer one second and not reload it on initialize.
This was driving me crazy.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3624 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 21:21:43 +00:00
paulc 4e5af768a3 Pass the required route state to SS7Route::transmitMSU so we don't attempt to transmit on a prohibited route.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3623 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 21:05:12 +00:00
paulc 6c3190165e Fixed routing bug introduced in Rev 3617 - never send a packet back to the receiving linkset.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3622 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 20:17:49 +00:00
paulc 1b88f5e04a Added SLS rotation and received sequence checking to the MTP user part.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3621 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 19:42:50 +00:00
paulc a5714341b1 Fixed TRA generation and load sharing (must always use adjacent network for SNM and MTN).
Added more debigging information.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3620 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 14:16:06 +00:00
paulc 1c176bb1cc Added support for reporting route congestion.
Detection is currently implemented only on SIGTRAN M2UA.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3619 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 12:05:55 +00:00
paulc 68e38ecffc Set routes per network the STP is located, combine values to create a best state.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3618 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 10:26:16 +00:00
paulc 850e531688 Implemented load sharing between linksets.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3617 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 08:10:34 +00:00
paulc 419d8d13f8 Added support for specifying a SLS right shift for balancing between linksets.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3615 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 05:08:16 +00:00
paulc fd25f2f795 By default accept SNM messages only from adjacent nodes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3614 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 04:25:25 +00:00
paulc a94e0f821a MTP3 now fully obeys Q.707 Link Maintenance and implements both T1 and T2.
SLTx are checked for point codes and SLS, SLTA verifies test pattern.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3613 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 03:11:10 +00:00
marian e762f5ab7a Fixed Redirection information encoder: copy all message data in msu buffer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3612 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 20:18:00 +00:00
paulc 6fe71aaa18 Fixed the UPU and TFP generation logic.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3611 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 16:39:48 +00:00
paulc a4b45256d6 Removed the useless separate SS7Maintenance user part.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3610 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 14:09:51 +00:00
paulc f8da5977b9 Added capability to periodically poll neighboring STPs for prohibited and restricted routes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3608 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 13:36:16 +00:00
paulc 556d5d352c Add received address and backwards address to the decoded SNM parameters.
Added decoding capability for route set test messages.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3607 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 13:35:20 +00:00
paulc da74d72c47 Catch LID, warn and stop LIN retransmissions.
Fixed emergency uninhibit, it must be sent only to adjacent nodes.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3606 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 11:17:52 +00:00
marian e22f84ce70 Fixed bug: properly hexify a data buffer until a byte with extension bit set.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3605 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 11:16:08 +00:00
paulc babcbdd34f Added API so a linkset can request uninhibition if running out of cative links.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3604 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 10:55:39 +00:00
paulc bc51dcd9ed Check the existence of the link for all link related Management messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3603 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 10:09:12 +00:00
paulc beaf1494bb Count separately the maintenance checked but inactive links to better notice changes in link states.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3602 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 09:42:55 +00:00
marian b9509582c7 Don't terminate incoming calls when blocking for maintenance reason (just make a repeat attempt).
git-svn-id: http://yate.null.ro/svn/yate/trunk@3601 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 09:25:27 +00:00
paulc 620292e3dd Added a setting to disable the changeover and change back procedures.
It should be only used for testing as disabling them violates the standards.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3600 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 08:50:45 +00:00
marian 01c9367aee Added option used to ignore unknown digit encoding in numbers (defaults to true).
git-svn-id: http://yate.null.ro/svn/yate/trunk@3599 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 07:56:50 +00:00
paulc af2aefd0f6 Send a TFP when in STP mode a MSU is received for an unknown destination.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3597 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 05:27:21 +00:00
paulc 8eab6bb088 Fixed a bug in SS7 route finding, was ignoring route states.
Added a set bit for unknown routes so they can be matched.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3596 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 04:41:27 +00:00
paulc 66a00e6523 Put the local point code in the OPC of the UPU, was misrepresenting the source.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3595 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 04:04:17 +00:00
marian b15cd52894 Avoid generating 2 release events (memory leak).
git-svn-id: http://yate.null.ro/svn/yate/trunk@3594 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 01:16:06 +00:00
marian f04c87a5f0 Replace circuits for outgoing calls in early state and terminate all other calls when circuits are blocked for hardware failure reason.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3593 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 01:03:35 +00:00
marian e29c5fcbf6 Don't send cause in RLC response sent by the ISUP call.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3592 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 00:26:15 +00:00
marian 9e6edad81c Handle unexpected message received for non test calls in early state.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3591 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 00:19:46 +00:00
marian 19776d85cf Always handle message compatibility flags (ignore transit/end node flag).
git-svn-id: http://yate.null.ro/svn/yate/trunk@3590 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-30 22:54:07 +00:00
marian 768dbb2b2e Fixed circuit reserve with even/odd restriction.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3589 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-30 22:46:40 +00:00