Commit Graph

291 Commits

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


git-svn-id: http://voip.null.ro/svn/yate@5589 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-29 12:51:30 +00:00
paulc f964a7922d 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://voip.null.ro/svn/yate@5574 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-08 14:46:19 +00:00
marian 6971315341 Show main window when incoming call notification window become active (MacOS only).
git-svn-id: http://voip.null.ro/svn/yate@5571 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-08 13:37:49 +00:00
paulc 7ebd8dce8c Added MIB entries for Generic Alarms.
git-svn-id: http://voip.null.ro/svn/yate@5561 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-05 12:47:02 +00:00
marian 927f49e23f Added incoming call notification window.
git-svn-id: http://voip.null.ro/svn/yate@5556 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-25 15:04:42 +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
marian f44fbc3b1f Added folder images in shared items lists.
git-svn-id: http://voip.null.ro/svn/yate@5503 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-29 14:56:33 +00:00
marian 6fed210dea Avoid scrollbar handle to become too thin.
git-svn-id: http://voip.null.ro/svn/yate@5484 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-23 13:05:52 +00:00
marian 9bb2af150e Added file sharing support.
git-svn-id: http://voip.null.ro/svn/yate@5483 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-23 11:34:13 +00:00
oana 79d4566ec7 Add new MIB and configuratin for support of SNMP upTime and runId requests.
git-svn-id: http://voip.null.ro/svn/yate@5427 acf43c95-373e-0410-b603-e72c3f656dc1
2013-03-22 09:29:10 +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
andrei 269ad3f190 Added trap for unexpected restart.
git-svn-id: http://voip.null.ro/svn/yate@5384 acf43c95-373e-0410-b603-e72c3f656dc1
2013-01-25 15:42:52 +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