Commit Graph

692 Commits

Author SHA1 Message Date
paulc 0b335451a7 Restart T21 when a link goes up.
git-svn-id: http://voip.null.ro/svn/yate@3744 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-21 14:24:13 +00:00
paulc 7327ea7854 After silently allowing routes on T21 expiration send all TFx and TRA just like if received a TRA.
git-svn-id: http://voip.null.ro/svn/yate@3743 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-21 14:22:21 +00:00
paulc 373045e192 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://voip.null.ro/svn/yate@3742 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-21 13:53:06 +00:00
paulc 024add22c5 Added capability of configuring explicit routes per MTP3 linkset.
git-svn-id: http://voip.null.ro/svn/yate@3741 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-21 11:59:43 +00:00
paulc 0629159c34 Added an "available" command to ISUP so the remote user part can be enabled manually for testing.
git-svn-id: http://voip.null.ro/svn/yate@3740 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-21 09:38:20 +00:00
paulc 130cf665a1 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://voip.null.ro/svn/yate@3739 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-21 08:32:10 +00:00
paulc dd5ead5f12 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://voip.null.ro/svn/yate@3738 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 16:26:13 +00:00
paulc df9aadbed7 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://voip.null.ro/svn/yate@3737 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 15:20:02 +00:00
paulc 31fe65c5b1 Consistently set T21 = T20 + 4s in the SS7 restart procedure.
git-svn-id: http://voip.null.ro/svn/yate@3736 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 11:35:14 +00:00
paulc f2f8647c4f Do not handle route set test messages while still in the restart procedure.
git-svn-id: http://voip.null.ro/svn/yate@3735 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 11:31:11 +00:00
paulc cb2c28d2f8 Properly clear the adjacent route(s) of a linkset that goes down.
git-svn-id: http://voip.null.ro/svn/yate@3734 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 11:29:51 +00:00
paulc 9181b64439 Trigger time controlled rerouting when the availability of any linkset in a route changed.
git-svn-id: http://voip.null.ro/svn/yate@3733 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 09:57:57 +00:00
paulc 77a7a6da7b Added variable to warn only once that all links in a linkset are down.
Prevents flooding the logs with warnings if a linkset is down for a long time.


git-svn-id: http://voip.null.ro/svn/yate@3732 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 09:07:35 +00:00
paulc 8346fdf2d2 Added separate setting for enabling sending changeback and changeover between linksets.
This setting is disabled by default so time controlled diversion is used between linksets.


git-svn-id: http://voip.null.ro/svn/yate@3730 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-20 08:08:35 +00:00
paulc b43ef61320 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://voip.null.ro/svn/yate@3729 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 16:23:36 +00:00
paulc 079c85b713 Postpone the resuming of M2UA links after retrieval of sequence number to avoid flooding the gateway if we have many links (de)activating at once.
git-svn-id: http://voip.null.ro/svn/yate@3728 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 13:43:20 +00:00
paulc 74717acc85 Release the router lock before checking each reroute buffer to avoid deadlocks.
git-svn-id: http://voip.null.ro/svn/yate@3727 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 13:41:46 +00:00
paulc 25d7eb4016 Changed the way an incoming LUN removes pending LRT and LFU, there can be one of each pending.
git-svn-id: http://voip.null.ro/svn/yate@3726 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 12:53:41 +00:00
paulc 1959fa4adc 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://voip.null.ro/svn/yate@3725 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 11:17:12 +00:00
paulc bede083f28 Added a message when a link that is not in service is cycled because of maintenance test failure.
git-svn-id: http://voip.null.ro/svn/yate@3724 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 08:30:09 +00:00
paulc c2fc5e8f3d Added a debugging message before SS7 SNM sends out a message.
git-svn-id: http://voip.null.ro/svn/yate@3723 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 08:00:00 +00:00
paulc 9462db8c97 Link Force Uninhibit is sent with an 1200ms one-time retry (Q.704 T13).
git-svn-id: http://voip.null.ro/svn/yate@3722 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 06:50:48 +00:00
paulc 84983afd57 Send a link management SNM even on inhibited links if nothing else is available.
git-svn-id: http://voip.null.ro/svn/yate@3721 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-19 04:30:53 +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 1fd1b34744 In STP mode answer with TFP to SNM packets with unknown DPC.
git-svn-id: http://voip.null.ro/svn/yate@3719 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-18 15:58:06 +00:00
paulc 10d42410af Cycle a SS7 link that didn't answer to maintenance even if if was never in service.
git-svn-id: http://voip.null.ro/svn/yate@3718 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-18 15:49:48 +00:00
paulc f18ecfe2c4 Implemented emergency proving interval in M2PA as 1/16 of normal interval.
git-svn-id: http://voip.null.ro/svn/yate@3717 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-18 02:12:35 +00:00
paulc 48d4891f18 Added new parameter "forcealign" that controls if a link that fails maintenance
test should be realigned.
The "checklinks" and "forcealign" parameters can be changed from control operati
on.


git-svn-id: http://voip.null.ro/svn/yate@3716 acf43c95-373e-0410-b603-e72c3f656dc1
2010-10-18 01:57:06 +00:00
marian 78981fa5dc Drop temporary ISDN call lock before deleting a sent event: avoid stray pointer.
git-svn-id: http://voip.null.ro/svn/yate@3653 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-15 07:56:53 +00:00
paulc f54b99c6dc Added a timer to activate routes after restart or after a linkset got operational but sent no TRA.
git-svn-id: http://voip.null.ro/svn/yate@3649 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-09 17:38:09 +00:00
paulc 3a45ba811d 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://voip.null.ro/svn/yate@3648 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-09 13:33:06 +00:00
paulc b2cbd994a9 Fixed a number of errors reported by the Visual C++ compiler.
git-svn-id: http://voip.null.ro/svn/yate@3646 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-09 10:12:22 +00:00
paulc 4ed0a17cc9 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://voip.null.ro/svn/yate@3643 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-08 13:44:17 +00:00
paulc 559fe54330 Dump sent SLTM packets to capture file.
git-svn-id: http://voip.null.ro/svn/yate@3642 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-08 13:42:53 +00:00
paulc 5f72fd986b 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://voip.null.ro/svn/yate@3641 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-08 12:34:35 +00:00
paulc c2b49808ef Fix for several infrequent memory leaks.
git-svn-id: http://voip.null.ro/svn/yate@3640 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-08 11:28:22 +00:00
paulc f36ee7c73d Added static method to retrieve (and possibly create) the primary instance of SignallingEngine.
git-svn-id: http://voip.null.ro/svn/yate@3638 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-07 16:07:44 +00:00
paulc afaa3b190f 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://voip.null.ro/svn/yate@3636 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 16:20:57 +00:00
paulc b77016ae01 Send TFP for unexpected packets through SS7Management, support Transfer prohibited inhibition timer (Q.704 T8).
git-svn-id: http://voip.null.ro/svn/yate@3635 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 14:57:09 +00:00
paulc 5acaceaae6 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://voip.null.ro/svn/yate@3634 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 13:45:15 +00:00
paulc e1006baeb1 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://voip.null.ro/svn/yate@3633 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 09:59:28 +00:00
paulc e1dba54ac9 Do not send even SNM on an inhibited link.
git-svn-id: http://voip.null.ro/svn/yate@3632 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 09:44:31 +00:00
paulc 0b7166f289 Initiate linkset emergency restore procedures only if link count worsened.
git-svn-id: http://voip.null.ro/svn/yate@3631 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 08:48:22 +00:00
paulc 7d6d948a18 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://voip.null.ro/svn/yate@3630 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 04:52:18 +00:00
paulc 00b15d3703 Perform changeover/changeback on another linkset if required, rely on time sequence if that one fails too.
git-svn-id: http://voip.null.ro/svn/yate@3629 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 04:41:09 +00:00
paulc 9e3b8ef009 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://voip.null.ro/svn/yate@3628 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 04:30:10 +00:00
paulc bc6a3a2cdc 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://voip.null.ro/svn/yate@3627 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 03:49:58 +00:00
paulc 85866c22ff Changed some debug levels to reflect their importance and frequence.
git-svn-id: http://voip.null.ro/svn/yate@3626 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-03 03:09:22 +00:00
paulc e87d59878e 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://voip.null.ro/svn/yate@3625 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-02 15:41:26 +00:00
paulc 430d675968 Made the default MTP test timer one second and not reload it on initialize.
This was driving me crazy.


