Commit Graph

6022 Commits

Author SHA1 Message Date
marian beac5b2cd1 Allow changing RegExp case insensitive and basic posix properties.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6100 acf43c95-373e-0410-b603-e72c3f656dc1
2016-03-04 14:48:48 +00:00
marian 5e18aa85f8 Added Regexp flag used to avoid regexp re-compile if not changed. Removed valid() method.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6099 acf43c95-373e-0410-b603-e72c3f656dc1
2016-03-04 10:24:01 +00:00
paulc 40860a794a Fixed the returned type of charCodeAt(), must be integer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6098 acf43c95-373e-0410-b603-e72c3f656dc1
2016-02-25 17:12:00 +00:00
paulc efb00bbe2f Added Javascript string method charCodeAt.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6097 acf43c95-373e-0410-b603-e72c3f656dc1
2016-02-25 15:41:34 +00:00
marian 469cf9a61e Fixed bug: avoid crashing if JsRegExp constructor receives empty flags.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6096 acf43c95-373e-0410-b603-e72c3f656dc1
2016-02-25 14:28:10 +00:00
marian 28db40ad77 Added JsRegExp function used to check if the object contains a valid regexp.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6095 acf43c95-373e-0410-b603-e72c3f656dc1
2016-02-23 14:00:18 +00:00
marian 26cb46d632 Added method used to check if a Regexp is valid.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6094 acf43c95-373e-0410-b603-e72c3f656dc1
2016-02-19 12:36:51 +00:00
paulc dd5c21a636 Add the Cisco call-id to the Access-Request packet too.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6093 acf43c95-373e-0410-b603-e72c3f656dc1
2016-02-15 15:31:43 +00:00
paulc 95280ee6ab Add the SIP channel ID to the user.auth message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6092 acf43c95-373e-0410-b603-e72c3f656dc1
2016-02-15 15:21:04 +00:00
marian 647e6c4da7 Added function used to obtain XML attributes. Extended setAttribute() to allow setting multiple attributes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6091 acf43c95-373e-0410-b603-e72c3f656dc1
2016-02-15 15:06:10 +00:00
marian 80e46badff JsXML: properly check namespace parameter pointer before using it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6090 acf43c95-373e-0410-b603-e72c3f656dc1
2016-02-15 12:44:43 +00:00
paulc adaad148bf Add the connection_id parameter to user.auth, user.unregister, call.preroute and chan.startup messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6089 acf43c95-373e-0410-b603-e72c3f656dc1
2016-02-08 15:06:38 +00:00
paulc 3ec80e12bb Support absolute directory names in -x argument and in yate.conf extrapath.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6088 acf43c95-373e-0410-b603-e72c3f656dc1
2016-02-08 09:24:21 +00:00
oana 2966769c33 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://yate.null.ro/svn/yate/trunk@6087 acf43c95-373e-0410-b603-e72c3f656dc1
2016-01-22 09:36:33 +00:00
oana 8a840ed2df Use integer coding value when deciding what dictionary is to be used for Cause.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6086 acf43c95-373e-0410-b603-e72c3f656dc1
2016-01-21 15:13:26 +00:00
paulc 818bce0ae9 Fixed two invalid false to null conversions.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6085 acf43c95-373e-0410-b603-e72c3f656dc1
2016-01-20 10:29:46 +00:00
paulc 3aeb6687d5 Fixed a GCC 6 build error: C++11 requires a space between literal and string macro.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6084 acf43c95-373e-0410-b603-e72c3f656dc1
2016-01-20 10:23:35 +00:00
paulc c68db49d5d Made Cisco and Quintum voice attributes configurable per section.
Fixed comments in sample config file.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6083 acf43c95-373e-0410-b603-e72c3f656dc1
2016-01-12 13:44:10 +00:00
marian 6e37ea688f Changed xml parse error from DDebug to Debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6082 acf43c95-373e-0410-b603-e72c3f656dc1
2016-01-08 12:16:15 +00:00
paulc 79dbe9f241 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://yate.null.ro/svn/yate/trunk@6081 acf43c95-373e-0410-b603-e72c3f656dc1
2016-01-04 12:49:52 +00:00
paulc d7fbffc6b5 Added command line option to have supervisor sleep after creating PID file but before starting child.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6080 acf43c95-373e-0410-b603-e72c3f656dc1
2015-12-27 11:22:55 +00:00
marian 0886b5f93d Shortened ciphering key seq no parameter name.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6079 acf43c95-373e-0410-b603-e72c3f656dc1
2015-12-22 11:32:42 +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
oana 15dbca026a Shorten XML tags for MS Classmark information elements.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6077 acf43c95-373e-0410-b603-e72c3f656dc1
2015-12-09 11:32:38 +00:00
oana 957949c8a2 Add a XmlElement::findNextChild() which uses a const String reference as a parameter for the child name.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6076 acf43c95-373e-0410-b603-e72c3f656dc1
2015-12-07 11:09:24 +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 84a779bbd4 Tweaked the RPM dependency filtering for newer versions of rpmbuild.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6074 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-26 12:28:28 +00:00
paulc cae7d2330a Add an exclusion so rpmbuild doesn't include a pear(libyate.php) dependency.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6073 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-25 22:28:59 +00:00
marian a00d751a02 Added engine.stop relay id to Module.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6072 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-25 08:34:12 +00:00
marian d6ffcbd0a9 Fixed bug: check vsnprintf result in String::printf(). Update held string length after printf.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6071 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-24 15:58:55 +00:00
paulc 0a03513e64 Do not overwrite an existing ISUP protocol type, it can be more specific than local knowledge.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6070 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-24 15:41:06 +00:00
paulc 5f728a9dd7 Support adding an ISUP body when rejecting a SIP call from routing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6069 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-24 15:40:09 +00:00
paulc f96cdb4110 Allow setting extra parameters in JS Channel.hangup()
git-svn-id: http://yate.null.ro/svn/yate/trunk@6068 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-24 15:38:35 +00:00
marian 9802fbbc52 Added new, shorter, timeout for samples transfer. Properly handle incomplete transfers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6067 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-19 15:15:01 +00:00
paulc 5c99a83aef Added helper class to keep extra account parameters for calls and registration.
Added extra account parameters handling to SIP channel.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6066 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-18 14:20:00 +00:00
paulc 835d7b6bfd Put the disconnect reason in the proper message parameter.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6065 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-17 13:31:15 +00:00
paulc 03752b3f44 Slow down the consumer waiting loop as to not burn too much CPU.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6064 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-13 07:47:38 +00:00
paulc 8526e7f01f Added onPostExecute hook that gets called by channel scripts when call.execute returns.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6063 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-12 21:29:55 +00:00
paulc f02df8cdb0 Make sure a JsAssist is not created for outbound call legs.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6062 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-12 21:15:26 +00:00
paulc 6f3f09ddbe Added support for specifying the mode to mkdir.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6061 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-11 17:58:05 +00:00
paulc d4767d0c9e Added a setting for the number of message workers to create at start.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6060 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-11 11:09:51 +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 35079bdae6 Convert binary database message results to hexadecimal strings.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6058 acf43c95-373e-0410-b603-e72c3f656dc1
2015-10-29 08:33:09 +00:00
andrei 450f4ab68c Added LPF_BANDWIDTH auto calibration.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6057 acf43c95-373e-0410-b603-e72c3f656dc1
2015-10-26 08:32:54 +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
marian fb066c3e51 Removed unused RadioInterface methods and data. BladeRF driver is now advertising radio caps and is accumulating data to send to avoid short write operations.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6055 acf43c95-373e-0410-b603-e72c3f656dc1
2015-10-12 15:06:31 +00:00
marian a4ce1f1ed5 Implemented recv. Check for thread cancel when sleeping.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6054 acf43c95-373e-0410-b603-e72c3f656dc1
2015-10-12 07:35:58 +00:00
marian 85eb9cd410 Optimized sample scale and division.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6053 acf43c95-373e-0410-b603-e72c3f656dc1
2015-10-05 15:12:29 +00:00
andrei c120b04526 Delay call termination when we had received the fax to give some time to the remote endpoint to finish it's work.
Reset the channel when the endpoint was detached.
Set 'eof' as termination reason when document ended callback was called.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6052 acf43c95-373e-0410-b603-e72c3f656dc1
2015-10-05 14:22:30 +00:00
andrei a4816d011d Bug fix! Avoid changing the type in setParams.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6051 acf43c95-373e-0410-b603-e72c3f656dc1
2015-10-05 14:20:34 +00:00