Commit Graph

692 Commits

Author SHA1 Message Date
paulc 75bba23db4 Notify status change to router or User Part only after unlocking the MTP3.
git-svn-id: http://voip.null.ro/svn/yate@4513 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-19 14:20:32 +00:00
andrei 77a19912f8 Avoid recovering MSU while m2pa link is operational.
Avoid looping when failed to remove an acknowledged frame.


git-svn-id: http://voip.null.ro/svn/yate@4509 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-18 11:06:56 +00:00
andrei 2859798379 Check if the m2pa link is operational before sending an MSU
git-svn-id: http://voip.null.ro/svn/yate@4508 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-15 11:54:17 +00:00
paulc 92d1cf1c35 Do not override already set ISUP parameters with defaults.
Avoid creating duplicate parameters.


git-svn-id: http://voip.null.ro/svn/yate@4502 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-13 16:46:20 +00:00
andrei c4ac1bba9d Fixed parameters documentation.
Try to realign the m2pa link only when the transport is up.


git-svn-id: http://voip.null.ro/svn/yate@4495 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-12 15:13:02 +00:00
andrei 0bc6a8eb4f Memory leak fixed. Clear unacknowledged messages queue when the link status is operational.
git-svn-id: http://voip.null.ro/svn/yate@4492 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-12 14:52:06 +00:00
andrei b2cb0b0636 Added the possibility to restart transport from rmanager.
git-svn-id: http://voip.null.ro/svn/yate@4491 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-12 14:46:58 +00:00
andrei 54e5e1358a Make the value of maximum unacknowledged messages configurable.
git-svn-id: http://voip.null.ro/svn/yate@4490 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-12 14:43:13 +00:00
andrei e33ea53e6b Added OutOfService timer. Try periodically to realign the link.
git-svn-id: http://voip.null.ro/svn/yate@4489 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-12 14:39:40 +00:00
andrei ea59415ad0 Added the option to force transport socket to reconnect.
git-svn-id: http://voip.null.ro/svn/yate@4488 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-12 14:36:25 +00:00
marian 6c23b859c2 SS7Layer2 is now notifying its user on timer tick to avoid deadlocks. Make sure all descendents are calling SS7Layer2::timerTick().
git-svn-id: http://voip.null.ro/svn/yate@4481 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-12 09:17:08 +00:00
paulc 1a9867bfff Allow specifying a weak single circuit range by prefixing with a question mark.
git-svn-id: http://voip.null.ro/svn/yate@4472 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-05 08:33:20 +00:00
paulc 07132042d0 Added class for pseudo random number generation.
Replace library ::random() and ::rand() calls with shared Random method.


git-svn-id: http://voip.null.ro/svn/yate@4470 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-29 11:19:02 +00:00
andrei 49474e0d6a Fixed memory leak. Destroy the msu extracted from reroute queue.
git-svn-id: http://voip.null.ro/svn/yate@4466 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-29 08:07:18 +00:00
paulc 84db7c053a Allow specifying an explicit single circuit as range to allocate.
git-svn-id: http://voip.null.ro/svn/yate@4465 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-28 16:19:48 +00:00
paulc 82d6f11f1b Display a warning when a MTN has invalid DPC, especially when MTP looks like looping back.
git-svn-id: http://voip.null.ro/svn/yate@4464 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-24 10:34:03 +00:00
paulc 93402140eb Create the SS7 Management from the router's constructor, attach to engine later.
This passes the proper name and parameters and allows running multiple routers (separate SS7 nodes), each with its own management.


git-svn-id: http://voip.null.ro/svn/yate@4455 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-15 12:45:57 +00:00
paulc bcee31140c Compute how long took for ISUP and ISDN circuits to connect, log a message if time is excessive.
git-svn-id: http://voip.null.ro/svn/yate@4436 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-04 13:18:50 +00:00
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 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
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 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
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
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 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
paulc ef825bbe19 Modified the way M2PA UserData messages are acknowledged.
Reduces the number of ACK messages in case of unidirectional high traffic.


