Commit Graph

1632 Commits

Author SHA1 Message Date
paulc 88cb7cd7bc Use the "direction" parameter with fallback to "status" to decide if guest mode is to be used.
Patch by Allan Sandfeld Jensen.


git-svn-id: http://voip.null.ro/svn/yate@3399 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-24 14:02:48 +00:00
paulc 0d4a37642b Get onhold source from a channel parameter, making it possible to dynamically change it based on states or routing.
Needs to include "onhold" in the list of "pbxparams" to be stored.
Patch by Allan Sandfeld Jensen modified to use "onhold" as parameter name.


git-svn-id: http://voip.null.ro/svn/yate@3398 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-24 12:51:14 +00:00
paulc 3ee201a67e Add (dis)connect reason to all PBX operations with overridable defaults.
Default reasons for operReturnHold and operDoTransfer provided by Allan Sandfeld Jensen.


git-svn-id: http://voip.null.ro/svn/yate@3397 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-24 12:35:40 +00:00
paulc 6ff21bba45 Explicitely initialize the m_running field of ExtModChan too.
This was lost from a previous correct patch of Allan Sandfeld Jensen.


git-svn-id: http://voip.null.ro/svn/yate@3396 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-24 12:17:11 +00:00
paulc d60f7df5da Retain the external channel connect reason if available in call.execute message.
This is needed for some PBX operations.
Patch by Allan Sandfeld Jensen.


git-svn-id: http://voip.null.ro/svn/yate@3395 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-24 12:12:34 +00:00
paulc dc8bfca036 Initialize all fields of ExtModChan, clean up safer, use the safer version of getPeerId().
Patch by Allan Sandfeld Jensen.


git-svn-id: http://voip.null.ro/svn/yate@3394 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-24 12:09:17 +00:00
paulc 4275a9b6d5 Print uptime in days and hh:mm:ss instead of hhhhh:mm:ss so it's easier to read.
git-svn-id: http://voip.null.ro/svn/yate@3392 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-18 15:05:40 +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 b19d86b8e0 Made several Regexps static const so they are compiled only once, speeds up processing.
One instance spotted by Allan Sandfeld Jensen, others by grep.


git-svn-id: http://voip.null.ro/svn/yate@3389 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-17 11:08:00 +00:00
paulc 6e7460ed4c Support the ${param$defvalue} syntax in parameter matching similar to parameter expansions.
Original patch by Allan Sandfeld Jensen.


git-svn-id: http://voip.null.ro/svn/yate@3387 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-16 14:15:44 +00:00
paulc 3878b24178 Fixed a leftover comment.
git-svn-id: http://voip.null.ro/svn/yate@3383 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-16 10:50:24 +00:00
paulc 6404b73e70 Improved regexroute by allowing multiple extra handlers with different priorities and target contexts.
A match parameter can be specified for such an extra handler.
Original patch (that changed config syntax) by Allan Sandfeld Jensen.


git-svn-id: http://voip.null.ro/svn/yate@3382 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-16 10:46:22 +00:00
andrei a522ee0863 Added possibility to modify parameters in call.route message.
Added option to call alternatives for an account.
Improved reload.


git-svn-id: http://voip.null.ro/svn/yate@3378 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-15 07:32:09 +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 e5e9753e15 Added a YNOCOPY macro that declares private inaccessible assignment operator and copy constructor to prevent using the compiler generated ones.
Fixed a bug exposed by this change.


git-svn-id: http://voip.null.ro/svn/yate@3375 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-11 15:46:06 +00:00
paulc bcfcf63b9a Fixed a check in ysigchan component creation (probably harmless).
Bug spotted by Allan Sandfeld Jensen.


git-svn-id: http://voip.null.ro/svn/yate@3374 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-11 13:01:59 +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 86390dd114 Handle received SIGTRAN messages having only header and an empty body.
git-svn-id: http://voip.null.ro/svn/yate@3367 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-08 18:45:55 +00:00
paulc d9b07638b6 Made a lot of constructors explicit to prevent undesirable automatic conversions.
Fixed two undesirable automatic conversions exposed by this change.


git-svn-id: http://voip.null.ro/svn/yate@3366 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-08 15:25:05 +00:00
paulc 5ada883050 Fixed connect and send for stream transports.
Cleaned up and improved some debugging messages.


git-svn-id: http://voip.null.ro/svn/yate@3365 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-08 14:59:40 +00:00
marian 4806886d91 The sipfeatures module is now using the xml library to build dialog notification xml body. It can now build a dialog notification from call.cdr parameters.
git-svn-id: http://voip.null.ro/svn/yate@3363 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-03 12:54:48 +00:00
marian d422f8e867 Fixed event subscribe/notify handling. Copy cdr parameters when notifying dialog events from call.cdr.
git-svn-id: http://voip.null.ro/svn/yate@3362 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-03 12:05:51 +00:00
marian 77b4c13994 Fixed resource.notify parameters.
git-svn-id: http://voip.null.ro/svn/yate@3360 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-02 15:03:13 +00:00
paulc 65bda04e06 Fixed SIGTRAN I/O thread cleanup sequence.
Send a dummy MGMT NTFY message to bring up the SCTP message socket.
Fixed a bunch of syntax in debugging messages.


