Ioana Stanciu
99cc9740b7
Update copyright for shell scripts.
2023-05-29 14:47:07 +03:00
Ioana Stanciu
c56216f5a8
Updated copyright notices.
2023-05-23 17:01:06 +03:00
Ioana Stanciu
ca129ad5ba
Import SVN ignore propgs to git.
2023-02-17 16:53:39 +02:00
marian
be12daef1e
Added new function used to escape and concatenate message parameters: old function raises a warning in newer PHP versions.
...
git-svn-id: http://voip.null.ro/svn/yate@6534 acf43c95-373e-0410-b603-e72c3f656dc1
2022-01-04 13:44:35 +00:00
marian
d807ff59d0
Replaced usage of curly brackets with square brackets in string element access.
...
git-svn-id: http://voip.null.ro/svn/yate@6529 acf43c95-373e-0410-b603-e72c3f656dc1
2021-12-06 09:10:12 +00:00
marian
a6bd1f9952
Extended Yate Output and Debug functions to support the 'debug' function of extmodule and send an escaped string.
...
git-svn-id: http://voip.null.ro/svn/yate@6473 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-01 09:12:08 +00:00
monica
670022ca53
Fixes to remove warnings when running in php7.
...
git-svn-id: http://voip.null.ro/svn/yate@6464 acf43c95-373e-0410-b603-e72c3f656dc1
2021-03-12 11:34:37 +00:00
paulc
dc054da3d8
Honor the PHP error reporting settings and the @ suppression operator.
...
git-svn-id: http://voip.null.ro/svn/yate@6424 acf43c95-373e-0410-b603-e72c3f656dc1
2020-09-01 10:58:05 +00:00
paulc
8b4f9a45e4
Handle retryable errors caused by interrupted system calls.
...
git-svn-id: http://voip.null.ro/svn/yate@6423 acf43c95-373e-0410-b603-e72c3f656dc1
2020-09-01 10:01:32 +00:00
paulc
90f118868e
Added support for banning IPv6 addresses.
...
Prevent banning the loopback address.
git-svn-id: http://voip.null.ro/svn/yate@6274 acf43c95-373e-0410-b603-e72c3f656dc1
2017-10-30 14:54:16 +00:00
paulc
f032304642
Added a Text-to-Speech script wrapper for Festival.
...
git-svn-id: http://voip.null.ro/svn/yate@6127 acf43c95-373e-0410-b603-e72c3f656dc1
2016-07-29 17:05:28 +00:00
paulc
7cd9c77c68
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://voip.null.ro/svn/yate@6078 acf43c95-373e-0410-b603-e72c3f656dc1
2015-12-15 11:30:07 +00:00
paulc
bb53723549
Added support for resizing the extmodule read buffer.
...
git-svn-id: http://voip.null.ro/svn/yate@6075 acf43c95-373e-0410-b603-e72c3f656dc1
2015-12-02 16:16:52 +00:00
paulc
d3ea52ac83
Fixed a race condition between attaching data source and sending progress/answer.
...
git-svn-id: http://voip.null.ro/svn/yate@6059 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-11 11:07:01 +00:00
paulc
e415513678
Added SIP-T capable version of the sample voicemail leaving script.
...
git-svn-id: http://voip.null.ro/svn/yate@6056 acf43c95-373e-0410-b603-e72c3f656dc1
2015-10-15 12:04:36 +00:00
paulc
1b6d6773c1
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://voip.null.ro/svn/yate@6011 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-30 12:48:32 +00:00
paulc
8c917c7957
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://voip.null.ro/svn/yate@5927 acf43c95-373e-0410-b603-e72c3f656dc1
2014-12-16 09:39:41 +00:00
paulc
02150d4631
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://voip.null.ro/svn/yate@5773 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-11 12:43:20 +00:00
paulc
fb687a8986
Added back install of Yate.pm accidentally removed by Rev 5771.
...
git-svn-id: http://voip.null.ro/svn/yate@5772 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-11 12:34:17 +00:00
paulc
533567c685
Echo.sh needs to be executable.
...
git-svn-id: http://voip.null.ro/svn/yate@5771 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-10 16:55:59 +00:00
paulc
1ec3d0b210
Install the echo.sh needed by yate-bts NIB.
...
git-svn-id: http://voip.null.ro/svn/yate@5770 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-10 16:02:10 +00:00
paulc
c065324a0c
Install the Eliza Javascript files.
...
git-svn-id: http://voip.null.ro/svn/yate@5769 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-10 15:35:27 +00:00
paulc
6e932a8037
Added Javascript Eliza chat bot.
...
git-svn-id: http://voip.null.ro/svn/yate@5764 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-10 10:02:17 +00:00
paulc
d56cecb40e
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://voip.null.ro/svn/yate@5755 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 11:42:17 +00:00
paulc
18e10bfd69
Changed license terms in each source file to reference an external file.
...
git-svn-id: http://voip.null.ro/svn/yate@5609 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 13:38:10 +00:00
paulc
b5ba94fded
Use message watches in bruteforcers ban script to improve behavior under load.
...
Improved some code comments in the script.
git-svn-id: http://voip.null.ro/svn/yate@5594 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-01 09:11:43 +00:00
paulc
fef8255f07
Added tracked name to relevant sample PHP scripts.
...
Added instructions about Yate::Output to a number of PHP scripts.
git-svn-id: http://voip.null.ro/svn/yate@5506 acf43c95-373e-0410-b603-e72c3f656dc1
2013-05-16 12:08:13 +00:00
paulc
b76cc849fe
If socket connection is required by libyate.php check if the PHP sockets extension is loaded.
...
git-svn-id: http://voip.null.ro/svn/yate@5411 acf43c95-373e-0410-b603-e72c3f656dc1
2013-02-15 10:10:38 +00:00
paulc
fd2f09023a
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://voip.null.ro/svn/yate@5270 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-19 10:57:11 +00:00
paulc
0ff8708bd4
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://voip.null.ro/svn/yate@5221 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-13 14:15:22 +00:00
paulc
22a09c086b
Added long time missing flow.py library file.
...
git-svn-id: http://voip.null.ro/svn/yate@5132 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-19 09:53:12 +00:00
paulc
55d79930e8
Allow setting the handler tracking name by individual external scripts.
...
This must be set before installing the handlers.
git-svn-id: http://voip.null.ro/svn/yate@5123 acf43c95-373e-0410-b603-e72c3f656dc1
2012-06-15 11:19:31 +00:00
paulc
45ee9e72ba
Request minimal completing in masqueraded call.execute for overlap dialing.
...
Avoids overwriting parameters changed from routing.
git-svn-id: http://voip.null.ro/svn/yate@5077 acf43c95-373e-0410-b603-e72c3f656dc1
2012-05-29 08:53:22 +00:00
paulc
a99ad888e2
Allow specifying the ban bruteforcers limit in extmodule.conf
...
git-svn-id: http://voip.null.ro/svn/yate@5052 acf43c95-373e-0410-b603-e72c3f656dc1
2012-05-09 15:41:29 +00:00
paulc
8005dd84b7
Added copyright and licensing information to PHP scripts.
...
git-svn-id: http://voip.null.ro/svn/yate@4997 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-05 12:31:23 +00:00
paulc
71541545d7
Allow "caller" and "called" parameters to be altered by the overlapped routing.
...
git-svn-id: http://voip.null.ro/svn/yate@4823 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-30 16:02:22 +00:00
paulc
503b84e49f
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://voip.null.ro/svn/yate@4821 acf43c95-373e-0410-b603-e72c3f656dc1
2012-01-26 12:00:34 +00:00
paulc
d4644c7ece
Made the menu a little more informative when recording a greeting.
...
git-svn-id: http://voip.null.ro/svn/yate@4782 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-20 13:38:05 +00:00
paulc
bebaa990b1
Added possibility to ask just for the password for voicemail.
...
git-svn-id: http://voip.null.ro/svn/yate@4781 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-20 10:50:11 +00:00
paulc
314de2413c
Emit a call.progress from leavemail so the caller hears the "voicemail not set up" prompt.
...
git-svn-id: http://voip.null.ro/svn/yate@4780 acf43c95-373e-0410-b603-e72c3f656dc1
2011-12-20 10:49:31 +00:00
paulc
53d36427e3
Added a PHP Yate::GetLocal cleaner shortcut to retrieve a local parameter.
...
Added libyate.php tests for GetLocal.
git-svn-id: http://voip.null.ro/svn/yate@4652 acf43c95-373e-0410-b603-e72c3f656dc1
2011-10-25 08:54:04 +00:00
marian
092f55cb2a
Remember connection when handling a subscription. Put it in notification messages.
...
git-svn-id: http://voip.null.ro/svn/yate@4535 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-29 15:21:20 +00:00
paulc
0a3c764f56
Indicate when overlapped dialing is ending.
...
git-svn-id: http://voip.null.ro/svn/yate@4477 acf43c95-373e-0410-b603-e72c3f656dc1
2011-07-07 20:43:05 +00:00
paulc
63cfdd5f22
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://voip.null.ro/svn/yate@4453 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-10 15:06:11 +00:00
paulc
7105af44f9
Commented out debugging accidentally left on.
...
git-svn-id: http://voip.null.ro/svn/yate@4452 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-10 13:42:45 +00:00
paulc
0e7849e338
Emit new message "user.authfail" for paswword mismatch for existing users.
...
Use that message in the ban script.
git-svn-id: http://voip.null.ro/svn/yate@4451 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-10 13:39:24 +00:00
paulc
f9c39140e9
Added PHP script to detect and block brute force attackers.
...
git-svn-id: http://voip.null.ro/svn/yate@4450 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-10 12:36:55 +00:00
marian
04ea9ad141
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://voip.null.ro/svn/yate@4448 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-09 10:19:09 +00:00
marian
6222a0032b
Message handling must be explicitly enabled.
...
git-svn-id: http://voip.null.ro/svn/yate@4447 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-08 14:47:29 +00:00
marian
d53ab41f26
Added post answer send dtmf global script.
...
git-svn-id: http://voip.null.ro/svn/yate@4446 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-08 13:44:23 +00:00