Commit Graph

1288 Commits

Author SHA1 Message Date
paulc 7d8b6d3966 Added a single method to populate the database message and show the query in debug output.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2560 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-02 15:12:29 +00:00
paulc c9cdebef36 Support for RFC 4568 (SRTP security descriptors in SIP/SDP).
git-svn-id: http://yate.null.ro/svn/yate/trunk@2557 acf43c95-373e-0410-b603-e72c3f656dc1
2009-04-01 20:16:36 +00:00
paulc 5d0ad3e90b Support for RFC 3323 SIP Privacy header in addition to Remote-Party-ID.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2555 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-31 20:23:46 +00:00
paulc 57ca222b94 Made generation of outgoing INVITE Diversion header more flexible.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2553 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-30 10:29:29 +00:00
paulc 988d0431ff Added option to execute call diversion requested by a signalling protocol.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2552 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-29 21:14:37 +00:00
paulc 9417c5bc30 Added an explicit boolean redirect parameter to simplify detecting a redirection or diversion.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2551 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-29 18:37:32 +00:00
paulc f1fbe9d358 Handle the Diversion header and its most important parameters.
If a 3xx answer is received copy the relevant info in the chan.disconnected message so the redirect can be followed.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2550 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-29 18:20:41 +00:00
marian 637ce15a69 Fixed loaded time output message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2545 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-26 15:45:10 +00:00
paulc 13cc53ff77 Allow mysqldb to compile on systems without mysql_set_character_set.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2539 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-24 19:59:59 +00:00
paulc c5835a2207 Added query parameter ${length} that holds length of binary data.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2537 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-24 16:09:50 +00:00
paulc 057a5be02f Added regexroute functions '$' and 'chr'.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2536 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-24 16:00:33 +00:00
paulc 0d61814eb8 Added dbwave module that can play or record from a binary database field.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2535 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-23 15:58:01 +00:00
paulc 83069bb94c Added setting for client character set (encoding) of the MySQL connection.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2534 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-23 15:43:15 +00:00
paulc 55ade880dc Allow passing streams or data blocks to be played or recorded instead of disk files.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2532 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-22 21:38:29 +00:00
paulc f2b2e01529 Complain less loud about unmatched messages while the module is disconnecting.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2531 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-22 21:36:49 +00:00
paulc d544fdf1dc Added setting for client_encoding of the PostgreSQL connection.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2530 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-22 21:35:13 +00:00
marian 20e742d313 Add caller URI parameter to call.route message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2526 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-20 10:00:38 +00:00
paulc ecd08db6c8 Directly route clustered calls on target if possible and called number is empty.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2524 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-11 15:44:58 +00:00
paulc 6a4154f429 SQL escape engine runtime parameters substituted in init query.
Apply engine parameter substitution to indirect queries too.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2523 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-11 15:13:33 +00:00
paulc a105d65943 Allow replacing engine runtime parameters in the init query.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2522 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-11 15:02:59 +00:00
marian b6cca5c6ba Route attended transfer when requested dialog is unknown.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2521 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-11 12:22:52 +00:00
paulc c741cf6b4f Added call.cdr handler to add "nodename" and "nodeprefix" cluster parameters.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2520 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-11 10:41:22 +00:00
paulc 4038003715 Use Stream objects instead of operating system handles.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2515 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-05 15:46:27 +00:00
paulc 7feb8f700a Silenced compiler warnings regarding the non-virtual destructor of SOCKSEngine.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2514 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-05 13:12:09 +00:00
paulc d46d577cbd Moved length() and seek() methods to the Stream class so seekable streams can be implemented.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2513 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-05 13:10:31 +00:00
paulc f1275550d3 Use the stored "copyparams" as a fallback for the list of parameters to be copied out of the keep in new messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2511 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-04 18:04:53 +00:00
paulc b74dbc4717 In call dialog messages can be sent with xsip.generate by specifying an "id" parameter matching the channel id.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2510 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-04 16:53:26 +00:00
marian d01535f75c The module is now handling the REFER method with attended transfer requests. The connection maps the 'diverter' parameter to/from 'Referred-By' header.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2508 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-03 12:35:06 +00:00
paulc 05b717e0b9 ISDN BRI support, most Andrei's (andrei@null.ro) work.
Fixes and new features throughout the signalling engine.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2505 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-02 18:51:30 +00:00
marian c71a8ccf62 Fixed bug: don't remove items added to the list of rejected contents built when processing content add requests.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2502 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-02 10:01:32 +00:00
paulc 4790e58b10 Fixed several state inconsistencies that could cause a call to remain on hold or dialtone.
Option to dial back calls that were on hold when their control call leg hang up.
Option in "fortransfer" operation to perform attended transfer on hangup of control call leg.
New operation "dialtone" the puts the current peer on hold then puts the dialtone.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2495 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-24 23:24:10 +00:00
marian 0015e906ee The source and consumer are no adding the stored parameters to notification messages (except for progressing). The channel owning the source/consumer is now added in 'start' notification.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2489 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-20 18:05:45 +00:00
paulc 335d0d57a0 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://yate.null.ro/svn/yate/trunk@2484 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-18 17:01:48 +00:00
paulc 3b0ba08887 Emit notify when queued call was picked by an operator.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2482 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-16 19:06:12 +00:00
paulc 6f5890e792 Added setting for the address the H.323 endpoint binds to.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2481 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-10 15:07:35 +00:00
paulc 3a3f0dcabd Fixed several places in wavefile where ntoh* was used instead on the hton* functions. Harmless but confusing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2480 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-10 13:45:52 +00:00
paulc 21a195a4e5 Fixed initial TELNET sequence to leave cursor at the start of line on some clients.
Made welcome/header string parametrizable.
Added to sample file missing parameter telnet.