git-svn-id: http://voip.null.ro/svn/yate@4167 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-08 16:21:15 +00:00
paulc 5d19885970 Added support for Extended Changeover messages (XCO/XCA) used with 24-bit sequence SS7 links.
git-svn-id: http://voip.null.ro/svn/yate@4164 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-07 18:34:52 +00:00
paulc 934ba9df5c Report textual status of call controllers (trunks).
git-svn-id: http://voip.null.ro/svn/yate@4163 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-07 14:57:07 +00:00
paulc adc5fbb490 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://voip.null.ro/svn/yate@4159 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-04 21:06:55 +00:00
paulc 6641d5037d Send repeatedly Link Status messages during M2PA proving, some implementations require them.
git-svn-id: http://voip.null.ro/svn/yate@4158 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-04 19:39:47 +00:00
paulc bb1d05b189 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://voip.null.ro/svn/yate@4157 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-04 19:02:56 +00:00
paulc d0d3574634 Fixed the way ISUP calls are released when media cannot be started or checked.
git-svn-id: http://voip.null.ro/svn/yate@4156 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-04 14:42:14 +00:00
paulc c5eff5494b Start the M2PA ACK timer before sending the SIGTRAN packet.
Prevents a race condition from clearing the timer too early.


git-svn-id: http://voip.null.ro/svn/yate@4155 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-04 14:29:12 +00:00
paulc a79e6d160d Added failsafes to prevent reusing an ISUP circuit if a call still owns it.
git-svn-id: http://voip.null.ro/svn/yate@4147 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-02 12:10:54 +00:00
paulc aaf803ef69 Added the newer Number Translated and QoR Routing flags to ISUP Forward Call Indicators.
git-svn-id: http://voip.null.ro/svn/yate@4145 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-01 17:49:28 +00:00
paulc bf1e35151c Display the proper OPC/DPC in the debug message when sending a SLTA.
git-svn-id: http://voip.null.ro/svn/yate@4126 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-23 12:11:03 +00:00
paulc 822fd7c505 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://voip.null.ro/svn/yate@4123 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-22 13:11:32 +00:00
paulc 109c049bf8 Constified all TokenDicts in the ysig library.
git-svn-id: http://voip.null.ro/svn/yate@4121 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-21 11:56:06 +00:00
paulc 01aa79131c Added a Media Required setting to Call Controllers.
Drop the call if a required circuit setup failed.


