Commit Graph

831 Commits

Author SHA1 Message Date
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
marian b13014a3ac Added xml tag and namespace enums and values.
git-svn-id: http://voip.null.ro/svn/yate@3451 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-22 11:13:28 +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
marian 385cb7c051 Removed useless value assignment in enums.
git-svn-id: http://voip.null.ro/svn/yate@3439 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-16 12:40:52 +00:00
marian 62099cae34 Convert unsigned variable to int before applying unary minus operator.
git-svn-id: http://voip.null.ro/svn/yate@3438 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-16 12:28:14 +00:00
marian 1b3ff2308f Added jabber stream compression support.
git-svn-id: http://voip.null.ro/svn/yate@3436 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-16 11:11:50 +00:00
marian 9965662ef6 Added sasl feature retrieval method to features list.
git-svn-id: http://voip.null.ro/svn/yate@3435 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-16 09:07:57 +00:00
marian 0549bfe554 Check TLS availability before using it on outgoing streams.
git-svn-id: http://voip.null.ro/svn/yate@3427 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-09 14:37:19 +00:00
marian d537689284 Fixed comment.
git-svn-id: http://voip.null.ro/svn/yate@3425 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-09 11:42:04 +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 8c02021eeb Use static const Regexps wherever possible to speed up code.
git-svn-id: http://voip.null.ro/svn/yate@3391 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-17 11:38:46 +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
marian 3c1053ba3e Check pointer before using it.
git-svn-id: http://voip.null.ro/svn/yate@3361 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-03 11:43:42 +00:00
paulc 3f364ef2bd Pick only the already offered formats from an arbitrary list of media formats.
This removes the possibility of accidentally answering with a codec that was not offered.


