Commit Graph

288 Commits

Author SHA1 Message Date
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
oana 21e76fd932 Export message queues statistic data via SNMP.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6160 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-03 14:51:13 +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 a6529f386e Only install bladeRF FPGA files if we could build the module.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5995 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-10 17:14:00 +00:00
marian fb80124f8e Added bladerf fpga files. Changed fpga load default path.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5993 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-10 14:35:37 +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 5190606f3a MIB type usage fixes, use Gauge32 instead of Counter32 for values that do not roll-over.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5592 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-31 12:23:56 +00:00
paulc 54232f8715 Fixed MIB type usage to be SMIv2 compliant.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5591 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-29 14:03:29 +00:00
paulc 3aef4ba0a8 Fixed two minor MIB errors.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5590 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-29 13:28:00 +00:00
paulc ec6d84c2fe Fixed order of declarations in the genericAlarm notification.
Renamed leaf moduleInfo to moduleExtra to fix a duplicate name.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5589 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-29 12:51:30 +00:00
paulc babd3f41b9 Moved all trap variables to a common specificAlarm trap OID.
Edited the MIB so genericAlarm and specificAlarm use the NOTIFICATION-TYPE macro.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5574 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-08 14:46:19 +00:00
marian d5273458ab Show main window when incoming call notification window become active (MacOS only).
git-svn-id: http://yate.null.ro/svn/yate/trunk@5571 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-08 13:37:49 +00:00
paulc 0a015f3fe1 Added MIB entries for Generic Alarms.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5561 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-05 12:47:02 +00:00
marian 8cfd569cdf Added incoming call notification window.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5556 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-25 15:04:42 +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
marian 7b031c144e Added folder images in shared items lists.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5503 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-29 14:56:33 +00:00
marian 4a9e97c638 Avoid scrollbar handle to become too thin.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5484 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-23 13:05:52 +00:00
marian c7965f8986 Added file sharing support.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5483 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-23 11:34:13 +00:00
oana aec8ccf79d Add new MIB and configuratin for support of SNMP upTime and runId requests.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5427 acf43c95-373e-0410-b603-e72c3f656dc1
2013-03-22 09:29:10 +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
andrei 0810cee7a5 Added trap for unexpected restart.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5384 acf43c95-373e-0410-b603-e72c3f656dc1
2013-01-25 15:42:52 +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 b25d94adfc Added the count of locked and idle circuits to the SNMP trunk data.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5028 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-24 22:24:09 +00:00
marian c66d765aa5 Fixed windows style sheet.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5015 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-20 15:02:59 +00:00
oana 67bbc56a71 Display a message in the file transfer window when there are no current transfers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5009 acf43c95-373e-0410-b603-e72c3f656dc1
2012-04-18 13:30:26 +00:00