Commit Graph

692 Commits

Author SHA1 Message Date
paulc 642d5d44bf Fixed reassembly of fragmented SCCP messages.
git-svn-id: http://voip.null.ro/svn/yate@4740 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-07 14:58:45 +00:00
paulc c099d900ed Fixed a printf-style format in DEBUG compile.
git-svn-id: http://voip.null.ro/svn/yate@4739 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-07 12:40:49 +00:00
paulc 48999aca12 Changed the MTP3 logic to auto-activate a link that is accidentally inactive on MSU reception.
Added MTP3 troubleshooting parameter "inhibit" to manually control link inhibit flags.


git-svn-id: http://voip.null.ro/svn/yate@4738 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-06 17:49:24 +00:00
paulc 4b2059bee9 Add a default route=ssn in CallingPartyAddress only if it wasn't explicitely set.
git-svn-id: http://voip.null.ro/svn/yate@4736 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-05 14:15:32 +00:00
paulc 50b98993b8 Do not store the SLS of the TCAP dialog, let SCCP add one if TCAP user did not set it.
git-svn-id: http://voip.null.ro/svn/yate@4735 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-05 08:55:56 +00:00
paulc a8f48d7f9b Always use the SLS from the routing label in the SCCP User part.
Create a random SLS for class 0 messages and when missing for class 1 (sequenced).


git-svn-id: http://voip.null.ro/svn/yate@4734 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-05 08:54:24 +00:00
paulc 1762848595 Fixed a forever loop that sometimes blocked SS7 management on reception of LUN.
git-svn-id: http://voip.null.ro/svn/yate@4732 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-30 19:14:04 +00:00
oana 5d3308fa81 Bug fix: don't consider operation code as mandatory parameter while decoding ReturnResult components.
git-svn-id: http://voip.null.ro/svn/yate@4731 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-30 14:07:45 +00:00
andrei c524a4e688 Use XUDT message to transmit segmented data if we do not support LUDT.
git-svn-id: http://voip.null.ro/svn/yate@4729 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-30 10:58:56 +00:00
andrei 0ac5de0981 Logic bug fixed!
Do not modify RemotePC if a GT was translated for a local SCCP user.


git-svn-id: http://voip.null.ro/svn/yate@4723 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-24 12:53:33 +00:00
oana a74d487a29 Don't transform component error codes into internal error values.
git-svn-id: http://voip.null.ro/svn/yate@4717 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-22 14:54:10 +00:00
andrei 5edbcf5d91 Bug Fixed!
Set odd/even flag properly in nature of address octet.


git-svn-id: http://voip.null.ro/svn/yate@4710 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-16 16:37:04 +00:00
andrei c0a4726667 Check if we have a valid pointcode before routing a sccp message.
git-svn-id: http://voip.null.ro/svn/yate@4709 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-16 16:01:28 +00:00
oana dcb2e08841 Don't set RemotePC, CalledPartyAddress.ssn or CallingPartyAddress.ssn if not set in configuration.
git-svn-id: http://voip.null.ro/svn/yate@4708 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-16 15:44:13 +00:00
oana 637fafacba Store MTP parameters for addressing. Add them when building a message for SCCP. The default_remote_pointcode configuration now sets RemotePC for MTP3, not the pointcode for CalledPartyAddress.
git-svn-id: http://voip.null.ro/svn/yate@4705 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-16 14:11:09 +00:00
andrei 5a50274611 Bug fixed!
Cast message data pointer to unsigned char* to avoid integer wrong value assigning.