git-svn-id: http://voip.null.ro/svn/yate@3624 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 21:21:43 +00:00
paulc 4148a41c06 Pass the required route state to SS7Route::transmitMSU so we don't attempt to transmit on a prohibited route.
git-svn-id: http://voip.null.ro/svn/yate@3623 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 21:05:12 +00:00
paulc 4af4274b0d Fixed routing bug introduced in Rev 3617 - never send a packet back to the receiving linkset.
git-svn-id: http://voip.null.ro/svn/yate@3622 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 20:17:49 +00:00
paulc 69a8028ac6 Added SLS rotation and received sequence checking to the MTP user part.
git-svn-id: http://voip.null.ro/svn/yate@3621 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 19:42:50 +00:00
paulc 639492b673 Fixed TRA generation and load sharing (must always use adjacent network for SNM and MTN).
Added more debigging information.


git-svn-id: http://voip.null.ro/svn/yate@3620 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 14:16:06 +00:00
paulc 4f0488dc7c Added support for reporting route congestion.
Detection is currently implemented only on SIGTRAN M2UA.


git-svn-id: http://voip.null.ro/svn/yate@3619 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 12:05:55 +00:00
paulc f502fc92b3 Set routes per network the STP is located, combine values to create a best state.
git-svn-id: http://voip.null.ro/svn/yate@3618 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 10:26:16 +00:00
paulc 30d87dd382 Implemented load sharing between linksets.
git-svn-id: http://voip.null.ro/svn/yate@3617 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 08:10:34 +00:00
paulc 400a8135f1 Added support for specifying a SLS right shift for balancing between linksets.
git-svn-id: http://voip.null.ro/svn/yate@3615 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 05:08:16 +00:00
paulc 54612c3ca7 By default accept SNM messages only from adjacent nodes.
git-svn-id: http://voip.null.ro/svn/yate@3614 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 04:25:25 +00:00
paulc 3c35a5505b 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://voip.null.ro/svn/yate@3613 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-01 03:11:10 +00:00
marian 76e918e444 Fixed Redirection information encoder: copy all message data in msu buffer.
git-svn-id: http://voip.null.ro/svn/yate@3612 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 20:18:00 +00:00
paulc 483a92682d Fixed the UPU and TFP generation logic.
git-svn-id: http://voip.null.ro/svn/yate@3611 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 16:39:48 +00:00
paulc b1266633a2 Removed the useless separate SS7Maintenance user part.
git-svn-id: http://voip.null.ro/svn/yate@3610 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 14:09:51 +00:00
paulc b1794381b0 Added capability to periodically poll neighboring STPs for prohibited and restricted routes.
git-svn-id: http://voip.null.ro/svn/yate@3608 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 13:36:16 +00:00
paulc 7ba4caaa60 Add received address and backwards address to the decoded SNM parameters.
Added decoding capability for route set test messages.


git-svn-id: http://voip.null.ro/svn/yate@3607 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 13:35:20 +00:00
paulc fb59c1d65f Catch LID, warn and stop LIN retransmissions.
Fixed emergency uninhibit, it must be sent only to adjacent nodes.


git-svn-id: http://voip.null.ro/svn/yate@3606 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 11:17:52 +00:00
marian 4ded584163 Fixed bug: properly hexify a data buffer until a byte with extension bit set.
git-svn-id: http://voip.null.ro/svn/yate@3605 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 11:16:08 +00:00
paulc e62044fe1c Added API so a linkset can request uninhibition if running out of cative links.
git-svn-id: http://voip.null.ro/svn/yate@3604 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 10:55:39 +00:00
paulc f9ae4fccc2 Check the existence of the link for all link related Management messages.
git-svn-id: http://voip.null.ro/svn/yate@3603 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 10:09:12 +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
marian 8ca79e4a63 Don't terminate incoming calls when blocking for maintenance reason (just make a repeat attempt).
git-svn-id: http://voip.null.ro/svn/yate@3601 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 09:25:27 +00:00
paulc bd026977ac 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://voip.null.ro/svn/yate@3600 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 08:50:45 +00:00
marian 49b970317a Added option used to ignore unknown digit encoding in numbers (defaults to true).
git-svn-id: http://voip.null.ro/svn/yate@3599 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 07:56:50 +00:00
paulc 1b3c212388 Send a TFP when in STP mode a MSU is received for an unknown destination.
git-svn-id: http://voip.null.ro/svn/yate@3597 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 05:27:21 +00:00
paulc a8cfc57f2a 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://voip.null.ro/svn/yate@3596 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 04:41:27 +00:00
paulc 9759d9957a Put the local point code in the OPC of the UPU, was misrepresenting the source.
git-svn-id: http://voip.null.ro/svn/yate@3595 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 04:04:17 +00:00
marian 3f7398adfb Avoid generating 2 release events (memory leak).
git-svn-id: http://voip.null.ro/svn/yate@3594 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 01:16:06 +00:00
marian 4c0f81ea14 Replace circuits for outgoing calls in early state and terminate all other calls when circuits are blocked for hardware failure reason.
git-svn-id: http://voip.null.ro/svn/yate@3593 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 01:03:35 +00:00
marian a67cb1b0e0 Don't send cause in RLC response sent by the ISUP call.
git-svn-id: http://voip.null.ro/svn/yate@3592 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 00:26:15 +00:00
marian 90c75af969 Handle unexpected message received for non test calls in early state.
git-svn-id: http://voip.null.ro/svn/yate@3591 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-31 00:19:46 +00:00
marian b70a6b56b1 Always handle message compatibility flags (ignore transit/end node flag).
git-svn-id: http://voip.null.ro/svn/yate@3590 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-30 22:54:07 +00:00
marian 0f5674f9db Fixed circuit reserve with even/odd restriction.
git-svn-id: http://voip.null.ro/svn/yate@3589 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-30 22:46:40 +00:00
marian 713e97154d Added static method to SignallingTimer used to retrieve an interval from a list of parameters. Implemented T9 timer in ISUP.
git-svn-id: http://voip.null.ro/svn/yate@3588 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-30 20:59:20 +00:00
paulc ba2df0cafe When the link is deactivated pass multiple time through the notify handler so it gets a chance to fix the sequence.
git-svn-id: http://voip.null.ro/svn/yate@3587 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-30 13:20:59 +00:00
paulc 4c43166621 Properly handle Link Forced Uninhibit but keep the timer running so the LIA response is matched.
git-svn-id: http://voip.null.ro/svn/yate@3586 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-30 12:56:35 +00:00
paulc 1bdd747853 Removed matching by packet length, label and type are enough.
git-svn-id: http://voip.null.ro/svn/yate@3585 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-30 12:35:30 +00:00
paulc 4798bece83 Added a router method to query the inhibit status of a link.
Added link inhibit and uninhibit timers.