git-svn-id: http://voip.null.ro/svn/yate@4120 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-21 11:42:10 +00:00
paulc ae0f68f596 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://voip.null.ro/svn/yate@4107 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-14 11:00:26 +00:00
paulc e9a728a29b Do not send back an UPU when receiving a call for on unequipped circuit.
git-svn-id: http://voip.null.ro/svn/yate@4105 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-14 08:30:19 +00:00
marian 5637f4e993 Increased the length of m2pa unacknowledged packets queue.
git-svn-id: http://voip.null.ro/svn/yate@4104 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-10 11:13:32 +00:00
paulc 197610ddc9 Added a flag for value 0 of Access Delivery Information so it gets propagated.
git-svn-id: http://voip.null.ro/svn/yate@4102 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-09 12:57:08 +00:00
paulc 968770b41c 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://voip.null.ro/svn/yate@4096 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-04 14:18:56 +00:00
paulc 6a076e3af8 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://voip.null.ro/svn/yate@4095 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-04 11:43:43 +00:00
paulc 3795181694 Fixed reporting of SS7 links status.
git-svn-id: http://voip.null.ro/svn/yate@4092 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-03 14:03:21 +00:00
paulc 0308b9ddd6 ISUP now emits SUS / RES messages on Suspend / Resume events.
git-svn-id: http://voip.null.ro/svn/yate@4089 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-02 10:12:28 +00:00
paulc 3ed78f111b Allow signals A (10) and D (13) in ISUP digits.
git-svn-id: http://voip.null.ro/svn/yate@4087 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-31 09:13:07 +00:00
paulc 0499d4774a 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://voip.null.ro/svn/yate@4082 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-28 12:13:51 +00:00
paulc dd7f88a7b9 Renamed RedirectionInformation field "reason-original" to "reason_original" so it gets copied.
git-svn-id: http://voip.null.ro/svn/yate@4078 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-27 13:52:06 +00:00
paulc 17dc955373 Handle SUS and RES messages - mandatory in ISUP v2.
git-svn-id: http://voip.null.ro/svn/yate@4076 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-27 08:51:28 +00:00
paulc 8d97984d25 Added flags for Call Diversion Information encoding and decoding.
git-svn-id: http://voip.null.ro/svn/yate@4075 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-26 15:54:49 +00:00
paulc 94fde0fb0a Add a raw hex variant of Parameter Compatibility Information for easier forwarding.
git-svn-id: http://voip.null.ro/svn/yate@4074 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-26 15:02:15 +00:00
paulc 125865d8ba 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://voip.null.ro/svn/yate@4073 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-26 14:03:50 +00:00
paulc 9d24ea53a5 Properly initialize the MTP operational status when attaching an ISUP dynamically at runtime.
git-svn-id: http://voip.null.ro/svn/yate@4072 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-26 13:39:33 +00:00
paulc 3c8fcc97dd 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://voip.null.ro/svn/yate@4071 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-26 09:31:30 +00:00
paulc 050b239e64 Ignore neighbours setting when receiving an UPU, any node can send it.
git-svn-id: http://voip.null.ro/svn/yate@4070 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-25 19:20:54 +00:00
paulc e6b3efcf47 Fixed and simplified the way M2PA is forcibly realigned, wasn't clearing sequence numbers and all machine states.
git-svn-id: http://voip.null.ro/svn/yate@4069 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-25 16:12:03 +00:00
paulc d2161cc28e Add a short random time to the initial SLTM timer to prevent synchronization between link ends.
git-svn-id: http://voip.null.ro/svn/yate@4068 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-25 16:00:28 +00:00
paulc a380672bec Prevent misrouting or inadvertently handling SS7 messages in silent transfer scenarios.
git-svn-id: http://voip.null.ro/svn/yate@4067 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-25 15:31:42 +00:00
paulc 90b21d56ff 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://voip.null.ro/svn/yate@4066 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-25 15:07:08 +00:00
paulc 13a1cf786d 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://voip.null.ro/svn/yate@4062 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-25 11:46:13 +00:00
paulc a57b721d36 Added parameters CCSS Call Indication and CCNR Possible Indicator used by some ISUP supplementary services.
git-svn-id: http://voip.null.ro/svn/yate@4060 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-24 11:16:20 +00:00
paulc 482be6c580 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://voip.null.ro/svn/yate@4045 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-20 11:10:58 +00:00
paulc 5bbf5e7498 For signalling channels made "noconn" an alias for temporary failure, provides better error mapping.
git-svn-id: http://voip.null.ro/svn/yate@4044 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-20 07:18:00 +00:00
paulc f936d07e75 Added the "No pass on possible" flags decoding to parameter compatibility.
git-svn-id: http://voip.null.ro/svn/yate@4038 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-19 07:13:58 +00:00
paulc 5c6d09f8ec Include A and D in the digits decoded when not following strictly the ISUP standard.
git-svn-id: http://voip.null.ro/svn/yate@4033 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-18 12:00:39 +00:00
paulc 5a398c0f5f Raised the debug level of adding a circuit range.
git-svn-id: http://voip.null.ro/svn/yate@4015 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-22 17:21:04 +00:00
paulc c77c83e6eb Got rid of two leftover DebugStub.
git-svn-id: http://voip.null.ro/svn/yate@3961 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-16 14:41:26 +00:00
paulc c504c597f0 Made ISUP return properly HandledMSU::NoCircuit when it does not handle the circuit code and only warn the first time.
git-svn-id: http://voip.null.ro/svn/yate@3909 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-06 09:39:23 +00:00
paulc 7102b79539 Added silent MSU transfer mode (STP without route advertising).
git-svn-id: http://voip.null.ro/svn/yate@3908 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-06 09:37:37 +00:00
paulc 33e354d749 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://voip.null.ro/svn/yate@3850 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-22 18:03:00 +00:00
paulc dd19ba84d7 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://voip.null.ro/svn/yate@3803 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-10 18:00:25 +00:00
paulc 5428d1eef2 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://voip.null.ro/svn/yate@3795 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-04 18:48:53 +00:00
oana ef5a8f1e2a Fixed compile warning on Mac OSX.
git-svn-id: http://voip.null.ro/svn/yate@3777 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-03 16:57:08 +00:00
oana 55813dcbe3 Added SNMP support.
git-svn-id: http://voip.null.ro/svn/yate@3776 acf43c95-373e-0410-b603-e72c3f656dc1
2010-11-03 16:27:30 +00:00
paulc 2d83207ce9 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://voip.null.ro/svn/yate@3750 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-22 10:38:15 +00:00
paulc 629cb10303 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://voip.null.ro/svn/yate@3749 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-22 07:23:24 +00:00
paulc 542df8be26 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://voip.null.ro/svn/yate@3748 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-22 04:14:41 +00:00
paulc 2756fb30d5 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://voip.null.ro/svn/yate@3747 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-22 01:53:39 +00:00
paulc ed9df427bc 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://voip.null.ro/svn/yate@3746 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-22 01:30:25 +00:00
paulc a8b2ca5c4d 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://voip.null.ro/svn/yate@3745 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-21 15:30:32 +00:00
paulc 0b335451a7 Restart T21 when a link goes up.
git-svn-id: http://voip.null.ro/svn/yate@3744 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-21 14:24:13 +00:00
paulc 7327ea7854 After silently allowing routes on T21 expiration send all TFx and TRA just like if received a TRA.
git-svn-id: http://voip.null.ro/svn/yate@3743 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-21 14:22:21 +00:00
paulc 373045e192 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://voip.null.ro/svn/yate@3742 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-21 13:53:06 +00:00
paulc 024add22c5 Added capability of configuring explicit routes per MTP3 linkset.
git-svn-id: http://voip.null.ro/svn/yate@3741 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-21 11:59:43 +00:00
paulc 0629159c34 Added an "available" command to ISUP so the remote user part can be enabled manually for testing.
git-svn-id: http://voip.null.ro/svn/yate@3740 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-21 09:38:20 +00:00
paulc 130cf665a1 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://voip.null.ro/svn/yate@3739 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-21 08:32:10 +00:00
paulc dd5ead5f12 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://voip.null.ro/svn/yate@3738 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 16:26:13 +00:00
paulc df9aadbed7 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://voip.null.ro/svn/yate@3737 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 15:20:02 +00:00
paulc 31fe65c5b1 Consistently set T21 = T20 + 4s in the SS7 restart procedure.
git-svn-id: http://voip.null.ro/svn/yate@3736 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 11:35:14 +00:00
paulc f2f8647c4f Do not handle route set test messages while still in the restart procedure.
git-svn-id: http://voip.null.ro/svn/yate@3735 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 11:31:11 +00:00
paulc cb2c28d2f8 Properly clear the adjacent route(s) of a linkset that goes down.
git-svn-id: http://voip.null.ro/svn/yate@3734 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 11:29:51 +00:00
paulc 9181b64439 Trigger time controlled rerouting when the availability of any linkset in a route changed.
git-svn-id: http://voip.null.ro/svn/yate@3733 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 09:57:57 +00:00
paulc 77a7a6da7b 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://voip.null.ro/svn/yate@3732 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 09:07:35 +00:00
paulc 8346fdf2d2 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://voip.null.ro/svn/yate@3730 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 08:08:35 +00:00
paulc b43ef61320 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://voip.null.ro/svn/yate@3729 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 16:23:36 +00:00
paulc 079c85b713 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://voip.null.ro/svn/yate@3728 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 13:43:20 +00:00
paulc 74717acc85 Release the router lock before checking each reroute buffer to avoid deadlocks.
git-svn-id: http://voip.null.ro/svn/yate@3727 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 13:41:46 +00:00
paulc 25d7eb4016 Changed the way an incoming LUN removes pending LRT and LFU, there can be one of each pending.
git-svn-id: http://voip.null.ro/svn/yate@3726 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 12:53:41 +00:00
paulc 1959fa4adc 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://voip.null.ro/svn/yate@3725 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 11:17:12 +00:00
paulc bede083f28 Added a message when a link that is not in service is cycled because of maintenance test failure.
git-svn-id: http://voip.null.ro/svn/yate@3724 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 08:30:09 +00:00
paulc c2fc5e8f3d Added a debugging message before SS7 SNM sends out a message.
git-svn-id: http://voip.null.ro/svn/yate@3723 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 08:00:00 +00:00
paulc 9462db8c97 Link Force Uninhibit is sent with an 1200ms one-time retry (Q.704 T13).
git-svn-id: http://voip.null.ro/svn/yate@3722 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 06:50:48 +00:00
paulc 84983afd57 Send a link management SNM even on inhibited links if nothing else is available.
git-svn-id: http://voip.null.ro/svn/yate@3721 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 04:30:53 +00:00
paulc 901b9be283 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://voip.null.ro/svn/yate@3720 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 04:06:18 +00:00
paulc 1fd1b34744 In STP mode answer with TFP to SNM packets with unknown DPC.
git-svn-id: http://voip.null.ro/svn/yate@3719 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-18 15:58:06 +00:00
paulc 10d42410af Cycle a SS7 link that didn't answer to maintenance even if if was never in service.
git-svn-id: http://voip.null.ro/svn/yate@3718 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-18 15:49:48 +00:00
paulc f18ecfe2c4 Implemented emergency proving interval in M2PA as 1/16 of normal interval.
git-svn-id: http://voip.null.ro/svn/yate@3717 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-18 02:12:35 +00:00
paulc 48d4891f18 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://voip.null.ro/svn/yate@3716 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-18 01:57:06 +00:00
marian 78981fa5dc Drop temporary ISDN call lock before deleting a sent event: avoid stray pointer.
git-svn-id: http://voip.null.ro/svn/yate@3653 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-15 07:56:53 +00:00
paulc f54b99c6dc Added a timer to activate routes after restart or after a linkset got operational but sent no TRA.
git-svn-id: http://voip.null.ro/svn/yate@3649 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-09 17:38:09 +00:00
paulc 3a45ba811d 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://voip.null.ro/svn/yate@3648 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-09 13:33:06 +00:00
paulc b2cbd994a9 Fixed a number of errors reported by the Visual C++ compiler.
git-svn-id: http://voip.null.ro/svn/yate@3646 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-09 10:12:22 +00:00
paulc 4ed0a17cc9 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://voip.null.ro/svn/yate@3643 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-08 13:44:17 +00:00
paulc 559fe54330 Dump sent SLTM packets to capture file.
git-svn-id: http://voip.null.ro/svn/yate@3642 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-08 13:42:53 +00:00
paulc 5f72fd986b 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://voip.null.ro/svn/yate@3641 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-08 12:34:35 +00:00
paulc c2b49808ef Fix for several infrequent memory leaks.
git-svn-id: http://voip.null.ro/svn/yate@3640 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-08 11:28:22 +00:00
paulc f36ee7c73d Added static method to retrieve (and possibly create) the primary instance of SignallingEngine.
git-svn-id: http://voip.null.ro/svn/yate@3638 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-07 16:07:44 +00:00
paulc afaa3b190f 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://voip.null.ro/svn/yate@3636 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 16:20:57 +00:00
paulc b77016ae01 Send TFP for unexpected packets through SS7Management, support Transfer prohibited inhibition timer (Q.704 T8).
git-svn-id: http://voip.null.ro/svn/yate@3635 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 14:57:09 +00:00
paulc 5acaceaae6 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://voip.null.ro/svn/yate@3634 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 13:45:15 +00:00
paulc e1006baeb1 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://voip.null.ro/svn/yate@3633 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 09:59:28 +00:00
paulc e1dba54ac9 Do not send even SNM on an inhibited link.
git-svn-id: http://voip.null.ro/svn/yate@3632 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 09:44:31 +00:00
paulc 0b7166f289 Initiate linkset emergency restore procedures only if link count worsened.
git-svn-id: http://voip.null.ro/svn/yate@3631 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 08:48:22 +00:00
paulc 7d6d948a18 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://voip.null.ro/svn/yate@3630 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 04:52:18 +00:00
paulc 00b15d3703 Perform changeover/changeback on another linkset if required, rely on time sequence if that one fails too.
git-svn-id: http://voip.null.ro/svn/yate@3629 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 04:41:09 +00:00
paulc 9e3b8ef009 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://voip.null.ro/svn/yate@3628 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 04:30:10 +00:00
paulc bc6a3a2cdc 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://voip.null.ro/svn/yate@3627 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 03:49:58 +00:00
paulc 85866c22ff Changed some debug levels to reflect their importance and frequence.
git-svn-id: http://voip.null.ro/svn/yate@3626 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 03:09:22 +00:00
paulc e87d59878e 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://voip.null.ro/svn/yate@3625 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-02 15:41:26 +00:00
paulc 430d675968 Made the default MTP test timer one second and not reload it on initialize.
This was driving me crazy.


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


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


