Commit Graph

3615 Commits

Author SHA1 Message Date
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
marian 249bb8c772 Documented the 'confirm_ccr' isup option.
git-svn-id: http://voip.null.ro/svn/yate@3524 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-26 08:23:10 +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 b9e8255b6a Change the error to "offline" only if we positively know the user exists and it's not registered.
git-svn-id: http://voip.null.ro/svn/yate@3510 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-25 13:08:09 +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 d11940f0ed Use the exponential backoff timer for connecting stream transports too.
Renamed the timeout constants to reflect the change.


git-svn-id: http://voip.null.ro/svn/yate@3499 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-23 23:33:49 +00:00
paulc 5b782a4171 Set the payload on SCTP stream sockets - both connected and accepted.
git-svn-id: http://voip.null.ro/svn/yate@3498 acf43c95-373e-0410-b603-e72c3f656dc1
2010-08-23 23:07:13 +00:00