git-svn-id: http://voip.null.ro/svn/yate@3584 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-30 12:16:53 +00:00
paulc ef13054dcc Make sure we don't attempt to recover the sequence from a never aligned link.
git-svn-id: http://voip.null.ro/svn/yate@3583 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-30 09:48:19 +00:00
paulc a20652bb3a Always use the Inactive flag to track if CBD or COO must be sent.
Added more inhibit flags related debugging.


git-svn-id: http://voip.null.ro/svn/yate@3582 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-30 09:47:18 +00:00
paulc fbb0542530 If no CBD could be sent on any alternative link activate the current link anyway.
git-svn-id: http://voip.null.ro/svn/yate@3581 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-30 08:59:39 +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 2a275d8f78 Refuse to postpone an exact duplicate of a SNM message.
git-svn-id: http://voip.null.ro/svn/yate@3579 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-30 07:00:22 +00:00
paulc 03f09a2bfe Fixed M2UA realignment after failure, does not interfere with explicit local pause.
git-svn-id: http://voip.null.ro/svn/yate@3578 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-30 05:07:48 +00:00
paulc 9edaa19c5d Make sure we initiate link changeover and changeback as required.
Fixed the adjustment of delayed sequence numbers.


git-svn-id: http://voip.null.ro/svn/yate@3577 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-30 04:50:16 +00:00
paulc a1c7c32eea Transmit a COA if sequence is available instead of postponing an ECA.
git-svn-id: http://voip.null.ro/svn/yate@3576 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-30 03:39:00 +00:00
marian 7844b4a5c1 Terminate calls when resetting a circuit at remote request, except for outgoing calls in Setup state.
git-svn-id: http://voip.null.ro/svn/yate@3575 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-29 22:18:43 +00:00
marian a51848b53e The ISUP user part is now sending an UPT when user part unavailable is received from remote user part and UPT is not disabled from configuration.
git-svn-id: http://voip.null.ro/svn/yate@3574 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-29 22:03:15 +00:00
marian 788fd73731 Release previous circuit of a an existing call before re-sending the initial address message.
git-svn-id: http://voip.null.ro/svn/yate@3573 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-29 21:43:07 +00:00
paulc b6e927ad2e Added method so User Part Unavailable notifications can be received from Management.
git-svn-id: http://voip.null.ro/svn/yate@3572 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-29 21:28:10 +00:00
marian f14d8b6197 Don't display the M2PA ack message if message dump was disabled.
git-svn-id: http://voip.null.ro/svn/yate@3571 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-29 21:09:37 +00:00
paulc 8e37722d2b As soon as we retrieve a sequence number replace the pending ECA with a proper COA or XCA.
git-svn-id: http://voip.null.ro/svn/yate@3570 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-29 20:26:33 +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
marian 8ef2f97bdc Replace circuits (make an automatic repeat attempt) for outgoing calls in initial state when a blocking message is received from remote party.
git-svn-id: http://voip.null.ro/svn/yate@3568 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-29 16:30:10 +00:00
marian 1cb831f307 Avoid notifying the same hardware lock state on circuit alarm/no alarm notification.
git-svn-id: http://voip.null.ro/svn/yate@3567 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-29 15:57:18 +00:00
marian 8c5fc3fff2 Fixed call collision condition.
git-svn-id: http://voip.null.ro/svn/yate@3566 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-29 15:41:35 +00:00
marian 567f4e2ca1 Added method used to start a single circuit (un)blocking operation. Send circuit block message on previously blocked circuit when it is reset by the remote party.
git-svn-id: http://voip.null.ro/svn/yate@3565 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-29 14:47:54 +00:00
marian 4b87eab92a Fixed circuit (un)blocking flag check when processing (un)blocking command.
git-svn-id: http://voip.null.ro/svn/yate@3564 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-29 14:01:05 +00:00
marian 5df7c4c520 Fixed call release collisions. Just send RLC when receiving REL while call release is in progress.
git-svn-id: http://voip.null.ro/svn/yate@3563 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-29 13:21:38 +00:00
paulc a515b557ee Use a RefPointer for calling the component since the component list is unlocked.
git-svn-id: http://voip.null.ro/svn/yate@3562 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-29 13:10:36 +00:00
paulc aab389a813 Added a missing parameter to a debug call.
git-svn-id: http://voip.null.ro/svn/yate@3561 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-29 12:27:32 +00:00
paulc 295a20197a Use a ListIterator to timerTick the components without holding the engine locked.
Fixes a large number of deadlocks.


git-svn-id: http://voip.null.ro/svn/yate@3560 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-29 12:25:19 +00:00
marian 79b9067803 Drop circuit group (un)blocking requests/responses with unknown GroupSupervisionTypeIndicator value.
git-svn-id: http://voip.null.ro/svn/yate@3559 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-29 11:20:04 +00:00
marian e3c3386e4e Fixed message compatibility information interpretation.
git-svn-id: http://voip.null.ro/svn/yate@3558 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-28 23:54:29 +00:00
paulc 65bd9cb359 Allow using default port numbers in local and remote addresses in sigtransport.
It is now possible to specify a bind address (and possibly port) for connecting
streams.
Fixed a memory leak in sigtransport.


git-svn-id: http://voip.null.ro/svn/yate@3557 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-28 21:56:49 +00:00
marian 5bb873fd72 Make sure we try to decode all messages with mandatory parameters.
git-svn-id: http://voip.null.ro/svn/yate@3556 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-28 19:28:31 +00:00
marian b9a5f33d87 Restored replaced 'excess-digits' cause as alias for the new cause 'ported-number' to allow it to be sent to remote party.
git-svn-id: http://voip.null.ro/svn/yate@3555 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-28 18:57:29 +00:00
marian f52d564cfd Updated Q.850 cause dictionary.
git-svn-id: http://voip.null.ro/svn/yate@3554 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-28 14:08:25 +00:00
marian 0026dbf21d Changed isup default call release reason to 'interworking'.
git-svn-id: http://voip.null.ro/svn/yate@3553 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-27 14:19:17 +00:00
paulc 0cdcf17b92 Added special option to avoid inhibiting the last link in a linkset.
If a linkset becomes isolated try to forcibly uninhibit operational links.