git-svn-id: http://voip.null.ro/svn/yate@3619 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 12:05:55 +00:00
paulc f502fc92b3 Set routes per network the STP is located, combine values to create a best state.
git-svn-id: http://voip.null.ro/svn/yate@3618 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 10:26:16 +00:00
paulc 30d87dd382 Implemented load sharing between linksets.
git-svn-id: http://voip.null.ro/svn/yate@3617 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 08:10:34 +00:00
paulc 400a8135f1 Added support for specifying a SLS right shift for balancing between linksets.
git-svn-id: http://voip.null.ro/svn/yate@3615 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 05:08:16 +00:00
paulc 54612c3ca7 By default accept SNM messages only from adjacent nodes.
git-svn-id: http://voip.null.ro/svn/yate@3614 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 04:25:25 +00:00
paulc 3c35a5505b 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://voip.null.ro/svn/yate@3613 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 03:11:10 +00:00
marian 76e918e444 Fixed Redirection information encoder: copy all message data in msu buffer.
git-svn-id: http://voip.null.ro/svn/yate@3612 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 20:18:00 +00:00
paulc 483a92682d Fixed the UPU and TFP generation logic.
git-svn-id: http://voip.null.ro/svn/yate@3611 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 16:39:48 +00:00
paulc b1266633a2 Removed the useless separate SS7Maintenance user part.
git-svn-id: http://voip.null.ro/svn/yate@3610 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 14:09:51 +00:00
paulc b1794381b0 Added capability to periodically poll neighboring STPs for prohibited and restricted routes.
git-svn-id: http://voip.null.ro/svn/yate@3608 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 13:36:16 +00:00
paulc 7ba4caaa60 Add received address and backwards address to the decoded SNM parameters.
Added decoding capability for route set test messages.


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


