Commit Graph

41 Commits

Author SHA1 Message Date
paulc 18e10bfd69 Changed license terms in each source file to reference an external file.
git-svn-id: http://voip.null.ro/svn/yate@5609 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 13:38:10 +00:00
andrei f8944670c6 Differentiate "No component could process the command" and "The component failed to process the command" in rmanager control output.
git-svn-id: http://voip.null.ro/svn/yate@5396 acf43c95-373e-0410-b603-e72c3f656dc1
2013-02-08 15:23:06 +00:00
andrei 33ba0e29fc Fixed the way ysig components are initialized.
git-svn-id: http://voip.null.ro/svn/yate@5336 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-22 08:50:51 +00:00
paulc 1acbc5ba04 Added default type in SignallingComponent constructor.
git-svn-id: http://voip.null.ro/svn/yate@5099 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-07 10:27:45 +00:00
paulc 52acdfce61 When a SS7 link goes down report in the event how long it was up.
git-svn-id: http://voip.null.ro/svn/yate@5098 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-07 08:28:59 +00:00
paulc 02e0eb3f7d Generate events when SS7 Layer2 status changes.
git-svn-id: http://voip.null.ro/svn/yate@4964 acf43c95-373e-0410-b603-e72c3f656dc1
2012-03-15 16:03:22 +00:00
paulc ee9229a986 Added ability to limit how much to try to acquire a non-critical mutex.
This should reduce contention during high load and the chances to deadlock.


git-svn-id: http://voip.null.ro/svn/yate@4950 acf43c95-373e-0410-b603-e72c3f656dc1
2012-03-02 16:01:45 +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 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 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 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 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 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 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
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 406ed1eb21 Changed the way MSU recovery and sequence retrieval work to accomodate the asynchronous nature of M2UA.
git-svn-id: http://voip.null.ro/svn/yate@3569 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-29 18:14:52 +00:00
paulc 2c0bda9106 Added an inline method to check specific inhibition flags of a link.
Changed a lot of debugging messages and levels to improve readability.


git-svn-id: http://voip.null.ro/svn/yate@3548 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-27 12:22:41 +00:00
paulc 0194d1dff3 Added various methods for setting the link inhibition flags, use them from management to control changeover/changeback.
git-svn-id: http://voip.null.ro/svn/yate@3544 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-27 09:58:46 +00:00
paulc 172f551436 Allow disabling the automatic SS7 Layer 2 emergency alignment for testing purposes.
git-svn-id: http://voip.null.ro/svn/yate@3503 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-24 10:35:31 +00:00
paulc 9004620b5a Unified SS7 L2 emergency alignment decision code.
git-svn-id: http://voip.null.ro/svn/yate@3501 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-24 05:47:12 +00:00
paulc 0abe0e822a Added variable to keep last received MSU sequence number.
Add link's last FSN to COO message, make it ECO if FSN is not known.
Notify the router when each link changes status, emit CBD/COO/ECO if needed.
Merged branch paulc/pstn -c 3478


git-svn-id: http://voip.null.ro/svn/yate@3489 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-21 18:21:49 +00:00
paulc 78062c0dab Copy configuration subparameters to the child components.
git-svn-id: http://voip.null.ro/svn/yate@2812 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-31 14:43:22 +00:00
paulc 37059faf58 Added configuration parameter "autostart" so MTP2, MTP3 and Cisco SLT may be inhibited at startup.
Fixed the way Cisco SLT notifies the MTP3 about alignment status changes.


git-svn-id: http://voip.null.ro/svn/yate@2810 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-26 15:58:50 +00:00
paulc 9671245819 Fixed the component name matching in control operations.
Implemented control of MTP3 with notification to Layer 4 about operational changes caused by management inhibiting.


git-svn-id: http://voip.null.ro/svn/yate@2807 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-25 21:07:34 +00:00
paulc 6107af4987 Fixed entering the proving period.
Fixed synchronization of FIB.
Added a T2 timer - just a mild warning, Yate keeps trying.
Added several abnormality generation controls for making tests.


git-svn-id: http://voip.null.ro/svn/yate@2784 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-11 21:57:56 +00:00
paulc da81e205c9 Implemented basic control operation for SS7 Layer 2.
git-svn-id: http://voip.null.ro/svn/yate@2771 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-28 10:51:50 +00:00
paulc c7af6cdf7c Call txPacket instead of transmitPacket so outbound MTP2 messages are written to dump.
git-svn-id: http://voip.null.ro/svn/yate@2671 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 13:31:29 +00:00
paulc e06c3f3a33 Enable the SS7 L1 interface after being configured.
Slow down LSSU generation on FISU reception when unaligned as we'll flood the buffer since maximum FISU rate is greater than LSSU.


git-svn-id: http://voip.null.ro/svn/yate@2661 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-28 17:52:27 +00:00
paulc a46886c059 Major rewrite of signalling components creation and configuration.
The creation of subcomponents is offloaded to each component to allow for proper building of the component stack.


git-svn-id: http://voip.null.ro/svn/yate@2650 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-26 13:43:24 +00:00
paulc c9668b3a02 Reimplemented SS7MTP2::getObject so both SS7Layer2 and SignallingReceiver can be reached.
git-svn-id: http://voip.null.ro/svn/yate@2519 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-10 11:26:50 +00:00
paulc 507c9c7094 Do not send repeatedly LSSU when MTP2 goes out of service.
git-svn-id: http://voip.null.ro/svn/yate@2350 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-18 18:55:48 +00:00
paulc a6040937b6 Fixed status transmitted in LSSU.
Fixed sequence numbers and acknowledge algorithm.
Fixed the MSU recover method, made it optional.


git-svn-id: http://voip.null.ro/svn/yate@2308 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-07 11:38:21 +00:00
paulc bbfd246675 Improved packet loss debug message to include remote FSN and local BSN.
git-svn-id: http://voip.null.ro/svn/yate@2306 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-06 16:25:50 +00:00
paulc 8dee2667b0 MTP2 repeat packet request is now configurable.
Added timer used to control FISU/LSSU packets transmission. 


git-svn-id: http://voip.null.ro/svn/yate@2294 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-29 13:45:50 +00:00
paulc e3c8137dbf Unified dump file parameter name (layer2/layer3) between ISDN and SS7.
File type can be modified by extension (.hex/.txt/.raw)
Documented dump files in ysigchan.conf


git-svn-id: http://voip.null.ro/svn/yate@2211 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-18 14:18:25 +00:00
paulc c60f1b10fb Implemented generic signalling component control mechanism.
Protocol data dumping capability for several L2 and L3 components.
Data dumpers can be set at runtime from rmanager command with completion.


git-svn-id: http://voip.null.ro/svn/yate@2210 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-18 14:05:26 +00:00
marian 9cc1aee474 Dump MSU content to output when asked to send one.
git-svn-id: http://voip.null.ro/svn/yate@1774 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-13 08:26:08 +00:00
marian bc81ed4cc7 Added new files. Updated the old ones
git-svn-id: http://voip.null.ro/svn/yate@1488 acf43c95-373e-0410-b603-e72c3f656dc1
2007-11-26 13:50:52 +00:00
marian e39b1d5739 Renamed library header. Updated sources and makefile to reflect the changes
git-svn-id: http://voip.null.ro/svn/yate@1487 acf43c95-373e-0410-b603-e72c3f656dc1
2007-11-26 13:01:04 +00:00
paulc b30c869a4e Directory reorder #2
git-svn-id: http://voip.null.ro/svn/yate@1475 acf43c95-373e-0410-b603-e72c3f656dc1
2007-11-15 22:21:43 +00:00