Commit Graph

96 Commits

Author SHA1 Message Date
paulc c4c9e994f0 Renamed DebugGoOn to DebugCrit so it better matches its purpose.
Swapped order of DebugCall and DebugNote so DebugCall is less visible.
Changed default debug level to DebugNote.
Modified a few inadequate uses of DebugCrit.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6250 acf43c95-373e-0410-b603-e72c3f656dc1
2017-08-01 13:08:23 +00:00
paulc 37a72e4bc1 Added copyright notices to sources and scripts missing them.
Updated copyright notices for 2014.
Fixed end of lines in many files.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5755 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 11:42:17 +00:00
paulc cf5d0fd71a Changed license terms in each source file to reference an external file.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5609 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 13:38:10 +00:00
andrei 2a08c45703 Differentiate "No component could process the command" and "The component failed to process the command" in rmanager control output.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5396 acf43c95-373e-0410-b603-e72c3f656dc1
2013-02-08 15:23:06 +00:00
andrei 3dc84f2907 Fixed the way ysig components are initialized.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5336 acf43c95-373e-0410-b603-e72c3f656dc1
2012-11-22 08:50:51 +00:00
paulc ccc9ce224f Don't count the maintenance MSUs in the SS7 router.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5101 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-07 16:18:36 +00:00
paulc 11206e5e57 Added default type in SignallingComponent constructor.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5099 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-07 10:27:45 +00:00
paulc f5a1b2fdae Only display the DPC in missing route message, not the entire routing label.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5096 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-06 23:47:42 +00:00
paulc abb27cc76f Count the failed MSU transmission attempts.
Report the MSU statistics in "constrol ss7router show" command.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5092 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-06 20:55:28 +00:00
paulc 2186c58ec6 Improved debugging levels and text when sending SS7 messages or failing to.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5056 acf43c95-373e-0410-b603-e72c3f656dc1
2012-05-11 13:11:35 +00:00
paulc 1e5e891acf 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://yate.null.ro/svn/yate/trunk@4950 acf43c95-373e-0410-b603-e72c3f656dc1
2012-03-02 16:01:45 +00:00
andrei beb1cd1225 Added posibility to set maximum data size that can be transported on a specific route.
Improved SCCP segmentation process. The SCCP now detects the maximum amount of data that can fit in a SCCP  message.
Implemented SCCP message change procedures.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4828 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-31 11:50:30 +00:00
marian cf37e9e1aa Detach the management when the router is destroyed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4635 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-26 14:22:01 +00:00
paulc 9cd24f1471 The "transfer silent" mode or the SS7 router can be controlled at any time.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4618 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-16 12:06:34 +00:00
andrei 39e04bab35 Notify L3Users when a route state has changed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4576 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-29 12:14:32 +00:00
paulc 1548b62566 Added separate mutex for MTP transmit statistics, avoids a deadlock.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4567 acf43c95-373e-0410-b603-e72c3f656dc1
2011-08-25 09:10:14 +00:00
andrei e0c0626dfa Fixed memory leak. Destroy the msu extracted from reroute queue.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4466 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-29 08:07:18 +00:00
paulc ee8a77f2df 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://yate.null.ro/svn/yate/trunk@4455 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-15 12:45:57 +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 e31386d4a0 Added "netindicator" setting for linksets so it's no longer required to restrict types using netind2pctype.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4220 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-28 11:19:22 +00:00
paulc 72eb385818 Do not send back an UPU when receiving a call for on unequipped circuit.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4105 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-14 08:30:19 +00:00
paulc aa4328f069 Changed the order of local point code checks so a transparent STP can transfer a message not handled by a local user part.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4073 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-26 14:03:50 +00:00
paulc 3682c4bf7f Never advertise a point code from same linkset local address, it must be always allowed by TRA to adjacent node.
Such condition can happen in a nonstandard STP with multiple local point codes.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4071 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-26 09:31:30 +00:00
paulc a81cbca96b Prevent misrouting or inadvertently handling SS7 messages in silent transfer scenarios.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4067 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-25 15:31:42 +00:00
paulc 2c31e22e71 Added silent MSU transfer mode (STP without route advertising).
git-svn-id: http://yate.null.ro/svn/yate/trunk@3908 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-06 09:37:37 +00:00
paulc 653e3e14a2 Fixed the alternate route detection algorithm.
Always recompute all views including itself as in alternate routing a notification may be sent back.


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


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


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


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


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


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


git-svn-id: http://yate.null.ro/svn/yate/trunk@3742 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-21 13:53:06 +00:00
paulc eda7784881 Added capability of configuring explicit routes per MTP3 linkset.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3741 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-21 11:59:43 +00:00
paulc 36ebe8f40d Added a separate T19 timer, initialize T19 and T21 interval only once.
Start T21 at beginning of restart instead of a short one at end.


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


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


git-svn-id: http://yate.null.ro/svn/yate/trunk@3737 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 15:20:02 +00:00
paulc 73e83e3e10 Consistently set T21 = T20 + 4s in the SS7 restart procedure.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3736 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 11:35:14 +00:00
paulc 5c95e6059c Do not handle route set test messages while still in the restart procedure.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3735 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 11:31:11 +00:00
paulc b333789197 Properly clear the adjacent route(s) of a linkset that goes down.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3734 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 11:29:51 +00:00
paulc ce07f3745e Trigger time controlled rerouting when the availability of any linkset in a route changed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3733 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 09:57:57 +00:00
paulc 653558edea Fixed a route building bug introduced in Rev 3641 (2010-09-08).
Fixed route test querying that caused the changes above.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3729 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 16:23:36 +00:00
paulc 3b096f95ed Release the router lock before checking each reroute buffer to avoid deadlocks.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3727 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 13:41:46 +00:00
paulc 27fb658bb2 Added a reroute buffer used to implement T3 and T6 (missequencing avoidance).
Changed debug messages and levels to be easier to interpret the typical output.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3725 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 11:17:12 +00:00
paulc 1f5acf67b1 Send a link management SNM even on inhibited links if nothing else is available.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3721 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 04:30:53 +00:00
paulc 48e648c685 Added a timer to activate routes after restart or after a linkset got operational but sent no TRA.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3649 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-09 17:38:09 +00:00
paulc d8d4460bba Use L3Pointer only for storing linksets in routes, use new class L3ViewPtr to store linksets and their own view of the network in router.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3648 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-09 13:33:06 +00:00
paulc 230567ca1f Fixed a number of errors reported by the Visual C++ compiler.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3646 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-09 10:12:22 +00:00
paulc 4d9f4c092c Added setting to turn adjacent routes Allowed on first regular MSU received.
This allows interoperating with broken implementations that don't send TRA.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3643 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-08 13:44:17 +00:00