git-svn-id: http://voip.null.ro/svn/yate@3552 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-27 13:40:28 +00:00
marian 53758d0a15 Fixed debug parameter bug.
git-svn-id: http://voip.null.ro/svn/yate@3550 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-27 13:09:06 +00:00
marian 6e72dd2ebb Make sure a release event is signaled to the upper layer when call release is initiated (avoid sending call release without notifying the upper layer).
git-svn-id: http://voip.null.ro/svn/yate@3549 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-27 13:07:27 +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
marian 790f8c0312 Implemented circuit group (un)blocking command. Fixed single circuit (un)blocking command: avoid adding requested circuit to other pending circuits.
git-svn-id: http://voip.null.ro/svn/yate@3547 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-27 11:33:58 +00:00
paulc 604319b723 Fixed some more code paths in the test user part.
git-svn-id: http://voip.null.ro/svn/yate@3546 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-27 10:39:06 +00:00
paulc 3c0dff769d Fixed the discrmination logic, it was breaking STP operation.
git-svn-id: http://voip.null.ro/svn/yate@3545 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-27 10:21:38 +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 2a443d7a3b Fixed MSU handling in SS7 Maintenance and UPU rejection in router.
Added some DDebug and XDebug to help troubleshooting the code.


git-svn-id: http://voip.null.ro/svn/yate@3543 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-27 08:00:41 +00:00
paulc 259e9096a4 Added a HandledMSU return value from receivedMSU so unavailability causes can be discriminated.
git-svn-id: http://voip.null.ro/svn/yate@3542 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-27 07:38:14 +00:00
paulc bf3f41ac15 Keep the link inhibition reasons as a bit map of flags.
git-svn-id: http://voip.null.ro/svn/yate@3541 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-27 04:52:18 +00:00
marian c719d52ce3 Fixed parameter compatibility handling. Handle all parameters (known parameters also). Gracefully terminate an existing call when processing the release call flag in parameter compatibility.
git-svn-id: http://voip.null.ro/svn/yate@3540 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-26 22:24:46 +00:00
marian 2f0ba83046 Gracefully release call (use REL instead of RLC) if termination is set.
git-svn-id: http://voip.null.ro/svn/yate@3539 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-26 21:58:34 +00:00
marian f6bac517af Process the message compatibility information parameter in unknown/unhandled messages.
git-svn-id: http://voip.null.ro/svn/yate@3538 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-26 21:47:20 +00:00
marian 3e3a9b809a The isup call controller is now trying to decode all received MSUs (unknown messages also).
git-svn-id: http://voip.null.ro/svn/yate@3537 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-26 20:52:24 +00:00
paulc 9de664beb6 Use the SLS in the label when using the transfer function.
In MTP3 truncate the SLS modulo the number of links to balance load.