git-svn-id: http://yate.null.ro/svn/yate/trunk@2478 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-07 12:57:24 +00:00
paulc b7614cf5ed When displaying a debug message erase and later restore the edited line.
Got rid of a variable unused in non-debug compiling that caused a warning.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2477 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-07 12:01:10 +00:00
paulc 2af44bd848 Return binary SQL query results as a DataBlock.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2476 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-06 19:55:12 +00:00
paulc 045d5bae9f Made call fork module unloadable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2472 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-04 14:35:12 +00:00
paulc 0e9e481f49 Keep the fork master referenced while the slave executes disconnect.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2471 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-04 14:08:54 +00:00
paulc 762d4b41e2 Look up Q.931 codes in a new table before attempting OpenH323 translated causes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2469 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-03 17:16:58 +00:00
paulc 5ff2e4fe80 Receive buffer size for SIP UDP packets is now configurable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2468 acf43c95-373e-0410-b603-e72c3f656dc1
2009-02-02 16:09:02 +00:00
paulc f57aed64f6 Made several tables static const.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2466 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-31 23:22:27 +00:00
marian a19645551a The workers for data source/consumer are now holding a referenced pointer to their clients and run as long as the client's reference counter is greater then 1.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2461 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-30 08:37:21 +00:00
marian 76d6ba93a4 Make sure the default point code configured for an ISUP call controller can be found in it's list of point codes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2460 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-30 08:34:00 +00:00
paulc 43d542db69 Fixed the MySQL library and thread initialization.
Deal with failed connection attempts, try to reconnect on initialize.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2455 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-26 23:27:33 +00:00
marian 1cf06dd954 Avoid adding twice the crypto_key param to chan.rtp message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2453 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-23 10:26:29 +00:00
paulc 9b292f5868 Fixed some warnings and genuine bugs exposed by newer gcc.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2447 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-20 12:27:53 +00:00
marian 86bf0942a5 Lock driver while creating an outgoing connection to prevent presence processing by an incomplete connection.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2439 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-14 15:21:34 +00:00