Commit graph

5828 commits

Author SHA1 Message Date
marian
803aab756e Added listener role parameter. Set it in messages sent by connections using the listener.
git-svn-id: http://voip.null.ro/svn/yate@6118 acf43c95-373e-0410-b603-e72c3f656dc1
2016-05-24 13:33:14 +00:00
marian
2b26a219a7 Added option to copy message headers in user.auth messages.
git-svn-id: http://voip.null.ro/svn/yate@6117 acf43c95-373e-0410-b603-e72c3f656dc1
2016-05-23 14:43:33 +00:00
paulc
ceeb2a87a6 Made maximum loadable JS file size configurable.
git-svn-id: http://voip.null.ro/svn/yate@6116 acf43c95-373e-0410-b603-e72c3f656dc1
2016-05-18 13:31:47 +00:00
oana
6061e9049e Make sure to also copy the name of a global function when initializing a ScriptContext.
git-svn-id: http://voip.null.ro/svn/yate@6115 acf43c95-373e-0410-b603-e72c3f656dc1
2016-05-13 13:47:26 +00:00
marian
c69218bb11 Replaced calibration algorithm (work in progress). Added asynchronous calibration support. Removed test capability.
git-svn-id: http://voip.null.ro/svn/yate@6114 acf43c95-373e-0410-b603-e72c3f656dc1
2016-05-04 12:33:21 +00:00
marian
57c1ac71f9 Added capability to set custom device params and automatically restart radio test.
git-svn-id: http://voip.null.ro/svn/yate@6113 acf43c95-373e-0410-b603-e72c3f656dc1
2016-05-04 11:42:02 +00:00
marian
d964ebfbf6 Added support to poll for pending operation completion.
git-svn-id: http://voip.null.ro/svn/yate@6112 acf43c95-373e-0410-b603-e72c3f656dc1
2016-05-04 11:35:55 +00:00
paulc
5cf1c19654 Make a copy of global JS functions when initializing a Script Context.
This prevents changing JS functions across instances of the same script.


git-svn-id: http://voip.null.ro/svn/yate@6111 acf43c95-373e-0410-b603-e72c3f656dc1
2016-05-04 10:35:55 +00:00
paulc
f4cd7055e1 Append a -L directive to library returned by yate-config to support prefixes not in linker's path.
git-svn-id: http://voip.null.ro/svn/yate@6110 acf43c95-373e-0410-b603-e72c3f656dc1
2016-04-29 10:33:52 +00:00
marian
c0d3c0a7a6 Fixed bug: properly return data pointer when requested offset is not 0.
git-svn-id: http://voip.null.ro/svn/yate@6109 acf43c95-373e-0410-b603-e72c3f656dc1
2016-04-27 08:08:08 +00:00
marian
0728f5d626 Additional check for Nuand's vendor and product when choosing a device to open.
git-svn-id: http://voip.null.ro/svn/yate@6108 acf43c95-373e-0410-b603-e72c3f656dc1
2016-04-13 07:02:40 +00:00
marian
313533eb61 Added capability to configure test thread priority and include a config section.
git-svn-id: http://voip.null.ro/svn/yate@6107 acf43c95-373e-0410-b603-e72c3f656dc1
2016-03-29 11:50:31 +00:00
marian
78b1771518 Allow indicating the format when dumping data.
git-svn-id: http://voip.null.ro/svn/yate@6106 acf43c95-373e-0410-b603-e72c3f656dc1
2016-03-29 07:22:26 +00:00
paulc
1595bc6ee5 Changed the way ExtModReceivers are (de)referenced and destroyed.
Fixes destruction of external channels that have or had a watcher.


git-svn-id: http://voip.null.ro/svn/yate@6105 acf43c95-373e-0410-b603-e72c3f656dc1
2016-03-18 10:17:55 +00:00
paulc
45d3d638e9 Fixed a pointer use after free.
git-svn-id: http://voip.null.ro/svn/yate@6104 acf43c95-373e-0410-b603-e72c3f656dc1
2016-03-17 19:00:17 +00:00
paulc
e68274d3d1 Added support for parsing and updating bandwidth in SDP.
git-svn-id: http://voip.null.ro/svn/yate@6103 acf43c95-373e-0410-b603-e72c3f656dc1
2016-03-09 17:41:35 +00:00
paulc
0091b832c3 Allow assigned top-level functions to work as callbacks.
Store a JsFunction name in its embedded ExpFunction so they are always in sync.


