Commit Graph

3949 Commits

Author SHA1 Message Date
paulc 8a0ced911e Report textual status of call controllers (trunks).
git-svn-id: http://yate.null.ro/svn/yate/trunk@4163 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-07 14:57:07 +00:00
paulc ded7f362c4 Added setting for the extra SIP flags in requests.
Add a "sip/" in front of a callto resource that starts with a SIP URI.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4162 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-07 13:52:39 +00:00
paulc 6a09c86bad Added flags that control how SIP message components are automatically completed.
These flags can be configured per engine and can be overridden in some messages by setting an "xsip_flags" parameter.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4161 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-07 13:50:59 +00:00
paulc 453fe76909 Set the value of rport parameter (RFC 3581) in the topmost Via header only if the parameter is already set by the client or proxy and has no value.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4160 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-07 11:56:43 +00:00
paulc 76e6284f25 Check if the remote Point Code is set in ISUP before using it.
Code was crashing if an ISUP was started with an invalid configuration.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4159 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-04 21:06:55 +00:00
paulc 9220b4b3ad Send repeatedly Link Status messages during M2PA proving, some implementations require them.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4158 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-04 19:39:47 +00:00
paulc f51650ed5d Added support for changeover and changeback messages on networks like ANSI where the SLC is not stored in the routing label's SLS.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4157 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-04 19:02:56 +00:00
paulc f009ef0440 Fixed the way ISUP calls are released when media cannot be started or checked.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4156 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-04 14:42:14 +00:00
paulc ac3da510d7 Start the M2PA ACK timer before sending the SIGTRAN packet.
Prevents a race condition from clearing the timer too early.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4155 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-04 14:29:12 +00:00
paulc 062ff961be Do not emit chan.disconnected for the master of a fork already answered.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4154 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-04 14:25:08 +00:00
paulc e73be17873 Replace engine parameters in the path of modules loaded from [preload] or [postload] sections.
This allows using ${modulepath} and ${modsuffix} so an absolute path is no longer required.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4153 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-03 19:44:21 +00:00
paulc 96dcbc2305 Added module to perform CNAM and LNP queries via SIP INVITE / 3xx.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4152 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-03 14:47:52 +00:00
paulc 8978a9232b Added subdirectory for SIP related feature modules.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4151 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-03 14:39:17 +00:00
marian 6a337d5482 Use async connect if available. The stream connect timeout value is no longer global: it's used for each connect attempt (configured address, srv record, domain). Remember connect status and re-connect starting from old status. Added srv query timeout configurable option.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4150 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-03 13:02:29 +00:00
paulc 11e1b27e83 Added capability to set response code and additional parameters when redirecting a SIP call as UAS.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4149 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-02 16:58:22 +00:00
marian 5f0adc7c0e Added method used to check if a non blocking operation is in progress. Added method used to update the socket error when a non blocking operation completed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4148 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-02 14:29:05 +00:00
paulc 2afe580292 Added failsafes to prevent reusing an ISUP circuit if a call still owns it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4147 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-02 12:10:54 +00:00
paulc fab228f421 Do not Idle a Failed or Missing MGCP circuit whose connection was deleted by the gateway.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4146 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-02 11:36:30 +00:00
paulc 170625c33e Added the newer Number Translated and QoR Routing flags to ISUP Forward Call Indicators.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4145 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-01 17:49:28 +00:00
paulc 8b67738012 Always copy parameters listed in "copyparams" to chan.startup of dumbchan.
Simplified code that copies the same parameters to call.route message.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4144 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-01 17:13:17 +00:00
paulc 74f7a015a5 Preserve the editor buffer when rmanager is in "machine on" mode.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4143 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-01 16:51:11 +00:00
paulc 3c724527a4 Copy SIP headers and decode ISUP (SIP-T/SIP-I) body to disconnect parameters.
Parameters are put in local chan.hangup and peer's chan.disconnected messages.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4142 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-01 16:08:52 +00:00
paulc b1bcd4d95b Clear disconnect parameters after retrieving them once.
Being set by the peer we don't want them in our chan.hangup message.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4141 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-01 16:06:22 +00:00
paulc 987ad05f34 Added status detail to the pbxassist module.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4140 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-01 14:22:42 +00:00
paulc d1304625df Copy more parameters in the chan.startup of the fork master.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4139 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-28 18:10:51 +00:00
paulc 1f7cec2d2e Enable sending chan.startup/disconnected/hangup messages from the fork master, they are required for proper PBX operation.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4138 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-28 17:58:26 +00:00
oana da4a7dbc6e Fixed building of module.update messages for database modules.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4137 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-28 17:47:58 +00:00
paulc e158895878 Delete "peerid" parameter from a forked call.execute as it is incorrect for the new context - the fork master did already replace that peer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4136 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-28 16:18:21 +00:00
paulc ed6a9a8599 Fixed incomplete command bug in iLBC detection introduced by Rev 4132.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4135 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-25 16:53:03 +00:00
marian 359669caac Documented changed stream setup minimum allowed value.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4134 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-25 12:21:04 +00:00
paulc e83baaea4c Fixed building qt4 modules outside the source directory.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4133 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-25 12:08:38 +00:00
paulc 8dd7062f82 Fixed building the modules/ilbccodec.yate if the source path contains spaces or some special characters.
Refuse to configure in a separate build directory if the source path has spaces or special characters in name.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4132 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-25 11:16:30 +00:00
marian e6fe117b0e Changed stream start timeout values.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4131 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-25 10:53:23 +00:00
marian 6b19fa2c19 Changed stream setup and connect default and maximum timeout values.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4130 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-25 09:58:56 +00:00
marian d63591560e Use a NamedIterator (faster) to build a roster item from a list of parameters.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4129 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-24 12:31:52 +00:00
marian b5719c5e7a Use a NamedIterator (faster) to search for contact groups in input list.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4128 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-23 15:58:17 +00:00
marian c1c69036fb Create yate cluster listener and connections. Send/receive yate messages on cluster streams.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4127 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-23 12:40:40 +00:00
paulc f2aeb724f5 Display the proper OPC/DPC in the debug message when sending a SLTA.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4126 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-23 12:11:03 +00:00
paulc d9732b76bf Fix a number of inefficient NamedList iterations using O(n^2) steps when they only need O(n) steps.
Prevent adding a NULL parameter to a NamedList.
Original patch by Allan Sandfeld.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4125 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-23 10:26:26 +00:00
paulc 8700101f2c Added a fast unsafe iterator for parameters of NamedList.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4124 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-23 10:06:00 +00:00
paulc 3c68f81604 Fixed a double release of a circuit that could cause a race condition leading to multiple calls per circuit.
Removed an unnecessary release of the current reset circuit.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4123 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-22 13:11:32 +00:00
marian 4e4ae64f6f Always restart cluster streams with InError flag set.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4122 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-21 15:59:28 +00:00
paulc a8c6c7d2b6 Constified all TokenDicts in the ysig library.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4121 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-21 11:56:06 +00:00
paulc d8255c7ee1 Added a Media Required setting to Call Controllers.
Drop the call if a required circuit setup failed.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4120 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-21 11:42:10 +00:00
paulc b174d30671 When attempting RTP forwarding do not reset the SDP information if MGCP connection fails.
The information is instead preserved for possible later retries.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4119 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-21 11:32:25 +00:00
paulc 2893ed83e7 Added possibility for pbxassist to match pseudostate "first" - on first key(s) processed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4118 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-18 16:40:37 +00:00
marian a7f2231773 Authentication username can now be configured for sip accounts.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4117 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-18 16:13:05 +00:00
marian e9f820345e Added cluster stream.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4116 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-18 16:07:46 +00:00
marian fba5bf3042 Added conversion methods between NamedList parameters and XmlElement objects.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4115 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-18 16:04:07 +00:00
paulc baddd611c9 Start a newly created Cisco SLT link if its Session is already operational.
This allows proper dynamic addition of links in existing sessions.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4114 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-18 12:40:45 +00:00