git-svn-id: http://voip.null.ro/svn/yate@3606 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 11:17:52 +00:00
marian 4ded584163 Fixed bug: properly hexify a data buffer until a byte with extension bit set.
git-svn-id: http://voip.null.ro/svn/yate@3605 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 11:16:08 +00:00
paulc e62044fe1c Added API so a linkset can request uninhibition if running out of cative links.
git-svn-id: http://voip.null.ro/svn/yate@3604 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 10:55:39 +00:00
paulc f9ae4fccc2 Check the existence of the link for all link related Management messages.
git-svn-id: http://voip.null.ro/svn/yate@3603 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 10:09:12 +00:00
paulc f294620e72 Count separately the maintenance checked but inactive links to better notice changes in link states.
git-svn-id: http://voip.null.ro/svn/yate@3602 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 09:42:55 +00:00
marian 8ca79e4a63 Don't terminate incoming calls when blocking for maintenance reason (just make a repeat attempt).
git-svn-id: http://voip.null.ro/svn/yate@3601 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 09:25:27 +00:00
paulc bd026977ac 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://voip.null.ro/svn/yate@3600 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 08:50:45 +00:00
marian 49b970317a Added option used to ignore unknown digit encoding in numbers (defaults to true).
git-svn-id: http://voip.null.ro/svn/yate@3599 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 07:56:50 +00:00
paulc 1b3c212388 Send a TFP when in STP mode a MSU is received for an unknown destination.
git-svn-id: http://voip.null.ro/svn/yate@3597 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 05:27:21 +00:00
paulc a8cfc57f2a 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://voip.null.ro/svn/yate@3596 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 04:41:27 +00:00
paulc 9759d9957a Put the local point code in the OPC of the UPU, was misrepresenting the source.
git-svn-id: http://voip.null.ro/svn/yate@3595 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 04:04:17 +00:00
marian 3f7398adfb Avoid generating 2 release events (memory leak).
git-svn-id: http://voip.null.ro/svn/yate@3594 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 01:16:06 +00:00
marian 4c0f81ea14 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://voip.null.ro/svn/yate@3593 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 01:03:35 +00:00
marian a67cb1b0e0 Don't send cause in RLC response sent by the ISUP call.
git-svn-id: http://voip.null.ro/svn/yate@3592 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 00:26:15 +00:00
marian 90c75af969 Handle unexpected message received for non test calls in early state.
git-svn-id: http://voip.null.ro/svn/yate@3591 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 00:19:46 +00:00
marian b70a6b56b1 Always handle message compatibility flags (ignore transit/end node flag).
git-svn-id: http://voip.null.ro/svn/yate@3590 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-30 22:54:07 +00:00
marian 0f5674f9db Fixed circuit reserve with even/odd restriction.
git-svn-id: http://voip.null.ro/svn/yate@3589 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-30 22:46:40 +00:00
marian 713e97154d Added static method to SignallingTimer used to retrieve an interval from a list of parameters. Implemented T9 timer in ISUP.
git-svn-id: http://voip.null.ro/svn/yate@3588 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-30 20:59:20 +00:00
paulc ba2df0cafe When the link is deactivated pass multiple time through the notify handler so it gets a chance to fix the sequence.
git-svn-id: http://voip.null.ro/svn/yate@3587 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-30 13:20:59 +00:00
paulc 4c43166621 Properly handle Link Forced Uninhibit but keep the timer running so the LIA response is matched.
git-svn-id: http://voip.null.ro/svn/yate@3586 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-30 12:56:35 +00:00
paulc 1bdd747853 Removed matching by packet length, label and type are enough.
git-svn-id: http://voip.null.ro/svn/yate@3585 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-30 12:35:30 +00:00
paulc 4798bece83 Added a router method to query the inhibit status of a link.
Added link inhibit and uninhibit timers.