git-svn-id: http://voip.null.ro/svn/yate@3536 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-26 15:39:18 +00:00
paulc c784a2768a Added messages for M2UA entering or exiting Processor Outage, solved a spurious warning.
git-svn-id: http://voip.null.ro/svn/yate@3535 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-26 15:16:18 +00:00
marian f840377006 Accept CON if the call was not accepted yet.
git-svn-id: http://voip.null.ro/svn/yate@3534 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-26 15:02:00 +00:00
paulc cba8d8e5ac Keep a generic retransmission and timeout list for SS7 management messages.
git-svn-id: http://voip.null.ro/svn/yate@3533 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-26 14:59:39 +00:00
paulc b5cf4f3357 Take into account the Remote Processor Outage on M2UA.
git-svn-id: http://voip.null.ro/svn/yate@3532 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-26 13:58:29 +00:00
marian 53470907fd Push a received continuity check request to an existing incoming call (don't drop it).
git-svn-id: http://voip.null.ro/svn/yate@3531 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-26 12:15:23 +00:00
marian 86a12ff0d8 Fixed overlapped dialing detection when starting an outgoing call.
git-svn-id: http://voip.null.ro/svn/yate@3530 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-26 11:57:50 +00:00
marian 2b63cacbae Added configurable options used to ignore 0 range circuit group reset and (un)blocking requests.
git-svn-id: http://voip.null.ro/svn/yate@3529 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-26 11:50:06 +00:00
marian cb3287122c Check the number of bits set to 1 in circuit group (un)blocking messages. Don't send confusion if CGB/CGU are dropped.
git-svn-id: http://voip.null.ro/svn/yate@3528 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-26 11:17:38 +00:00
paulc 2bec60dabf The SS7 router can be configured to prevent sending of SNM UPU messages.
git-svn-id: http://voip.null.ro/svn/yate@3527 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-26 11:12:25 +00:00
paulc 4c11257047 Implemented emergency resume of other links in a linkset that become nonoperational.
The SS7 Router now emergency resumes only other linksets when it becomes isolated.


git-svn-id: http://voip.null.ro/svn/yate@3526 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-26 10:19:53 +00:00
marian 19f813641b Don't start circuit reset when receiving a call release request for un unknown call: just respond with release complete.
git-svn-id: http://voip.null.ro/svn/yate@3525 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-26 09:09:41 +00:00
paulc 05b52b33b1 By default send link changeover/changeback declaration on the next available link.
The link used to send SNM controls can be forced with the "linksel" parameter.


git-svn-id: http://voip.null.ro/svn/yate@3523 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-26 08:04:56 +00:00
paulc ac1a694622 Send TRA only when a link is activated and on MTP3 it should be the first one.
git-svn-id: http://voip.null.ro/svn/yate@3522 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-26 08:03:39 +00:00
marian 8e84549470 CCR response can now be inhibited from configuration.
git-svn-id: http://voip.null.ro/svn/yate@3521 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-26 07:12:41 +00:00
marian 96e4cd6c3e Implemented T27 (continuity check failure) timer.
git-svn-id: http://voip.null.ro/svn/yate@3520 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-26 07:10:10 +00:00
marian b56eb0ad88 Start circuit reset when un unexpected (no existing call) call message is received.
git-svn-id: http://voip.null.ro/svn/yate@3519 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-26 07:08:23 +00:00
marian fcc3790794 Start call release when un unexpected release complete message is received.
git-svn-id: http://voip.null.ro/svn/yate@3518 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-26 07:05:18 +00:00
marian f9dc865db0 Ignore (don't send confusion) when an invalid circuit group reset message is processed.
git-svn-id: http://voip.null.ro/svn/yate@3517 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-26 07:03:48 +00:00
marian 74fef916a5 Ignore (don't send confusion) invalid circuit group (un)blocking responses.
git-svn-id: http://voip.null.ro/svn/yate@3516 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-26 07:02:25 +00:00
marian 7b7097bbc5 Avoid sending useless Q.850 cause in release complete responses.
git-svn-id: http://voip.null.ro/svn/yate@3515 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-26 06:59:33 +00:00
marian e456d9bda7 The isup user part is now accepting a received MSU after checking if it must handle it. Check the circuit before parsing the received MSU.
git-svn-id: http://voip.null.ro/svn/yate@3514 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-26 06:57:51 +00:00
marian 707c15606a Fixed call termination: don't set terminate flag before starting call release.
git-svn-id: http://voip.null.ro/svn/yate@3513 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-26 06:53:57 +00:00
paulc ae0716ab38 Fixed activation of links and scheduling of SLTM transmissions.
Improved maintenance messages to help identify link problems.


git-svn-id: http://voip.null.ro/svn/yate@3512 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-26 05:15:00 +00:00
paulc bbf3afeba3 Do not forcibly schedule a SLTM transmission less than 4s from the last one.
git-svn-id: http://voip.null.ro/svn/yate@3511 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-25 16:32:29 +00:00
paulc a20d09be22 Decode the components of the UPU message.
git-svn-id: http://voip.null.ro/svn/yate@3509 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-25 13:03:48 +00:00
paulc c421352fc9 Allow sending MTN and MTNS messages over inhibited or unchecked links.
Never try to reroute a maintenance message to another link.


git-svn-id: http://voip.null.ro/svn/yate@3508 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-25 11:28:56 +00:00
paulc 1ec6b7f06c Remember in each link if it has not beed yet checked.
Added setting per linkset so the initial link check can be skipped.


git-svn-id: http://voip.null.ro/svn/yate@3507 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-25 10:41:12 +00:00
paulc 4bd5b44dd4 Send Traffic Restart Allowed only for the 1st link in service on a linkset.
git-svn-id: http://voip.null.ro/svn/yate@3506 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-25 08:43:55 +00:00
paulc 10c03a5a24 Allow copying ISUP parameters having digits in the name.
git-svn-id: http://voip.null.ro/svn/yate@3505 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-25 06:40:33 +00:00
paulc d0239ce08a Fixed the YOBJECT macro evaluating twice the pointer by using a static helper method of GenObject.
Fixed the way linksets keep links referenced so they clean up properly.


git-svn-id: http://voip.null.ro/svn/yate@3504 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-24 12:27:40 +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 d6b3a9e004 Fixed the way SIGTRAN User Adaptation clients are created so the proper name is used and the components can be found in engine.
Improved the messages for debugging component creation.


git-svn-id: http://voip.null.ro/svn/yate@3502 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-24 10:07:45 +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 9870e16a4c Fixed MTP management, included test timers and inhibit flag in SS7Layer2.
git-svn-id: http://voip.null.ro/svn/yate@3500 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-24 03:42:31 +00:00
paulc 935cf99f9c Fixed a leftover XDebug variable in SS7Router.
Merged branch paulc/pstn -c 3495


git-svn-id: http://voip.null.ro/svn/yate@3496 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-21 18:39:47 +00:00
marian 69e1d2fbd3 Retransmit REL and RSC messages on timer.
Use two timers (retransmit + global) for circuit block, unblock, reset.
Merged branch paulc/pstn -r 3485:3487


git-svn-id: http://voip.null.ro/svn/yate@3494 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-21 18:37:24 +00:00
marian d236762fc1 Support receiving overlapped dialing on ISUP.
Send extra Called Party Number digits in a SAM message.
The overlapped dialing script accepts an initial number.
Merged branch paulc/pstn -c 3485


git-svn-id: http://voip.null.ro/svn/yate@3493 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-21 18:34:01 +00:00
paulc d69f79fada Added encoding and decoding for Redirection information (Q.763 3.45).
Added support for some national (UK-ISUP) parameters.
Merged branch paulc/pstn -c 3484


git-svn-id: http://voip.null.ro/svn/yate@3492 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-21 18:31:33 +00:00
marian f31cd8382e Added support to process parameter compatibility information.
The signalling channel is now processing ISUP parameter compatibility information for handled ISUP messages.
Added ISUP generic APM message support.
Merged branch paulc/pstn -r 3480:3483


git-svn-id: http://voip.null.ro/svn/yate@3491 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-21 18:27:54 +00:00
marian 4c94538610 Added configurable call controller location for Q.850 cause.
Diagnostic and location can now be set in release call Q.850 cause.
Merged branch paulc/pstn -r 3478:3480


git-svn-id: http://voip.null.ro/svn/yate@3490 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-21 18:25:02 +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 6a5876435d Allow changing the SIO of SNM messages from the control parameters.
Decode the fields of received COO,COA,CBD,CBA messages (ITU and ANSI only).
Made the getLocal and getDefaultLocal methods public to access L3 point codes.
Print the local point codes of links that are changing operational state.
Improved handling of SIO fields in SS7 Layer 4.
Added an API to find a reverse mapping from PC type to Network Indicator.
Merged branch paulc/pstn -r 3474:3477


git-svn-id: http://voip.null.ro/svn/yate@3488 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-21 18:19:37 +00:00
paulc 3fa62fd1c3 Avoid routing a message back to the receiving linkset.
Display current states when printing routes.
Fixed the priority of routes when new networks are added.
Warn when an unknown route is received only if it was a manual control.
Merged branch paulc/pstn -r 3470:3473


git-svn-id: http://voip.null.ro/svn/yate@3474 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-10 16:47:45 +00:00
paulc 993f5f31af Added method to retrieve the default local Point Code of a SS7 Layer 3.
Load default Point Codes for the SS7Router too.
Merged SVN branch paulc/pstn -c 3468


git-svn-id: http://voip.null.ro/svn/yate@3469 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-06 14:47:44 +00:00
paulc 34083b126e Recheck the availability of SS7 routes at end of MTP restart.
If node became isolated try to emergency uninhibit at least one link.
Merged SVN branch paulc/pstn -c 3466


git-svn-id: http://voip.null.ro/svn/yate@3467 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-05 17:25:15 +00:00
paulc 2e9f2d30e9 Added support for SS7 STP, fixed SN MTP restart behavior (send TRA).
Added many commands to manually control SS7 Router and Management.
Merged SVN branch paulc/pstn -c 3446, -r 3453:3462 and -c 3464


git-svn-id: http://voip.null.ro/svn/yate@3465 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-05 15:20:42 +00:00
paulc 28829dbd35 Added support for SIGTRAN M2UA (SS7 MTP2) UAS and IUA (ISDN Q.921) UAS.
Merged SVN branch paulc/pstn -r 3446:3448 and -r 3450:3453


git-svn-id: http://voip.null.ro/svn/yate@3463 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-05 13:23:12 +00:00
paulc b4e3d8d14f Handle only SS7 Test Part messages whose DPC equals the local OPC.
git-svn-id: http://voip.null.ro/svn/yate@3443 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-16 20:43:43 +00:00
paulc 5770afed26 Made more visible (but still only when compiled for debugging) the periodic circuit restarts.
git-svn-id: http://voip.null.ro/svn/yate@3422 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-09 09:29:22 +00:00
paulc 8acb310243 Send the correct SLS if sls=cic (ITU style).
Added manual sending of maintenance BLK and UBL requests.


git-svn-id: http://voip.null.ro/svn/yate@3421 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-08 16:34:58 +00:00
paulc 4cabebdfe5 Answer to circuit (un)blocking messages with the same SLS as the request came.
git-svn-id: http://voip.null.ro/svn/yate@3420 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-08 15:53:03 +00:00
paulc 551992e4f7 Use a variable to keep the status of early media.
Add the inband indication to Alerting too, not only to Progress.


git-svn-id: http://voip.null.ro/svn/yate@3415 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-02 15:42:33 +00:00
paulc 716a39b488 Deal better with early media information in ISDN (in-band-info in Progress and Alerting).
git-svn-id: http://voip.null.ro/svn/yate@3412 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-01 15:24:31 +00:00
paulc 49c870ca48 Take into account the "inband" flag in the Optional Backward Call Indicators in ISUP CPR messages.
git-svn-id: http://voip.null.ro/svn/yate@3411 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-01 15:20:07 +00:00
paulc 1a5b0e1eed Deal better with early media information availability in ISUP (inband during ACM or CPR).
git-svn-id: http://voip.null.ro/svn/yate@3410 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-01 15:06:52 +00:00
paulc e05f02f51e Added more helper methods to manipulate flags in a flags list.
git-svn-id: http://voip.null.ro/svn/yate@3409 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-01 15:01:16 +00:00
paulc b58683909b Always copy parameters from Yate messages to signaling messages.
Copy parameters starting with a CapitalLetter in all messages, not just IAM.
Made static several helper functions to avoid symbol pollution.


git-svn-id: http://voip.null.ro/svn/yate@3407 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-29 19:46:31 +00:00
paulc 6b86d3be09 Added support to emit SS7 Management messages (COO,CBD,TFP,TFR,TFA,TRA) with arbitrary fields from chan.control message or rmanager command.
git-svn-id: http://voip.null.ro/svn/yate@3405 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-29 09:35:02 +00:00
paulc d49b070451 Added a "reset" control command to fast reset ISUP circuits.
Default reset interval for both ISUP and ISDN is 300s with 60s minimum.


git-svn-id: http://voip.null.ro/svn/yate@3404 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-25 14:48:29 +00:00
paulc 511eddc54e Use the correct table for validating the voice format name.
Fixes setting non-default formats for ISUP call controllers.


git-svn-id: http://voip.null.ro/svn/yate@3388 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-17 09:56:19 +00:00
paulc 81ecea7581 Got rid of some long standing conversion warning by providing the proper casts.
git-svn-id: http://voip.null.ro/svn/yate@3377 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-11 18:07:17 +00:00
paulc 6e23c56d28 Spelling cleanup of a very common error: Retrive -> Retrieve
git-svn-id: http://voip.null.ro/svn/yate@3371 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-11 11:25:10 +00:00
paulc d646d0da2f Fixed the way SS7 L4 detaches early from the SS7 router.
Added a conditional debugging message when engine searches a component.


git-svn-id: http://voip.null.ro/svn/yate@3369 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-09 21:07:50 +00:00
paulc 83934efb74 Added method to fire a timer at a specific time.
git-svn-id: http://voip.null.ro/svn/yate@3314 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-12 10:57:36 +00:00
paulc af8c7b12f4 Allow SNM, MTN and MTP_T user parts to have their SIO configured.
git-svn-id: http://voip.null.ro/svn/yate@3304 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-11 08:02:30 +00:00
paulc 2e2c0545e8 Moved the SIO variable and its settings (service, priority, netindicator) in the common SS7Layer4 class so they apply to all SS7 User Parts.
git-svn-id: http://voip.null.ro/svn/yate@3302 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-10 10:38:18 +00:00
paulc 1c0eb8f817 Properly store the sequence number in the test data.
git-svn-id: http://voip.null.ro/svn/yate@3292 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-06 11:48:55 +00:00
paulc c389491462 Preserve the SLS in all answers sent at MTP3, some implementations are very picky.
git-svn-id: http://voip.null.ro/svn/yate@3289 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-05 15:09:25 +00:00
paulc f5ba7cbf35 Preserve the SLS of ISUP messages throughout the call.
SLS style defaults to "cic" on ITU controllers.


git-svn-id: http://voip.null.ro/svn/yate@3287 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-04 16:24:56 +00:00
paulc 74e4a198cf Truncate the SLS field to the number of bits mandated by the point code.
git-svn-id: http://voip.null.ro/svn/yate@3286 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-04 16:22:54 +00:00
paulc 26b9bead07 Changed code 27 to "out-of-order" so 20 (Subscriber absent) could be mapped to "offline".
Added some cause code mappings including 14 (Excess digits).
Changed default cleanup code to Network Out Of Order.


git-svn-id: http://voip.null.ro/svn/yate@3276 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-04 09:34:35 +00:00
paulc 7b9d11ccf0 Correctly deal with the packed form of calledpointcode.
Filter incoming ISUP and BICC messages by remote Point Code.
Added an inequality operator for SS7PointCode.


git-svn-id: http://voip.null.ro/svn/yate@3273 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-03 13:06:41 +00:00
paulc bd0a6fc6a9 Allow specifying a default SLS for outbound calls in the ISUP settings (reloadable).
git-svn-id: http://voip.null.ro/svn/yate@3265 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-01 18:38:03 +00:00
paulc cf8d84aef7 Added support for NumberPortabilityInformation.
Added declaration of a bunch new ITU parameters (Q.763 12/1999).


git-svn-id: http://voip.null.ro/svn/yate@3264 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-30 19:25:10 +00:00
paulc 365fc226ee Added decoding and encoding of the GenericName ISUP parameter.
git-svn-id: http://voip.null.ro/svn/yate@3263 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-30 18:24:58 +00:00
paulc 4ed0aadefb Added possibility to retrieve and set the SLS of a new ISUP call.
git-svn-id: http://voip.null.ro/svn/yate@3262 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-30 17:06:23 +00:00
paulc c842b3c13f Added support for Hop Counter and Originating Line Information ISUP parameters.
Constified some parameter description tables.


git-svn-id: http://voip.null.ro/svn/yate@3261 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-30 16:07:38 +00:00
paulc c0b1b7f91a Added support for the ISUP GenericNumber parameter. Copy all possible parameters to the IAM message.
git-svn-id: http://voip.null.ro/svn/yate@3241 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-22 13:42:36 +00:00
paulc a915a4592d Added handling of ISUP CCR messages - either in existing calls or alone.
git-svn-id: http://voip.null.ro/svn/yate@3239 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-21 20:54:38 +00:00
paulc 3ab5be8cce Update the format before placing the circuit in a special mode.
Prefix with "test:" the continuity type when our end is initiating the test.


git-svn-id: http://voip.null.ro/svn/yate@3235 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-21 15:47:03 +00:00
paulc 848caaa5b2 Allow changing the continuity check style at initialization.
git-svn-id: http://voip.null.ro/svn/yate@3231 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-21 12:51:44 +00:00
paulc 738e5a3aed Send the proper release message and cause if circuit failed to enter continuity check mode.
git-svn-id: http://voip.null.ro/svn/yate@3230 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-21 12:32:06 +00:00
paulc 5b4cc44e46 Added continuity check type setting in ISUP. Fixed a format documentation error.
git-svn-id: http://voip.null.ro/svn/yate@3229 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-21 12:01:01 +00:00
paulc 7795ecc048 Implemented sending CQM using control command, ignore without CNF some response messages - CQR, CVR.
git-svn-id: http://voip.null.ro/svn/yate@3228 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-21 09:33:16 +00:00
paulc f61060d708 The default data format should fit the point code of the ISUP call controller.
git-svn-id: http://voip.null.ro/svn/yate@3227 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-21 08:57:27 +00:00
paulc 2024c8f685 Fixed the encoding of raw hex parameters, it was reporting wrong length.
git-svn-id: http://voip.null.ro/svn/yate@3226 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-21 08:16:19 +00:00
paulc 1a0ced9c85 Only check for testing if call is not already testing or set up.
git-svn-id: http://voip.null.ro/svn/yate@3225 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-20 16:56:20 +00:00
paulc 606dbeebf7 Let the call progress only if COT indicates success.
git-svn-id: http://voip.null.ro/svn/yate@3224 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-20 15:35:13 +00:00
paulc 63cc8b2fa3 Unified code paths for testing the continuity check flags in both directions of the call.
git-svn-id: http://voip.null.ro/svn/yate@3223 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-20 15:07:29 +00:00
paulc 7ef4b061b2 Fixed the placements of bits used in continuity check indication.
git-svn-id: http://voip.null.ro/svn/yate@3220 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-20 11:07:47 +00:00
paulc d2a17acc71 Preliminary support for continuity testing in ISUP calls.
git-svn-id: http://voip.null.ro/svn/yate@3203 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-16 23:50:58 +00:00
paulc 6bdf413a19 Added implementation of SS7 MTP Traffic Test User Part described in Q.782 2.3
git-svn-id: http://voip.null.ro/svn/yate@3190 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-13 22:18:38 +00:00
paulc 26213e9159 Implemented answering to Circuit Group Query (national use).
git-svn-id: http://voip.null.ro/svn/yate@3188 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-12 22:05:10 +00:00
paulc e1f182fee3 Added support for controlling ISUP, implemented sending CVT on demand.
git-svn-id: http://voip.null.ro/svn/yate@3187 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-12 22:02:27 +00:00
paulc 2753c9faee Added explicit keyword to create routes to adjacent point codes (A/E or F links). Regular routes now have a default priority of 100.
git-svn-id: http://voip.null.ro/svn/yate@3186 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-12 18:01:41 +00:00
paulc b20e23e0a5 Added CQR (Circuit Group Query Response, national use) message description.
The CircuitStateIndicator parameter uses the raw coder.


git-svn-id: http://voip.null.ro/svn/yate@3185 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-12 12:27:48 +00:00
paulc b3d88aa7d7 Handle ANSI ISUP Circuit Validation Test, answer to it.
git-svn-id: http://voip.null.ro/svn/yate@3178 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-09 22:16:08 +00:00
paulc 962bc53562 ANSI RLC has no parameters, not even optional, so add it to the specific table.
Accept with just a MILD warning messages that are truncated just before the optional parameters pointer.


git-svn-id: http://voip.null.ro/svn/yate@3177 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-09 16:58:03 +00:00
oana aa528b1523 Yate has been ported on Mac OS X.
git-svn-id: http://voip.null.ro/svn/yate@3153 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-30 11:49:43 +00:00
paulc a3b65e3faa Reorder libraries so that Yate libraries and modules can be linked using --as-needed avoiding underlinking or overlinking.
Reported by Mandriva (bug report #206).


git-svn-id: http://voip.null.ro/svn/yate@3143 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-24 13:46:12 +00:00
paulc ef54bbdde6 Handle SignallingInterface::HardwareError condition in M2PA.
An explicit "align" control forces alignment even if autostart is disabled.


git-svn-id: http://voip.null.ro/svn/yate@3092 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-18 17:52:53 +00:00
paulc 2b2f7e2380 Use CR LF for multi-line message outputs, fixes telnet and Windows logging.
git-svn-id: http://voip.null.ro/svn/yate@3082 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-15 21:07:17 +00:00
paulc 240cb52250 Fixed checking of M2PA backwards sequence numbers with jumps.
Decode and acknowledge CBD and XCO management messages.


git-svn-id: http://voip.null.ro/svn/yate@3080 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-15 20:29:32 +00:00
paulc adbcad5373 Fixed building in Windows, added sigtransport to build and installer.
git-svn-id: http://voip.null.ro/svn/yate@3069 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-04 12:50:06 +00:00
paulc 3769914317 The SS7 Management component can handle MTNS messages too.
git-svn-id: http://voip.null.ro/svn/yate@3068 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-04 02:02:52 +00:00
paulc 2c29e87f01 Set the proper PPID for M2PA, propagate to SCTP socket.
Fixed order of sequence numbers in M2PA.
Fixed the insertion/removal of priority octet in M2PA transport.


git-svn-id: http://voip.null.ro/svn/yate@3067 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-04 02:01:40 +00:00
paulc 80a2af15b4 M2PA Normal and Emergency proving were reversed.
git-svn-id: http://voip.null.ro/svn/yate@3064 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-03 23:32:07 +00:00
paulc ed7d097677 Fixed initial M2PA sequence numbers and aligned() implementation.
Improved debugging messages and fixed minor spelling errors.


git-svn-id: http://voip.null.ro/svn/yate@3060 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-02 21:53:05 +00:00
andrei ecd075d0ac Added generic support for SS7 SIGTRAN protocol stack.
Added SCTP sockets support based on Linux Kernel SCTP.
Added SS7 Sigtran M2PA protocol support.


git-svn-id: http://voip.null.ro/svn/yate@3058 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-02 14:38:12 +00:00
marian 32b89dede5 Avoid destroying a locked isup call mutex.
git-svn-id: http://voip.null.ro/svn/yate@3014 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-08 15:39:26 +00:00
andrei c78831d0e4 When getting circuit events return fast without locking if there are no queued events.
Fixes high CPU usage when running many ISDN or SS7 circuits.


git-svn-id: http://voip.null.ro/svn/yate@3011 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-07 14:19:57 +00:00
paulc 494e0db1fb Fixed ISDN PRI circuit allocation bugs introduced by Rev. 2505 (BRI support).
git-svn-id: http://voip.null.ro/svn/yate@2913 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-09 21:38:16 +00:00
paulc 648b6900a1 Added some extra messages related to circuit allocation when compiled for debugging.
git-svn-id: http://voip.null.ro/svn/yate@2912 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-09 21:35:50 +00:00
marian 53f6b50064 Fixed NAI dictionary string.
git-svn-id: http://voip.null.ro/svn/yate@2870 acf43c95-373e-0410-b603-e72c3f656dc1
2009-10-19 09:08:31 +00:00
paulc 0020599c05 Reduce mutex contention by unlocking the ISUP controller while sending a MSU downstream in a few places.
git-svn-id: http://voip.null.ro/svn/yate@2852 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-22 11:58:30 +00:00
paulc e21495f4cb Added missing documentation generating comment for a parameter.
git-svn-id: http://voip.null.ro/svn/yate@2815 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-01 10:12:43 +00:00
andrei c7282caac1 Appended configuration parameters when building SignallingCircuitSpan
git-svn-id: http://voip.null.ro/svn/yate@2814 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-01 08:34:14 +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 57d3dcc491 Circuit parameters can be set from a NamedList attached to the "circuit_parameters" parameter.
git-svn-id: http://voip.null.ro/svn/yate@2803 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-24 11:56:27 +00:00
paulc 43618793a3 Added methods to get a boolean or integer parameter of a circuit.
Added const method to get a const span from a circuit.


git-svn-id: http://voip.null.ro/svn/yate@2802 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-24 11:54:54 +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 917c2d0a1f Fixed the location where the User Part type and cause are written in an UPU.
git-svn-id: http://voip.null.ro/svn/yate@2783 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-11 15:45:48 +00:00
paulc 36f08ceeaa Added methods to get and set at once multiple parameters of a circuit.
git-svn-id: http://voip.null.ro/svn/yate@2780 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-07 09:46:55 +00:00
paulc 4239be2fca Made processing of a circuit event take ownership over the event to be certain who needs to destroy it.
git-svn-id: http://voip.null.ro/svn/yate@2774 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-28 15:52:18 +00:00
marian 4453b1906a Added capability to forward circuit events upwards to signalling module.
git-svn-id: http://voip.null.ro/svn/yate@2772 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-28 12:52:13 +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 263e2b5862 Decode generically known but unhandled ISUP messages that have only optional parameters.
Build a list of unhandled message parameters.
Decode MCID request and response parameter flags.


git-svn-id: http://voip.null.ro/svn/yate@2739 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-26 14:40:10 +00:00
paulc 774f74c5bd Fixed thread names for the MGCP library and Signalling engine too.
git-svn-id: http://voip.null.ro/svn/yate@2734 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 15:01:10 +00:00
paulc d93dc49e4e Added method to add a compact circuit range to an existing range.
In ysigchan status a suffix of /* or /all shows the state of all circuits of the trunk.


git-svn-id: http://voip.null.ro/svn/yate@2712 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-15 10:38:32 +00:00
paulc fe1527fe74 Made some dangerous constructors explicit, fix potential problems exposed by this.
git-svn-id: http://voip.null.ro/svn/yate@2705 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-12 15:15:36 +00:00
paulc 96cf546852 Allow disabling sending of ISUP circuit group requests.
git-svn-id: http://voip.null.ro/svn/yate@2692 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-09 13:18:46 +00:00
paulc 3740511825 Fixed path to test executable.
git-svn-id: http://voip.null.ro/svn/yate@2683 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-04 14:01:44 +00:00
paulc 00a1093743 Correctly provide a format string as we cannot guarantee the string content is printf safe.
git-svn-id: http://voip.null.ro/svn/yate@2682 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-04 14:01:17 +00:00
paulc e301807aa1 Reserve $LIBS and @LIBS@ for the system libraries that can be passed to
the configure script.


git-svn-id: http://voip.null.ro/svn/yate@2678 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 19:17:54 +00:00
paulc 35beaecc0a Use the system detected CFLAGS instead of hardcoding -O2
git-svn-id: http://voip.null.ro/svn/yate@2673 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 16:06:14 +00:00
paulc 69da61247f Detect the proper threading library where pthread_mutexattr_settype is
located.
Look for regcomp only when not using internal regexp.


git-svn-id: http://voip.null.ro/svn/yate@2672 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-01 15:42:34 +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 10d8d3d7cf Link the libraries using the C++ linker so it properly links against libstdc++ and compiler support.
Not required on ELF systems as libyate.so would pull in the required libraries but was confusing and could cause problems on other platforms.


git-svn-id: http://voip.null.ro/svn/yate@2667 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-31 18:58:25 +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 6f7581edc9 Moved all point code settings to SS7ISUP so the type of point code is known and numeric (packed) values can be used.
Changed channellock to milliseconds to improve resolution.
Documented channellock and userparttest parameters.


git-svn-id: http://voip.null.ro/svn/yate@2660 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-28 17:18:50 +00:00
paulc 30425c511e Allow using numeric (packed) point codes if their type is known.
git-svn-id: http://voip.null.ro/svn/yate@2659 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-28 16:09:16 +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 4306e6ab5a Changed EOL style to native.
git-svn-id: http://voip.null.ro/svn/yate@2624 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-12 13:02:50 +00:00
paulc 79d54cfd65 Made CPE number filter act as prefix, not exact match. Documented.
git-svn-id: http://voip.null.ro/svn/yate@2609 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-05 07:27:06 +00:00
paulc 1461ba13cb Added type info methods to AnalogLineGroup and SignallingCircuitGroup.
git-svn-id: http://voip.null.ro/svn/yate@2568 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-09 09:54:26 +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 485c05872c Added a missing parameter to documentation generating comments.
git-svn-id: http://voip.null.ro/svn/yate@2506 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-02 18:56:47 +00:00
paulc ec08dd849a ISDN BRI support, most Andrei's (andrei@null.ro) work.
Fixes and new features throughout the signalling engine.


git-svn-id: http://voip.null.ro/svn/yate@2505 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-02 18:51:30 +00:00
paulc 7f74b7c59f Fixed the structure of Q.850 cause codes with diagnostic information attached.
git-svn-id: http://voip.null.ro/svn/yate@2493 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-23 21:19:01 +00:00
paulc b1420c66e3 If end user is indicated as known in received ACM interpret it as progress or ringing indication.
Added generic mechanism to set protocol specific parameters in messages.


git-svn-id: http://voip.null.ro/svn/yate@2484 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-18 17:01:48 +00:00
paulc c104e5be07 Fixed some warnings and genuine bugs exposed by newer gcc.
git-svn-id: http://voip.null.ro/svn/yate@2447 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-20 12:27:53 +00:00
paulc 5bf0653513 Removed spurious 2nd parameter of YSIGFACTORY2 macro.
git-svn-id: http://voip.null.ro/svn/yate@2392 acf43c95-373e-0410-b603-e72c3f656dc1
2008-12-04 19:36:47 +00:00
paulc 501f0bef0e Accept a comma separated list of links to try to send the call.
Detect early a congestion or network failure and attempt next link.


git-svn-id: http://voip.null.ro/svn/yate@2368 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-26 15:20:15 +00:00
paulc 8769af4d61 Moved network transport layer from SIGTRAN into a separate abstract class.
git-svn-id: http://voip.null.ro/svn/yate@2355 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-19 16:15:07 +00:00
paulc 6f94b989c1 Made component removal message identifiable between the 2 methods.
A lock is taken earlier when a component's engine is to be checked.


git-svn-id: http://voip.null.ro/svn/yate@2354 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-19 14:44:49 +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 c1efca5336 Cosmetic: fixed typo in comments and debug messages.
git-svn-id: http://voip.null.ro/svn/yate@2335 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-12 16:48:31 +00:00
paulc a848a19496 Removed unnecessary ISDN layer 2 locks in monitor methods called from layer 2.
git-svn-id: http://voip.null.ro/svn/yate@2334 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-12 16:41:24 +00:00
paulc c5bd6cee80 Send data and link state from ISDN Layer 2 to Layer 3 withou holding locks.
git-svn-id: http://voip.null.ro/svn/yate@2333 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-12 14:44:20 +00:00
marian 1a588883a0 Fixed circuit map build when sending circuit group (un)blocking.
git-svn-id: http://voip.null.ro/svn/yate@2329 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-11 14:47:41 +00:00
paulc 5686805c6d Fixed missing Windows exports operator << for point code and label.
git-svn-id: http://voip.null.ro/svn/yate@2327 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-11 11:50:03 +00:00
marian 80f8dc2630 Fixed protected method call.
git-svn-id: http://voip.null.ro/svn/yate@2326 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-11 11:33:27 +00:00
paulc c907226626 SignallingEvent::sendEvent cleans up itself if it has no call attached.
git-svn-id: http://voip.null.ro/svn/yate@2320 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-10 18:55:33 +00:00
paulc 9da6896197 Forward packets through the router without holding locks.
git-svn-id: http://voip.null.ro/svn/yate@2319 acf43c95-373e-0410-b603-e72c3f656dc1
2008-11-10 18:48:50 +00:00