Commit Graph

34 Commits

Author SHA1 Message Date
marian df23b1edd2 SS7Layer2 is now notifying its user on timer tick to avoid deadlocks. Make sure all descendents are calling SS7Layer2::timerTick().
git-svn-id: http://yate.null.ro/svn/yate/trunk@4481 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-12 09:17:08 +00:00
paulc 4325352987 Optimized const String usage in the ysig library.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4428 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-03 14:25:17 +00:00
paulc 13e01d2139 Make the MTP2 error rate monitor more closely follow Q.703 10.2 and 10.3.
The error threshold of a proven link can be configured.
It is possible to simulate receiving error packets.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4352 acf43c95-373e-0410-b603-e72c3f656dc1
2011-04-29 15:27:27 +00:00
paulc 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 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 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 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
paulc c14d9a1a47 Pause and resume an operational link that was set Inactive (by receiving a changeover while operational).
git-svn-id: http://yate.null.ro/svn/yate/trunk@3580 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-30 07:04:21 +00:00
paulc 11419dded4 Changed the way MSU recovery and sequence retrieval work to accomodate the asynchronous nature of M2UA.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3569 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-29 18:14:52 +00:00
paulc 385caf375c 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://yate.null.ro/svn/yate/trunk@3548 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-27 12:22:41 +00:00
paulc af2c92f825 Added various methods for setting the link inhibition flags, use them from management to control changeover/changeback.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3544 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-27 09:58:46 +00:00
paulc 9bdf2a32b0 Allow disabling the automatic SS7 Layer 2 emergency alignment for testing purposes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3503 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-24 10:35:31 +00:00
paulc 02c08b505a Unified SS7 L2 emergency alignment decision code.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3501 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-24 05:47:12 +00:00
paulc 85ed61a156 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://yate.null.ro/svn/yate/trunk@3489 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-21 18:21:49 +00:00
paulc 5d8ff98ac0 Copy configuration subparameters to the child components.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2812 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-31 14:43:22 +00:00
paulc 6738d7bce0 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://yate.null.ro/svn/yate/trunk@2810 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-26 15:58:50 +00:00
paulc ed4762b3f7 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://yate.null.ro/svn/yate/trunk@2807 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-25 21:07:34 +00:00
paulc b25e9349fd 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://yate.null.ro/svn/yate/trunk@2784 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-11 21:57:56 +00:00
paulc cf8adabc1d Implemented basic control operation for SS7 Layer 2.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2771 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-28 10:51:50 +00:00
paulc 0aa90824b3 Call txPacket instead of transmitPacket so outbound MTP2 messages are written to dump.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2671 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 13:31:29 +00:00
paulc cdb6350c70 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://yate.null.ro/svn/yate/trunk@2661 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-28 17:52:27 +00:00
paulc 0a6be5b4d1 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://yate.null.ro/svn/yate/trunk@2650 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-26 13:43:24 +00:00
paulc 21dd9e693e Reimplemented SS7MTP2::getObject so both SS7Layer2 and SignallingReceiver can be reached.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2519 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-10 11:26:50 +00:00
paulc 4c2136553a Do not send repeatedly LSSU when MTP2 goes out of service.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2350 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-18 18:55:48 +00:00
paulc cb7bcea0eb Fixed status transmitted in LSSU.
Fixed sequence numbers and acknowledge algorithm.
Fixed the MSU recover method, made it optional.


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


git-svn-id: http://yate.null.ro/svn/yate/trunk@2294 acf43c95-373e-0410-b603-e72c3f656dc1
2008-10-29 13:45:50 +00:00
paulc 4fc327d0cb 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://yate.null.ro/svn/yate/trunk@2211 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-18 14:18:25 +00:00
paulc 1d2788d89b 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://yate.null.ro/svn/yate/trunk@2210 acf43c95-373e-0410-b603-e72c3f656dc1
2008-09-18 14:05:26 +00:00
marian deddf944cc Dump MSU content to output when asked to send one.
git-svn-id: http://yate.null.ro/svn/yate/trunk@1774 acf43c95-373e-0410-b603-e72c3f656dc1
2008-03-13 08:26:08 +00:00
marian a3b824733f Added new files. Updated the old ones
git-svn-id: http://yate.null.ro/svn/yate/trunk@1488 acf43c95-373e-0410-b603-e72c3f656dc1
2007-11-26 13:50:52 +00:00
marian 5ab07110b0 Renamed library header. Updated sources and makefile to reflect the changes
git-svn-id: http://yate.null.ro/svn/yate/trunk@1487 acf43c95-373e-0410-b603-e72c3f656dc1
2007-11-26 13:01:04 +00:00
paulc dc7b6f93d0 Directory reorder #2
git-svn-id: http://yate.null.ro/svn/yate/trunk@1475 acf43c95-373e-0410-b603-e72c3f656dc1
2007-11-15 22:21:43 +00:00