git-svn-id: http://voip.null.ro/svn/yate@3584 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-30 12:16:53 +00:00
paulc ef13054dcc Make sure we don't attempt to recover the sequence from a never aligned link.
git-svn-id: http://voip.null.ro/svn/yate@3583 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-30 09:48:19 +00:00
paulc a20652bb3a Always use the Inactive flag to track if CBD or COO must be sent.
Added more inhibit flags related debugging.


git-svn-id: http://voip.null.ro/svn/yate@3582 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-30 09:47:18 +00:00
paulc fbb0542530 If no CBD could be sent on any alternative link activate the current link anyway.
git-svn-id: http://voip.null.ro/svn/yate@3581 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-30 08:59:39 +00:00
paulc 5b18da6dd7 Pause and resume an operational link that was set Inactive (by receiving a changeover while operational).
git-svn-id: http://voip.null.ro/svn/yate@3580 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-30 07:04:21 +00:00
paulc 2a275d8f78 Refuse to postpone an exact duplicate of a SNM message.
git-svn-id: http://voip.null.ro/svn/yate@3579 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-30 07:00:22 +00:00
paulc 03f09a2bfe Fixed M2UA realignment after failure, does not interfere with explicit local pause.
git-svn-id: http://voip.null.ro/svn/yate@3578 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-30 05:07:48 +00:00
paulc 9edaa19c5d Make sure we initiate link changeover and changeback as required.
Fixed the adjustment of delayed sequence numbers.