git-svn-id: http://voip.null.ro/svn/yate@3358 acf43c95-373e-0410-b603-e72c3f656dc1
2010-06-02 13:57:21 +00:00
marian 3578106230 The jingle module can now add entity caps children to already built presence elements for users in serviced domains. Allow overriding the resource.notify handler priority from config.
git-svn-id: http://voip.null.ro/svn/yate@3357 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-31 14:38:14 +00:00
marian cf101b8e68 Added jingle apps rtp audio namespace to the list of advertised features.
git-svn-id: http://voip.null.ro/svn/yate@3355 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-31 13:19:07 +00:00
marian 989d22fc5f The jingle module is now handling all resources if none is given in config.
git-svn-id: http://voip.null.ro/svn/yate@3354 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-31 13:14:43 +00:00
paulc b9cdacb68a Include the node name in the engine status and the default rmanager greeting.
git-svn-id: http://voip.null.ro/svn/yate@3352 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-28 17:07:49 +00:00
paulc 2ee2e1d77b Constified some static token tables.
git-svn-id: http://voip.null.ro/svn/yate@3345 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-27 13:45:39 +00:00
marian 6207f6143e Handle old XEP-0091 jabberdelay in received message stanzas.
git-svn-id: http://voip.null.ro/svn/yate@3342 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-26 08:48:15 +00:00
paulc 228c0762fb Allow to control (re)sending RequestNotify for DTMF events to the MGCP gateway.
git-svn-id: http://voip.null.ro/svn/yate@3327 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-17 12:10:52 +00:00
paulc af740d11df Check the SIGTRAN socket before accessing it, creation may have failed.
git-svn-id: http://voip.null.ro/svn/yate@3326 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-14 16:39:17 +00:00
paulc 2f9c496280 Replaced the span extension delimiter from ':' to '+' to avoid clash with voice group declaration.
git-svn-id: http://voip.null.ro/svn/yate@3324 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-14 12:51:19 +00:00
paulc e2d06465c4 Added setting for default bearer encoding per span.
git-svn-id: http://voip.null.ro/svn/yate@3320 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-13 14:31:08 +00:00
paulc bd11d3e2bc Support for linking statically the GSM, Speex and AMR-NB libraries.
git-svn-id: http://voip.null.ro/svn/yate@3317 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-13 12:00:19 +00:00
paulc 32ea971f33 Allow creating many gateway trunks using one section as template.
Keeps the config file small and readable for high density gateways.


git-svn-id: http://voip.null.ro/svn/yate@3316 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-12 17:36:52 +00:00
paulc 8e07c5fd49 Fixed the checking of incoming RUDP sequence numbers, the data could be confirmed and then lost.
Fixed the reporting of acknowledged packets that caused excessive retransmissions on high load conditions.
Fixed the NULL timer that was reset too often resulting in no RUDP NULL packets.


git-svn-id: http://voip.null.ro/svn/yate@3315 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-12 11:01:18 +00:00
paulc abf0c804e5 Added special targets "|exec" and timed version "|exec=NNNNN" to terminate a fork and dispatch call.execute directly to a target.
git-svn-id: http://voip.null.ro/svn/yate@3310 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-11 15:10:44 +00:00
paulc 780dcb94ba Renamed configuration parameter "default" to "cluster" to better describe its intended use. Made it by default false as is needed in all current scenarios.
git-svn-id: http://voip.null.ro/svn/yate@3306 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-11 12:06:26 +00:00
paulc 8906b3b6db Match local endpoint names like */*/* or prefix/*/* for MGCP messages from GW.
Use static regexps to speed up matching (avoid compiling every time).


git-svn-id: http://voip.null.ro/svn/yate@3305 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-11 11:43:53 +00:00
paulc a16eb004b2 Fixed various handling of the RUDP state and sequence numbers.
git-svn-id: http://voip.null.ro/svn/yate@3295 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-06 16:32:07 +00:00
paulc 260556bb53 Always refresh the ACK in retransmitted RUDP packets.
Improved debug mode messages related to RUDP sequence numbers.


git-svn-id: http://voip.null.ro/svn/yate@3294 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-06 12:40:16 +00:00
paulc 3d091d6ab4 Allow controlling the "printslt" parameter at runtime.
git-svn-id: http://voip.null.ro/svn/yate@3290 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-05 15:41:05 +00:00
paulc dbf8dd45a4 Added optional "voicechans" setting to indicate used MGCP voice circuits.
git-svn-id: http://voip.null.ro/svn/yate@3285 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-04 12:02:40 +00:00
paulc f3f446044f Added support for arbitrary circuit ranges usable in outbound calls.
git-svn-id: http://voip.null.ro/svn/yate@3284 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-04 11:30:35 +00:00
marian dfc47d0649 Use the new version of NamedList::addParam() to avoid adding empty values.
git-svn-id: http://voip.null.ro/svn/yate@3282 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-04 11:17:46 +00:00
paulc 73506e8d1a Allow to skip over SLT configuration and go directly to connect by setting the config retry interval to zero.
git-svn-id: http://voip.null.ro/svn/yate@3274 acf43c95-373e-0410-b603-e72c3f656dc1
2010-05-03 16:45:46 +00:00
paulc b7f9fd8331 Allow attaching an opposite type (consumer for tone and wave/play, source for wave/record) data node for tone and wave channels.
Simplifies creation of simple test routes.


git-svn-id: http://voip.null.ro/svn/yate@3260 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-30 15:19:51 +00:00
marian 57de91de51 Avoid adding empty parameters. Always add iq child element namespace to jabber.iq messages.
git-svn-id: http://voip.null.ro/svn/yate@3259 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-30 15:02:36 +00:00
marian 5a48e28e8d Add message stanza id to msg.route.
git-svn-id: http://voip.null.ro/svn/yate@3258 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-30 08:37:48 +00:00