git-svn-id: http://voip.null.ro/svn/yate@6102 acf43c95-373e-0410-b603-e72c3f656dc1
2016-03-08 12:23:11 +00:00
andrei
7982f5b494 Fixed Math.random() possible crash.
git-svn-id: http://voip.null.ro/svn/yate@6101 acf43c95-373e-0410-b603-e72c3f656dc1
2016-03-07 12:05:52 +00:00
marian
2c5493b6ee Allow changing RegExp case insensitive and basic posix properties.
git-svn-id: http://voip.null.ro/svn/yate@6100 acf43c95-373e-0410-b603-e72c3f656dc1
2016-03-04 14:48:48 +00:00
marian
eda0aa0102 Added Regexp flag used to avoid regexp re-compile if not changed. Removed valid() method.
git-svn-id: http://voip.null.ro/svn/yate@6099 acf43c95-373e-0410-b603-e72c3f656dc1
2016-03-04 10:24:01 +00:00
paulc
3eb89125fd Fixed the returned type of charCodeAt(), must be integer.
git-svn-id: http://voip.null.ro/svn/yate@6098 acf43c95-373e-0410-b603-e72c3f656dc1
2016-02-25 17:12:00 +00:00
paulc
fc728710bb Added Javascript string method charCodeAt.
git-svn-id: http://voip.null.ro/svn/yate@6097 acf43c95-373e-0410-b603-e72c3f656dc1
2016-02-25 15:41:34 +00:00
marian
4a51479796 Fixed bug: avoid crashing if JsRegExp constructor receives empty flags.
git-svn-id: http://voip.null.ro/svn/yate@6096 acf43c95-373e-0410-b603-e72c3f656dc1
2016-02-25 14:28:10 +00:00
marian
4455404fc8 Added JsRegExp function used to check if the object contains a valid regexp.
git-svn-id: http://voip.null.ro/svn/yate@6095 acf43c95-373e-0410-b603-e72c3f656dc1
2016-02-23 14:00:18 +00:00
marian
cf2e0b8842 Added method used to check if a Regexp is valid.
git-svn-id: http://voip.null.ro/svn/yate@6094 acf43c95-373e-0410-b603-e72c3f656dc1
2016-02-19 12:36:51 +00:00
paulc
a5768061f9 Add the Cisco call-id to the Access-Request packet too.
git-svn-id: http://voip.null.ro/svn/yate@6093 acf43c95-373e-0410-b603-e72c3f656dc1
2016-02-15 15:31:43 +00:00
paulc
40d4e7824e Add the SIP channel ID to the user.auth message.
git-svn-id: http://voip.null.ro/svn/yate@6092 acf43c95-373e-0410-b603-e72c3f656dc1
2016-02-15 15:21:04 +00:00
marian
f1ddfd1e5f Added function used to obtain XML attributes. Extended setAttribute() to allow setting multiple attributes.
git-svn-id: http://voip.null.ro/svn/yate@6091 acf43c95-373e-0410-b603-e72c3f656dc1
2016-02-15 15:06:10 +00:00
marian
9a9f3b07b7 JsXML: properly check namespace parameter pointer before using it.
git-svn-id: http://voip.null.ro/svn/yate@6090 acf43c95-373e-0410-b603-e72c3f656dc1
2016-02-15 12:44:43 +00:00
paulc
4d9c024f52 Add the connection_id parameter to user.auth, user.unregister, call.preroute and chan.startup messages.
git-svn-id: http://voip.null.ro/svn/yate@6089 acf43c95-373e-0410-b603-e72c3f656dc1
2016-02-08 15:06:38 +00:00
paulc
d05cc95e65 Support absolute directory names in -x argument and in yate.conf extrapath.
git-svn-id: http://voip.null.ro/svn/yate@6088 acf43c95-373e-0410-b603-e72c3f656dc1
2016-02-08 09:24:21 +00:00
oana
d882b0b88f Fix for encoding Cause recommendation byte: do not attempt to set if if coding standard is GSM. Also, check for it when data is provided in hexified form.
git-svn-id: http://voip.null.ro/svn/yate@6087 acf43c95-373e-0410-b603-e72c3f656dc1
2016-01-22 09:36:33 +00:00
oana
4ce9d65ce1 Use integer coding value when deciding what dictionary is to be used for Cause.
git-svn-id: http://voip.null.ro/svn/yate@6086 acf43c95-373e-0410-b603-e72c3f656dc1
2016-01-21 15:13:26 +00:00
paulc
7bab6e9825 Fixed two invalid false to null conversions.
git-svn-id: http://voip.null.ro/svn/yate@6085 acf43c95-373e-0410-b603-e72c3f656dc1
2016-01-20 10:29:46 +00:00
paulc
d02f2087b9 Fixed a GCC 6 build error: C++11 requires a space between literal and string macro.
git-svn-id: http://voip.null.ro/svn/yate@6084 acf43c95-373e-0410-b603-e72c3f656dc1
2016-01-20 10:23:35 +00:00
paulc
d54bce3f72 Made Cisco and Quintum voice attributes configurable per section.
Fixed comments in sample config file.