git-svn-id: http://voip.null.ro/svn/yate@3577 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-30 04:50:16 +00:00
paulc a1c7c32eea Transmit a COA if sequence is available instead of postponing an ECA.
git-svn-id: http://voip.null.ro/svn/yate@3576 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-30 03:39:00 +00:00
marian 7844b4a5c1 Terminate calls when resetting a circuit at remote request, except for outgoing calls in Setup state.
git-svn-id: http://voip.null.ro/svn/yate@3575 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-29 22:18:43 +00:00
marian a51848b53e The ISUP user part is now sending an UPT when user part unavailable is received from remote user part and UPT is not disabled from configuration.
git-svn-id: http://voip.null.ro/svn/yate@3574 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-29 22:03:15 +00:00
marian 788fd73731 Release previous circuit of a an existing call before re-sending the initial address message.
git-svn-id: http://voip.null.ro/svn/yate@3573 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-29 21:43:07 +00:00
paulc b6e927ad2e Added method so User Part Unavailable notifications can be received from Management.
git-svn-id: http://voip.null.ro/svn/yate@3572 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-29 21:28:10 +00:00
marian f14d8b6197 Don't display the M2PA ack message if message dump was disabled.
git-svn-id: http://voip.null.ro/svn/yate@3571 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-29 21:09:37 +00:00