git-svn-id: http://voip.null.ro/svn/yate@4704 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-16 10:55:18 +00:00
oana 7933116f4f Added ITU TCAP support.
git-svn-id: http://voip.null.ro/svn/yate@4692 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-10 16:10:05 +00:00
oana ec40e6876c Prettify TCAP classes : add empty line between method definitions in TCAP classes.
git-svn-id: http://voip.null.ro/svn/yate@4691 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-10 15:27:44 +00:00
oana c03df0edda Don't check for timed out components when the transaction is in idle state. Add transaction data for transactions with pre-arranged end that have timed out when notifying the user.
git-svn-id: http://voip.null.ro/svn/yate@4690 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-10 15:11:39 +00:00
oana 44d6cc5a8a Properly initialize transaction mutex. Ensure that transaction data is always protected when accessed.
git-svn-id: http://voip.null.ro/svn/yate@4689 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-10 14:44:22 +00:00
oana 2c227191ca Bug fix: start component indexing from 1 when requesting the data for rejected/timed out components. Set the count for timed out components.
git-svn-id: http://voip.null.ro/svn/yate@4688 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-10 14:31:19 +00:00
oana 05ec0eaf94 Always use internal abstract TCAP errors in decoded TCAP messages. Added functions to obtain the protocol error value from TCAP abstract error and vice versa.
git-svn-id: http://voip.null.ro/svn/yate@4686 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-10 14:18:47 +00:00
marian 39b9f0a416 Fixed bug: encode cause code if one is given for all coding standards.
git-svn-id: http://voip.null.ro/svn/yate@4660 acf43c95-373e-0410-b603-e72c3f656dc1
2011-10-28 15:00:13 +00:00
marian 7c156d7c47 Fixed encoding of transfer mode and parameter coding values.
git-svn-id: http://voip.null.ro/svn/yate@4659 acf43c95-373e-0410-b603-e72c3f656dc1
2011-10-28 14:48:17 +00:00
paulc 5059888d9d Got rid of unused class SS7ASP.
git-svn-id: http://voip.null.ro/svn/yate@4637 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-27 23:37:53 +00:00
marian b165602483 Detach the management when the router is destroyed.
git-svn-id: http://voip.null.ro/svn/yate@4635 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-26 14:22:01 +00:00
marian 20ddfc28c5 Check for controller verify event before call or circuit events.
git-svn-id: http://voip.null.ro/svn/yate@4633 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-23 14:57:04 +00:00
marian 3a0d1188c9 Added isup circuits save command.
git-svn-id: http://voip.null.ro/svn/yate@4632 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-23 14:38:49 +00:00
marian fe77b33a96 Circuit (un)block command can now be used to change remote side of the circuit.
git-svn-id: http://voip.null.ro/svn/yate@4630 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-23 14:09:10 +00:00
oana 1ef288b469 Changed the way addressing parameters are configured and given to SCCP and TCAP. Added possibility to add addressing parameters from call.route.
git-svn-id: http://voip.null.ro/svn/yate@4625 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-20 11:55:58 +00:00
andrei 280f209f2e Fill CallingPartyAddress.pointcode parameter with local sccp pointcode if requested by user.
git-svn-id: http://voip.null.ro/svn/yate@4621 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-19 12:13:24 +00:00
andrei 0007b3ef03 Unify sccp encoding scheme bcd-odd, bcd-even in single bcd encoding and let sccp determine if the number has odd or even number of digits.
git-svn-id: http://voip.null.ro/svn/yate@4620 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-19 12:09:51 +00:00
andrei 757ac36514 Fixed SS7Layer4 initialization.
git-svn-id: http://voip.null.ro/svn/yate@4619 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-19 10:05:42 +00:00
paulc 78db410241 The "transfer silent" mode or the SS7 router can be controlled at any time.
git-svn-id: http://voip.null.ro/svn/yate@4618 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-16 12:06:34 +00:00
oana 3b224a6f40 Added missing Windows DLL export declarations to TCAP classes.
git-svn-id: http://voip.null.ro/svn/yate@4605 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-14 15:35:21 +00:00
oana 5bafe96ba4 Keep transaction IDs as hex strings (removes uses of htonl).
git-svn-id: http://voip.null.ro/svn/yate@4603 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-14 14:57:07 +00:00
oana b17f75a817 Removed compiler warnings.
git-svn-id: http://voip.null.ro/svn/yate@4600 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-14 10:40:46 +00:00
oana 172dfa58c3 Fixed building the names for address parameters.
git-svn-id: http://voip.null.ro/svn/yate@4598 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-13 11:56:19 +00:00
oana 0e6ef45bd6 Fixed some debug information messages.
git-svn-id: http://voip.null.ro/svn/yate@4597 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-12 14:53:57 +00:00
oana ab22c48811 Fixed include for ASN headers.
git-svn-id: http://voip.null.ro/svn/yate@4595 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-12 13:10:37 +00:00
oana 07cedec934 Added TCAP ANSI support.
git-svn-id: http://voip.null.ro/svn/yate@4594 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-12 12:34:40 +00:00
andrei 7f5e2e5e88 Added SCCP support.
git-svn-id: http://voip.null.ro/svn/yate@4590 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-09 12:43:59 +00:00
andrei d6d45acc93 Notify L3Users when a route state has changed.
git-svn-id: http://voip.null.ro/svn/yate@4576 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-29 12:14:32 +00:00
marian 757e87c271 Fixed bug: use referenced SS7ISUPCall pointers when the call controller is not locked.
git-svn-id: http://voip.null.ro/svn/yate@4570 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-25 15:13:33 +00:00
paulc 04f7e9d36b Destruction of SS7 User Parts detaches from network/router in the base class.
Fixes crash when removing a Test Part at runtime.


git-svn-id: http://voip.null.ro/svn/yate@4569 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-25 10:02:56 +00:00
paulc d0571280e6 Signaling engine can return existing component without referencing it.
Reference the SS7Router only when it's created allowing it to be destroyed at shutdown.


git-svn-id: http://voip.null.ro/svn/yate@4568 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-25 09:46:36 +00:00
paulc ed388c9c56 Added separate mutex for MTP transmit statistics, avoids a deadlock.
git-svn-id: http://voip.null.ro/svn/yate@4567 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-25 09:10:14 +00:00
andrei a2b2595631 Added wait out of service timer to allow m2pa endpoints to go out of service and to stop processing delayed link status messages.
Added strict m2pa link status messages process method.


git-svn-id: http://voip.null.ro/svn/yate@4547 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-18 14:15:25 +00:00
andrei f390a0ff0a Do not restart t2 timer when retransmit Alignment state.
Send OutOfService and Align when aborting alignment on t2 timeout


git-svn-id: http://voip.null.ro/svn/yate@4517 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-21 09:51:28 +00:00
paulc cf00f2a3db Added more specific channel-congestion and switch-congestion cause aliases.
git-svn-id: http://voip.null.ro/svn/yate@4514 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-19 15:20:55 +00:00
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