git-svn-id: http://voip.null.ro/svn/yate@3347 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-27 15:46:36 +00:00
marian cd6943ffb7 Added utility used to decode old XEP-0091 date/time stamp.
git-svn-id: http://voip.null.ro/svn/yate@3341 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-26 08:45:14 +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 66c1838b1a Fixed a Doxygen commment.
git-svn-id: http://voip.null.ro/svn/yate@3272 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-03 12:29:52 +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
marian 68ec433729 Allow building message stanza with custom type attribute.
git-svn-id: http://voip.null.ro/svn/yate@3256 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-29 15:19:44 +00:00
marian 85e9ec4611 Added method used to copy an xml element's attributes to another list using a prefix.
git-svn-id: http://voip.null.ro/svn/yate@3254 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-29 13:29:38 +00:00
marian c4cc64f1e1 Fixed bug: reset pointer after changing ownership to avoid double destruction.
git-svn-id: http://voip.null.ro/svn/yate@3250 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-28 12:32:20 +00:00
paulc da2cd240d0 Added support for sending periodic RTCP reports and the final RTCP bye.
git-svn-id: http://voip.null.ro/svn/yate@3248 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-27 22:20:09 +00:00
marian 079f037bbf Added
git-svn-id: http://voip.null.ro/svn/yate@3246 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-27 15:04:03 +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
marian cae46114b4 Fixed SRV query failure reporting.
git-svn-id: http://voip.null.ro/svn/yate@3132 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-18 15:25:15 +00:00
marian 52d07b557d Fixed debug.
git-svn-id: http://voip.null.ro/svn/yate@3131 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-18 14:32:37 +00:00
marian 83812e81e4 The xml parser now returns incomplete instead of invalid encoding error when the buffer contains an invalid utf8 character (it might be at buffer end).
git-svn-id: http://voip.null.ro/svn/yate@3129 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-17 15:22:26 +00:00
marian d2a45bc08d Lock the socket mutex when the xml parser is reset due to stream restart.
git-svn-id: http://voip.null.ro/svn/yate@3128 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-17 14:48:40 +00:00
marian b480d411f0 Fixed deadlock: outgoing jabber stream id is now checked by the engine event processor to avoid locking engine's stream list(s) while the stream is locked.
git-svn-id: http://voip.null.ro/svn/yate@3126 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-17 13:06:54 +00:00
paulc 5686698de8 Collect RTP stats - packet and octet counter - and retrieve them MGCP style.
git-svn-id: http://voip.null.ro/svn/yate@3105 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-03 18:52:40 +00:00
marian 524b89abdb Don't indent element text when it's the only child. Fixed documentation.
git-svn-id: http://voip.null.ro/svn/yate@3100 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-02 09:27:10 +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
marian cf0e6bb935 Fixed bug: always re-connect idle outgoing c2s streams.
git-svn-id: http://voip.null.ro/svn/yate@3087 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-18 11:46:45 +00:00
marian f0efb2945a Fixed indendation.
git-svn-id: http://voip.null.ro/svn/yate@3086 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-18 11:45:20 +00:00
marian 8630c28ec1 Implemented support for multiple remote domains on incoming s2s streams. Implemented XEP 0185 and 0220. Added module option and stream flag used to disable RFC3920 features advertising on incoming s2s streams.
git-svn-id: http://voip.null.ro/svn/yate@3085 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-18 11:40:24 +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 81e5d1050e Use the proper clearParams() method to clear the parameter lists.
git-svn-id: http://voip.null.ro/svn/yate@3078 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-15 13:53:18 +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
paulc be5664b373 Use static Regexps instead of allocating them on stack. Multiplies 2.5x the parser performance.
git-svn-id: http://voip.null.ro/svn/yate@3048 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-31 20:30:02 +00:00
paulc 232ca0d142 Minor performance improvement parsing non-SIP/2.0 branches.
git-svn-id: http://voip.null.ro/svn/yate@3047 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-31 20:27:56 +00:00
marian ac821b5213 Add one pair of separators (-----) when xml is printed in verbose mode.
git-svn-id: http://voip.null.ro/svn/yate@3043 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-28 11:20:16 +00:00
marian c9075175c2 Added extra mutex to protect stream socket and parser (avoid infinite looping on connection reset).
git-svn-id: http://voip.null.ro/svn/yate@3037 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-26 11:40:15 +00:00
marian b6b6e47497 Don't add streams namespace to error and features elements.
git-svn-id: http://voip.null.ro/svn/yate@3036 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-26 11:30:34 +00:00
paulc 89a427cb6e Fixed some doxygen comments.
git-svn-id: http://voip.null.ro/svn/yate@3015 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-11 00:24:17 +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
marian f59b9fbc96 Set message type to 'chat' when building from a list of parameters. Added some namespaces to global list.
git-svn-id: http://voip.null.ro/svn/yate@2986 acf43c95-373e-0410-b603-e72c3f656dc1
2009-12-14 16:44:34 +00:00
marian b04da09914 Escape element text when requested.
git-svn-id: http://voip.null.ro/svn/yate@2978 acf43c95-373e-0410-b603-e72c3f656dc1
2009-12-03 13:21:37 +00:00
marian 15812c43a6 Add stream type prefix to stream name. Added account to client streams. A client stream can now be retrieved by account from the jabber client engine.
git-svn-id: http://voip.null.ro/svn/yate@2976 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-27 12:17:17 +00:00
marian 8674887c45 Fixed compile error.
git-svn-id: http://voip.null.ro/svn/yate@2969 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-26 13:46:17 +00:00
marian a5b4364394 Skip SRV query if a destination port was set.
git-svn-id: http://voip.null.ro/svn/yate@2968 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-26 13:40:09 +00:00
oana e48d12b378 Skip SRV resolving on platforms that don't support it.
git-svn-id: http://voip.null.ro/svn/yate@2963 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-25 15:04:46 +00:00
paulc ca6466add2 Explicitely include arpa/nameser.h needed for *BSD.
git-svn-id: http://voip.null.ro/svn/yate@2962 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-25 14:25:50 +00:00
marian 749b71764f Don't reset stream flags when updating from engine domain list. Added debug when stream flags change.
git-svn-id: http://voip.null.ro/svn/yate@2960 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-23 09:54:16 +00:00
marian ba971d995d Set default message stanza type to 'chat'.
git-svn-id: http://voip.null.ro/svn/yate@2959 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-23 09:52:16 +00:00
marian 4151517eeb Print element attributes on the same line with tag.
git-svn-id: http://voip.null.ro/svn/yate@2950 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-17 08:28:46 +00:00
marian 929f79d534 Fixed ILBC payload name in rtpmap.
git-svn-id: http://voip.null.ro/svn/yate@2949 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-16 13:35:54 +00:00
marian 090fe41f26 Don't use idle timer for c2s streams.
git-svn-id: http://voip.null.ro/svn/yate@2945 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-13 12:56:05 +00:00
marian aa0b6ec97d Implemented c2s non sasl authentication. Added listener for direct c2s SSL connections. Restrict client resources with the same name while authenticating using non sasl.
git-svn-id: http://voip.null.ro/svn/yate@2943 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-13 11:36:05 +00:00
marian dbc0c175ce Pop only completed child elements.
git-svn-id: http://voip.null.ro/svn/yate@2924 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-11 13:00:09 +00:00
paulc d079caaae2 Made Yate 3 build in Visual Studio, fixed some bugs discovered by the VC++ compiler.
git-svn-id: http://voip.null.ro/svn/yate@2923 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-10 18:44:44 +00:00
marian 117095ed2f Fixed xml debug string build.
git-svn-id: http://voip.null.ro/svn/yate@2922 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-10 16:17:42 +00:00
marian 353032803b Added error flag used to avoid stream re-connect when terminated with error and have nothing to send. Fixed stream idle timer usage.
git-svn-id: http://voip.null.ro/svn/yate@2917 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-10 15:27:47 +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