Commit Graph

831 Commits

Author SHA1 Message Date
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
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
paulc 3d9e8de177 Disambiguated a pair of if ... else.
git-svn-id: http://voip.null.ro/svn/yate@2910 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-09 19:05:44 +00:00
paulc 86bd3dd397 Fixed a doxygen comment.
git-svn-id: http://voip.null.ro/svn/yate@2909 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-09 19:02:31 +00:00
marian 93c9fb5d62 Removed duplicate namespace value check (incorrect).
git-svn-id: http://voip.null.ro/svn/yate@2904 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-09 13:12:40 +00:00
marian cc6fc01ad0 Fixed stanza/stream error decoding.
git-svn-id: http://voip.null.ro/svn/yate@2903 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-09 13:10:16 +00:00
paulc c15bd91b73 Added a virtual destructor to the abstract class XmlParent.
git-svn-id: http://voip.null.ro/svn/yate@2901 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-07 11:51:49 +00:00
marian 49d7c524c4 Added line (account) to jingle session and connection. Fixed jingle channel stanza send. Request resource caps when making an outgoing call.
git-svn-id: http://voip.null.ro/svn/yate@2898 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-05 15:25:33 +00:00
paulc 358751bcc9 Added to libyjabber the resolver library needed for dn_expand.
git-svn-id: http://voip.null.ro/svn/yate@2895 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-04 16:35:50 +00:00
marian a5a3672ead Added external component support to jabber server.
git-svn-id: http://voip.null.ro/svn/yate@2893 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-04 14:29:28 +00:00
paulc fb5e33347f Fixed some parameter names and doxygen tags.
Added ignore list to yjabber directory.


git-svn-id: http://voip.null.ro/svn/yate@2887 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-03 11:37:17 +00:00
paulc 1c6e7c9a7c Added support for T.38 fax terminal.
Added UDPTL transport in libyrtp and RTP channel.


git-svn-id: http://voip.null.ro/svn/yate@2885 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-03 10:49:12 +00:00
paulc c820ad9e22 Bumped SVN trunk version to 3.0.0 alpha 1.
git-svn-id: http://voip.null.ro/svn/yate@2883 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-03 09:48:34 +00:00
marian 76c182e440 Implemented jabber server. Changed jingle channel to support the new jabber library. Replaced tinyxml with yate own XML library. Added openssl support for server. Work in progress in jabber client support.
git-svn-id: http://voip.null.ro/svn/yate@2882 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-02 16:05:39 +00:00
paulc 3624562f55 Added an extra parameter to SDPSession::updateFormats() allowing it to add or remove media.
Use the SDPSession::updateFormats() method in SIP instead of reimplementing it.


git-svn-id: http://voip.null.ro/svn/yate@2873 acf43c95-373e-0410-b603-e72c3f656dc1
2009-10-20 22:54:56 +00:00
paulc 221cbb9019 Explicitely set "media"="false" when other but no audio media is present since the default for audio is true.
git-svn-id: http://voip.null.ro/svn/yate@2872 acf43c95-373e-0410-b603-e72c3f656dc1
2009-10-20 20:43:27 +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 83f9079ba5 Made the SIP transactions list protected, added methods to add or remove transactions from list that lock the engine.
Remove transactions from engine's list on destroyed() as later access to their virtual methods is unsafe.


git-svn-id: http://voip.null.ro/svn/yate@2868 acf43c95-373e-0410-b603-e72c3f656dc1
2009-10-16 12:08:22 +00:00
paulc 748e8b3ae6 Mark media as muted if chan.rtp returned an empty local IP address.
git-svn-id: http://voip.null.ro/svn/yate@2858 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-25 13:16:00 +00:00
paulc 3b553da8b1 Hold the ChanAssistList mutex between the list search and insertion of new assist in list.
This prevents race conditions between chan.startup and call.execute that could create two assist instances for the same channel.


git-svn-id: http://voip.null.ro/svn/yate@2853 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-23 14:00:38 +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 55590fd9d5 Also keep the ChanAssistList locked while adding a new assist to the list.
git-svn-id: http://voip.null.ro/svn/yate@2850 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-21 14:29:52 +00:00
paulc 5ae2aef6bc Hold the ChanAssistList mutex while removing an element.
Remove the assist from list before calling its msgHangup() method.


