Commit Graph

5809 Commits

Author SHA1 Message Date
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
paulc d2f52af2f6 Added JS Array.lastIndexOf() method.
Fixed fromIndex behavior for indexOf() and lastIndexOf().
Added optional extra parameter to allow searching a field in an array of objects.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6050 acf43c95-373e-0410-b603-e72c3f656dc1
2015-10-01 15:15:09 +00:00
paulc e0f16e2941 Escape same control characters as ExpEvaluator::getEscape() when stringifying JSON.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6049 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-30 08:42:47 +00:00
andrei 61b951d7d3 Fixed error code interpretation for phaseB, phaseD and phaseE spandsp callback methods.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6048 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-29 15:59:09 +00:00
marian 0abe6470bd Added option to set TX FPGA GAIN from config.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6047 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-25 13:48:19 +00:00
marian d190d4e8a2 Implemented configurable option for TX clamped samples debug threshold. Simplified parameters reload.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6046 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-22 14:30:38 +00:00
marian 9575abca85 Implemented timestamp resync. Added configurable option for allowed interval with timestamps in the past to make sure we are returning from read. Implemented capability to alter rx timestamps (for debug purposes).
git-svn-id: http://yate.null.ro/svn/yate/trunk@6045 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-22 13:36:26 +00:00
marian 085ca47e11 Properly translate libusb errors to RadioInterface codes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6044 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-21 09:58:15 +00:00
marian b1599da35e Added Timeout error code to RadioInterface.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6043 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-21 09:57:49 +00:00
marian e77d49348f Make a non timed lock when serializing tx/rx. Show current time when handling show commands.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6042 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-18 07:05:07 +00:00
marian ba6aef184f Fixed help string contents.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6041 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-17 12:33:24 +00:00
marian ff06c5a467 Added shorter versions of correction, vgagain and show commands.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6040 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-17 12:28:54 +00:00
paulc f632f0b034 Added JS Object.keys() static method.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6039 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-16 17:33:28 +00:00
marian daca223187 Fixed bug: properly check if VGA1 value was already set by us when setting gain.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6038 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-16 14:46:59 +00:00