git-svn-id: http://voip.null.ro/svn/yate@6083 acf43c95-373e-0410-b603-e72c3f656dc1
2016-01-12 13:44:10 +00:00
marian
98a8ee2880 Changed xml parse error from DDebug to Debug.
git-svn-id: http://voip.null.ro/svn/yate@6082 acf43c95-373e-0410-b603-e72c3f656dc1
2016-01-08 12:16:15 +00:00
paulc
bb7da7914b Added API method for checking if the Engine has finished starting up, expose it to JS.
Added separate javascript.conf section that loads scripts after the engine.start message.


git-svn-id: http://voip.null.ro/svn/yate@6081 acf43c95-373e-0410-b603-e72c3f656dc1
2016-01-04 12:49:52 +00:00
paulc
d40803015d Added command line option to have supervisor sleep after creating PID file but before starting child.
git-svn-id: http://voip.null.ro/svn/yate@6080 acf43c95-373e-0410-b603-e72c3f656dc1
2015-12-27 11:22:55 +00:00
marian
e337f7b377 Shortened ciphering key seq no parameter name.
git-svn-id: http://voip.null.ro/svn/yate@6079 acf43c95-373e-0410-b603-e72c3f656dc1
2015-12-22 11:32:42 +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
oana
f8dbce48c6 Shorten XML tags for MS Classmark information elements.
git-svn-id: http://voip.null.ro/svn/yate@6077 acf43c95-373e-0410-b603-e72c3f656dc1
2015-12-09 11:32:38 +00:00
oana
d2e0d2dac2 Add a XmlElement::findNextChild() which uses a const String reference as a parameter for the child name.
git-svn-id: http://voip.null.ro/svn/yate@6076 acf43c95-373e-0410-b603-e72c3f656dc1
2015-12-07 11:09:24 +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
92d573d3a2 Tweaked the RPM dependency filtering for newer versions of rpmbuild.
git-svn-id: http://voip.null.ro/svn/yate@6074 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-26 12:28:28 +00:00
paulc
e0d01a77d8 Add an exclusion so rpmbuild doesn't include a pear(libyate.php) dependency.
git-svn-id: http://voip.null.ro/svn/yate@6073 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-25 22:28:59 +00:00
marian
b0e67d7ad3 Added engine.stop relay id to Module.
git-svn-id: http://voip.null.ro/svn/yate@6072 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-25 08:34:12 +00:00
marian
c033522b9d Fixed bug: check vsnprintf result in String::printf(). Update held string length after printf.
git-svn-id: http://voip.null.ro/svn/yate@6071 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-24 15:58:55 +00:00
paulc
d349f6b7ea Do not overwrite an existing ISUP protocol type, it can be more specific than local knowledge.
git-svn-id: http://voip.null.ro/svn/yate@6070 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-24 15:41:06 +00:00
paulc
8827a1b31b Support adding an ISUP body when rejecting a SIP call from routing.
git-svn-id: http://voip.null.ro/svn/yate@6069 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-24 15:40:09 +00:00