git-svn-id: http://voip.null.ro/svn/yate@2849 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-21 14:26:22 +00:00
paulc 72b1c03a19 Made RTPGroup join() and part() methods public.
git-svn-id: http://voip.null.ro/svn/yate@2837 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-14 18:47:43 +00:00
paulc 1c1216ada5 Add the media format to the chan.rtp message even if not starting it.
git-svn-id: http://voip.null.ro/svn/yate@2836 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-14 15:02:43 +00:00
paulc ab72da1219 Added several RTP paylods for MPEG (A/V) and MJPEG streams.
git-svn-id: http://voip.null.ro/svn/yate@2833 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-14 09:11:57 +00:00
paulc cea5f52b61 Provide the entire SDPMedia to the mediaChanged() mthod, not only the name of the media.
Add the "rtpid" parameter to the chan.rtp message if the media id() is available.


git-svn-id: http://voip.null.ro/svn/yate@2832 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-14 09:06:16 +00:00
marian ead9d36d3e Fixed error response matching for sent iq stanzas.
git-svn-id: http://voip.null.ro/svn/yate@2828 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-08 13:16:22 +00:00
paulc 56f89eca3e Fixed documentation generating comments for SIP classes.
git-svn-id: http://voip.null.ro/svn/yate@2823 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-06 14:58:18 +00:00
paulc 4b8527fca4 Added new methods to SIPDialog to compare only callid and tags (RFC 3261) and to retrieve the From and To URI or tags depending on direction.
Documented members of SIPDialog.


git-svn-id: http://voip.null.ro/svn/yate@2822 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-06 14:50:36 +00:00
paulc ad1dbdb955 Prevent the escaping of user-unreserved characters (RFC 3261 25.1 Page 222) when building the user part of SIP From and Contact.
git-svn-id: http://voip.null.ro/svn/yate@2817 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-01 14:42:28 +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 5b8b3431c6 Added separate library for interpreting lines of a SDP.
git-svn-id: http://voip.null.ro/svn/yate@2804 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-24 11:58:41 +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 9c7317c972 Added separate method to actually process a SIP message after identifying its transaction.
git-svn-id: http://voip.null.ro/svn/yate@2791 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-14 12:51:05 +00:00
paulc 1ae2b5f153 Transmit the internally generated 408 answer, prevent the stack from immediately cleaning up the transaction.
git-svn-id: http://voip.null.ro/svn/yate@2790 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-14 11:34:04 +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 c1634df9c4 Detect EOF condition on socket.
git-svn-id: http://voip.null.ro/svn/yate@2779 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-03 10:26:42 +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 14ace8e2ca Accept session type "reject" for terminating Jingle version 0 sessions.
git-svn-id: http://voip.null.ro/svn/yate@2769 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-24 11:38:42 +00:00
paulc 258aff23e0 Made XMPP stream terminate if the host address could not be resolved.
git-svn-id: http://voip.null.ro/svn/yate@2768 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-24 11:07:23 +00:00
paulc c56c469f0f Use the platform idle time in various sleeps in SIP and Jabber.
Fixed a compiler warning about the copy constructor of Mutex and 
Semaphore.


git-svn-id: http://voip.null.ro/svn/yate@2763 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-22 15:41:28 +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 17bd631324 Added an unified Thread::idle method, use it instead of arbitrary
sleeps.


