marian
2799ffcfdd
Added new function used to escape and concatenate message parameters: old function raises a warning in newer PHP versions.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6534 acf43c95-373e-0410-b603-e72c3f656dc1
2022-01-04 13:44:35 +00:00
marian
76f34963e6
Replaced usage of curly brackets with square brackets in string element access.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6529 acf43c95-373e-0410-b603-e72c3f656dc1
2021-12-06 09:10:12 +00:00
marian
3da9ab068f
Extended Yate Output and Debug functions to support the 'debug' function of extmodule and send an escaped string.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6473 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-01 09:12:08 +00:00
monica
a017421895
Fixes to remove warnings when running in php7.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6464 acf43c95-373e-0410-b603-e72c3f656dc1
2021-03-12 11:34:37 +00:00
paulc
7f58764ca4
Honor the PHP error reporting settings and the @ suppression operator.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6424 acf43c95-373e-0410-b603-e72c3f656dc1
2020-09-01 10:58:05 +00:00
paulc
8941a23e94
Handle retryable errors caused by interrupted system calls.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6423 acf43c95-373e-0410-b603-e72c3f656dc1
2020-09-01 10:01:32 +00:00
paulc
1b3904f58e
Added support for banning IPv6 addresses.
...
Prevent banning the loopback address.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6274 acf43c95-373e-0410-b603-e72c3f656dc1
2017-10-30 14:54:16 +00:00
paulc
2a0c76f8d5
Added a Text-to-Speech script wrapper for Festival.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6127 acf43c95-373e-0410-b603-e72c3f656dc1
2016-07-29 17:05:28 +00:00
paulc
78e486e6c0
Allow restarting external modules only if we started them.
...
Add address in status information for inbound connections.
Added Yate::Quit() function in PHP library.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6078 acf43c95-373e-0410-b603-e72c3f656dc1
2015-12-15 11:30:07 +00:00
paulc
9a2ddd019e
Added support for resizing the extmodule read buffer.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6075 acf43c95-373e-0410-b603-e72c3f656dc1
2015-12-02 16:16:52 +00:00
paulc
3c44c23f6c
Fixed a race condition between attaching data source and sending progress/answer.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6059 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-11 11:07:01 +00:00
paulc
b5c3fec0b9
Added SIP-T capable version of the sample voicemail leaving script.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6056 acf43c95-373e-0410-b603-e72c3f656dc1
2015-10-15 12:04:36 +00:00
paulc
2c7bd66168
Do not flush the output when connecting over a PHP socket, it is useless and causes "Headers already sent" when used from a Web server.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6011 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-30 12:48:32 +00:00
paulc
291f99f676
Fix bashish (automatic use of REPLY in read) in shell scripts.
...
Make sure backslash is not used as escape in shell reads.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5927 acf43c95-373e-0410-b603-e72c3f656dc1
2014-12-16 09:39:41 +00:00
paulc
ebd530e42d
Check if parameters are defined instead of interpreting as booleans.
...
Fixes bug #359 "Yate.pm removes '0' values from all (even not handled) messages".
Patch by Vasily i. Redkin <vir@ctm.ru>
git-svn-id: http://yate.null.ro/svn/yate/trunk@5773 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-11 12:43:20 +00:00
paulc
480c8d88c9
Added back install of Yate.pm accidentally removed by Rev 5771.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5772 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-11 12:34:17 +00:00
paulc
fc6d082bd4
Echo.sh needs to be executable.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5771 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-10 16:55:59 +00:00
paulc
2d742506c6
Install the echo.sh needed by yate-bts NIB.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5770 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-10 16:02:10 +00:00
paulc
954c80ae16
Install the Eliza Javascript files.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5769 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-10 15:35:27 +00:00
paulc
1e385a32a6
Added Javascript Eliza chat bot.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5764 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-10 10:02:17 +00:00
paulc
37a72e4bc1
Added copyright notices to sources and scripts missing them.
...
Updated copyright notices for 2014.
Fixed end of lines in many files.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5755 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 11:42:17 +00:00
paulc
cf5d0fd71a
Changed license terms in each source file to reference an external file.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5609 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 13:38:10 +00:00
paulc
ab23197719
Use message watches in bruteforcers ban script to improve behavior under load.
...
Improved some code comments in the script.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5594 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-01 09:11:43 +00:00
paulc
d9f060d1c4
Added tracked name to relevant sample PHP scripts.
...
Added instructions about Yate::Output to a number of PHP scripts.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5506 acf43c95-373e-0410-b603-e72c3f656dc1
2013-05-16 12:08:13 +00:00
paulc
db6a2ae562
If socket connection is required by libyate.php check if the PHP sockets extension is loaded.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5411 acf43c95-373e-0410-b603-e72c3f656dc1
2013-02-15 10:10:38 +00:00
paulc
989b83725e
Install filtered handlers for overlapped script messages.
...
Watch the "engine.timer" instead of installing a handler for it.
Overall these changes reduce contention in the script.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5270 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-19 10:57:11 +00:00
paulc
491287223c
Added the banbrutes PHP script to the default install.
...
Added note that Yate needs to run as root for banbrutes.php to work.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5221 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-13 14:15:22 +00:00
paulc
67d31320e2
Added long time missing flow.py library file.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5132 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-19 09:53:12 +00:00
paulc
a1ec767e08
Allow setting the handler tracking name by individual external scripts.
...
This must be set before installing the handlers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5123 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-15 11:19:31 +00:00
paulc
7a4d687777
Request minimal completing in masqueraded call.execute for overlap dialing.
...
Avoids overwriting parameters changed from routing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5077 acf43c95-373e-0410-b603-e72c3f656dc1
2012-05-29 08:53:22 +00:00
paulc
e12737a6e3
Allow specifying the ban bruteforcers limit in extmodule.conf
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5052 acf43c95-373e-0410-b603-e72c3f656dc1
2012-05-09 15:41:29 +00:00
paulc
a987ccdf69
Added copyright and licensing information to PHP scripts.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@4997 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-05 12:31:23 +00:00
paulc
f50b61fbf7
Allow "caller" and "called" parameters to be altered by the overlapped routing.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@4823 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-30 16:02:22 +00:00
paulc
3de538ed4e
Do not overwrite the original call leg id while doing overlapped routing.
...
The id of the script itself is available anyway as targetid.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4821 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-26 12:00:34 +00:00
paulc
df3985ab9e
Made the menu a little more informative when recording a greeting.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@4782 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-20 13:38:05 +00:00
paulc
3072b27829
Added possibility to ask just for the password for voicemail.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@4781 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-20 10:50:11 +00:00
paulc
f3003924d2
Emit a call.progress from leavemail so the caller hears the "voicemail not set up" prompt.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@4780 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-20 10:49:31 +00:00
paulc
b7d2dd4cef
Added a PHP Yate::GetLocal cleaner shortcut to retrieve a local parameter.
...
Added libyate.php tests for GetLocal.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4652 acf43c95-373e-0410-b603-e72c3f656dc1
2011-10-25 08:54:04 +00:00
marian
fc58b9dfdf
Remember connection when handling a subscription. Put it in notification messages.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@4535 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-29 15:21:20 +00:00
paulc
d0062e10b1
Indicate when overlapped dialing is ending.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@4477 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-07 20:43:05 +00:00
paulc
a92a1034cd
Changed algorithm and default ban limit to accomodate devices that register and subscribe to several resources.
...
Made the debugging and ban limit modifiable at runtime.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4453 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-10 15:06:11 +00:00
paulc
915d0914ec
Commented out debugging accidentally left on.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@4452 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-10 13:42:45 +00:00
paulc
31b8230290
Emit new message "user.authfail" for paswword mismatch for existing users.
...
Use that message in the ban script.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4451 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-10 13:39:24 +00:00
paulc
19828a33c7
Added PHP script to detect and block brute force attackers.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@4450 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-10 12:36:55 +00:00
marian
7681cf274e
Send a message for each tone. Handle a pipe char as a 1 second delay. Watch chan.replaced messages also to handle tones.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@4448 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-09 10:19:09 +00:00
marian
024157311d
Message handling must be explicitly enabled.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@4447 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-08 14:47:29 +00:00
marian
843ba51e04
Added post answer send dtmf global script.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@4446 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-08 13:44:23 +00:00
paulc
5b3ca10782
As much as possible process messages in external scripts after acknowledging them.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@4398 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-19 14:40:26 +00:00
paulc
25f271b4b6
Added support for interdigit timer in overlapped dialer.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@4395 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-19 11:18:22 +00:00
paulc
388310135c
Added capability of handling SIP PUBLISH method in PHP features script.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@4354 acf43c95-373e-0410-b603-e72c3f656dc1
2011-05-04 09:33:42 +00:00