paulc
dc09542c75
Added an ISUP IAM parameter mangling module that alters messages transferred in STP mode.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3644 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-09 09:22:58 +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
paulc
37f4995248
Dump sent SLTM packets to capture file.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3642 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-08 13:42:53 +00:00
paulc
1eedfcf920
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://yate.null.ro/svn/yate/trunk@3641 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-08 12:34:35 +00:00
paulc
830017046d
Fix for several infrequent memory leaks.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3640 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-08 11:28:22 +00:00
paulc
3b475a6c7c
Call the inherited destroyed() method of SLT so it removes itself from the SignallingEngine.
...
Fixes a double deletion crash on exit.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3639 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-08 11:27:43 +00:00
paulc
a1c14360ec
Added static method to retrieve (and possibly create) the primary instance of SignallingEngine.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3638 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-07 16:07:44 +00:00
paulc
20d7990c5f
Enabled abnormal case messages in non-debug mode.
...
Added troubleshooting information to error messages.
Fixed spelling in a few places.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3637 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-07 13:48:06 +00:00
paulc
677181d65c
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://yate.null.ro/svn/yate/trunk@3636 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 16:20:57 +00:00
paulc
bc7cfa0b75
Send TFP for unexpected packets through SS7Management, support Transfer prohibited inhibition timer (Q.704 T8).
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3635 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 14:57:09 +00:00
paulc
ec365a11cf
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://yate.null.ro/svn/yate/trunk@3634 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 13:45:15 +00:00
paulc
7976afdc16
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://yate.null.ro/svn/yate/trunk@3633 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 09:59:28 +00:00
paulc
99f48bbdae
Do not send even SNM on an inhibited link.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3632 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 09:44:31 +00:00
paulc
7de0a58622
Initiate linkset emergency restore procedures only if link count worsened.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3631 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 08:48:22 +00:00
paulc
fa96b8ee16
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://yate.null.ro/svn/yate/trunk@3630 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 04:52:18 +00:00
paulc
01e668f89c
Perform changeover/changeback on another linkset if required, rely on time sequence if that one fails too.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3629 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 04:41:09 +00:00
paulc
19b491b3ae
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://yate.null.ro/svn/yate/trunk@3628 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 04:30:10 +00:00
paulc
376ef6b69a
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://yate.null.ro/svn/yate/trunk@3627 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 03:49:58 +00:00
paulc
6dc9b19eae
Changed some debug levels to reflect their importance and frequence.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3626 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 03:09:22 +00:00
paulc
9f88eed54a
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://yate.null.ro/svn/yate/trunk@3625 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-02 15:41:26 +00:00
paulc
6a9fd57136
Made the default MTP test timer one second and not reload it on initialize.
...
This was driving me crazy.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3624 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 21:21:43 +00:00
paulc
4e5af768a3
Pass the required route state to SS7Route::transmitMSU so we don't attempt to transmit on a prohibited route.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3623 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 21:05:12 +00:00
paulc
6c3190165e
Fixed routing bug introduced in Rev 3617 - never send a packet back to the receiving linkset.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3622 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 20:17:49 +00:00
paulc
1b88f5e04a
Added SLS rotation and received sequence checking to the MTP user part.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3621 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 19:42:50 +00:00
paulc
a5714341b1
Fixed TRA generation and load sharing (must always use adjacent network for SNM and MTN).
...
Added more debigging information.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3620 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 14:16:06 +00:00
paulc
1c176bb1cc
Added support for reporting route congestion.
...
Detection is currently implemented only on SIGTRAN M2UA.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3619 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 12:05:55 +00:00
paulc
68e38ecffc
Set routes per network the STP is located, combine values to create a best state.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3618 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 10:26:16 +00:00
paulc
850e531688
Implemented load sharing between linksets.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3617 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 08:10:34 +00:00
paulc
266bf4cf0f
Allow a circular offset of the items in a ListIterator so all elements are iterated but starting with a specific one.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3616 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 07:50:57 +00:00
paulc
419d8d13f8
Added support for specifying a SLS right shift for balancing between linksets.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3615 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 05:08:16 +00:00
paulc
fd25f2f795
By default accept SNM messages only from adjacent nodes.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3614 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 04:25:25 +00:00
paulc
a94e0f821a
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://yate.null.ro/svn/yate/trunk@3613 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 03:11:10 +00:00
marian
e762f5ab7a
Fixed Redirection information encoder: copy all message data in msu buffer.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3612 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 20:18:00 +00:00
paulc
6fe71aaa18
Fixed the UPU and TFP generation logic.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3611 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 16:39:48 +00:00
paulc
a4b45256d6
Removed the useless separate SS7Maintenance user part.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3610 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 14:09:51 +00:00
paulc
f26c97265b
Documented newly added SS7 router settings in the sample config file.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3609 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 13:43:13 +00:00
paulc
f8da5977b9
Added capability to periodically poll neighboring STPs for prohibited and restricted routes.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3608 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 13:36:16 +00:00
paulc
556d5d352c
Add received address and backwards address to the decoded SNM parameters.
...
Added decoding capability for route set test messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3607 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 13:35:20 +00:00
paulc
da74d72c47
Catch LID, warn and stop LIN retransmissions.
...
Fixed emergency uninhibit, it must be sent only to adjacent nodes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3606 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 11:17:52 +00:00
marian
e22f84ce70
Fixed bug: properly hexify a data buffer until a byte with extension bit set.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3605 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 11:16:08 +00:00
paulc
babcbdd34f
Added API so a linkset can request uninhibition if running out of cative links.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3604 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 10:55:39 +00:00
paulc
bc51dcd9ed
Check the existence of the link for all link related Management messages.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3603 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 10:09:12 +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
marian
b9509582c7
Don't terminate incoming calls when blocking for maintenance reason (just make a repeat attempt).
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3601 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 09:25:27 +00:00
paulc
620292e3dd
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://yate.null.ro/svn/yate/trunk@3600 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 08:50:45 +00:00
marian
01c9367aee
Added option used to ignore unknown digit encoding in numbers (defaults to true).
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3599 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 07:56:50 +00:00
marian
9c27b2be37
Avoid setting twice the reason parameter of the chan.hangup message enqueued by a sig channel.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3598 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 07:26:56 +00:00
paulc
af2aefd0f6
Send a TFP when in STP mode a MSU is received for an unknown destination.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3597 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 05:27:21 +00:00
paulc
8eab6bb088
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://yate.null.ro/svn/yate/trunk@3596 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 04:41:27 +00:00
paulc
66a00e6523
Put the local point code in the OPC of the UPU, was misrepresenting the source.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3595 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 04:04:17 +00:00