git-svn-id: http://voip.null.ro/svn/yate@2737 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-24 16:47:29 +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 85ef8e4d49 Changed thread names to be uniform and easily readable.
git-svn-id: http://voip.null.ro/svn/yate@2733 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 14:48:26 +00:00
paulc d095227d30 Fixed more warnings on different platforms.
git-svn-id: http://voip.null.ro/svn/yate@2726 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-19 11:58:33 +00:00
paulc 86ab316486 Two more warning fixes.
git-svn-id: http://voip.null.ro/svn/yate@2725 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-19 11:28:25 +00:00
paulc eb2a9cd5e0 Fixed warnings and a few minor bugs when compiling on a different architecture.
git-svn-id: http://voip.null.ro/svn/yate@2724 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-19 11:19:20 +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
marian 3173547682 Keep the stream alive while connecting.
git-svn-id: http://voip.null.ro/svn/yate@2708 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-13 18:47:20 +00:00
marian c189cbc763 Don't resolve the remote domain in constructor: avoid blocking the thread creating the stream. Don't try to connect if failed to resolve the remote domain.
git-svn-id: http://voip.null.ro/svn/yate@2707 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-13 18:46:00 +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
marian 1a4b9fd050 Fixed bug: avoid calling tinyxml's SetAttribute() with NULL char pointer parameter(s) (leads to crash).
git-svn-id: http://voip.null.ro/svn/yate@2687 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-04 16:26:01 +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
marian 283dd92294 Implemented old jingle protocol support.
git-svn-id: http://voip.null.ro/svn/yate@2666 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-31 15:22:08 +00:00
marian 9a0a6f7d7c Added base abstract class for jingle sessions.
git-svn-id: http://voip.null.ro/svn/yate@2662 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-29 08:39:33 +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
marian 5af3deb2d5 The client stream is now allowing disco info/items responses to be received by the upper layer.
git-svn-id: http://voip.null.ro/svn/yate@2656 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-28 07:28:11 +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
marian 213fd2bf43 Added jabber:iq:private namespace.
git-svn-id: http://voip.null.ro/svn/yate@2647 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-22 13:23:58 +00:00
paulc caaf7433f0 Add a Contact header to INVITE even if user part of URI is empty.
Properly escape the user component of the URI.


git-svn-id: http://voip.null.ro/svn/yate@2645 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-21 20:57:51 +00:00
marian 3bc5415fc1 From now on the stanza_timeout value is expected to be given in milliseconds.
git-svn-id: http://voip.null.ro/svn/yate@2631 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-19 12:57:20 +00:00
marian d549fe185e Implemented jingle session ping (check session existence at remote party).
git-svn-id: http://voip.null.ro/svn/yate@2630 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-19 12:27:39 +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 cfa182b1d5 Do not display the warn if a duplicate sequence number RTP packet is received.
git-svn-id: http://voip.null.ro/svn/yate@2616 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-06 16:37:08 +00:00
paulc 9ec4af603c Attempt to resync RTP sequence numbers if we dropped out of sync.
With SRTP try hard to keep sync as authentication requires correct sequence.


git-svn-id: http://voip.null.ro/svn/yate@2615 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-05 21:22:58 +00:00
paulc fe3a149e21 Added mutex names to most Yate libraries.
git-svn-id: http://voip.null.ro/svn/yate@2612 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-05 12:37:55 +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 6a9e663408 Accept MGCP responses with an empty comment.
git-svn-id: http://voip.null.ro/svn/yate@2594 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-24 15:38:11 +00:00
paulc 3a6c141dd4 Handle MGCP requests with versions other than 1.0
git-svn-id: http://voip.null.ro/svn/yate@2569 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-09 09:55:41 +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
marian 00cc59f450 Fixed conversion of an XML element to an output string.
git-svn-id: http://voip.null.ro/svn/yate@2503 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-02 16:30:43 +00:00
marian ea702fe128 The resource list is now keeping its items ordered by their priority (higher priority first).
git-svn-id: http://voip.null.ro/svn/yate@2501 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-02 09:44:05 +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
marian 4ca4b24f10 Added more features to be advertised in disco info.
git-svn-id: http://voip.null.ro/svn/yate@2487 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-19 08:33:23 +00:00
marian d96dc1043c Added RTP audio namespace.
git-svn-id: http://voip.null.ro/svn/yate@2486 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-19 08:31:50 +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 13ac6c49ff Support packing multiple RFC2833/4733 events in a RTP packet.
git-svn-id: http://voip.null.ro/svn/yate@2474 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-05 22:43:07 +00:00
marian e1c52c748a Fixed bug: set base when converting date/time to avoid failure when date/time components start with 0.
git-svn-id: http://voip.null.ro/svn/yate@2459 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-30 08:15:09 +00:00