Commit Graph

1362 Commits

Author SHA1 Message Date
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
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
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
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
paulc 79f5b70ca5 Added static Engine.replaceParams() that replaces object properties in a ${template} string.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6030 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-04 20:04:02 +00:00
paulc 3a638df554 Fixed the JS Array unshift() to not crash when called with no arguments.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6025 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-31 08:06:14 +00:00
paulc 307a7c09ef Added support for JS getIntValue() min/max/clamp parameters.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6023 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-27 10:56:06 +00:00
paulc 5b980e2793 Added prototypes to parsed JSON objects and arrays.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6020 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-21 13:07:19 +00:00
paulc fb82168a58 Fixed building on 32 bit machines and those that don't define various byte swapping macros.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6018 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-18 11:24:10 +00:00
marian 70d26b2596 Added new method used to set loopback to radio interface.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6014 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-04 11:33:16 +00:00
marian 2355ead640 Added method used to set data dump to radio interface. Fixed bug in bladerf rx data dump: preserve original pointer when copying data to avoid dump wrong data.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6003 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-16 09:12:20 +00:00
marian 8690478048 Added class used to handle radio data dump.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5998 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-14 13:18:17 +00:00
marian 1beb01b444 Added generic radio interface.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5978 acf43c95-373e-0410-b603-e72c3f656dc1
2015-06-19 09:18:23 +00:00
paulc 9bc5a3d84a Made the maximum script file size configurable at runtime and increased default to 500000.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5976 acf43c95-373e-0410-b603-e72c3f656dc1
2015-06-01 13:34:50 +00:00
paulc 91963d7659 Allow the return {inline:object}; syntax.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5975 acf43c95-373e-0410-b603-e72c3f656dc1
2015-05-19 12:29:16 +00:00
paulc d8462545d7 Resolve to undefined members of inline objects or arrays that have an undefined right hand variable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5974 acf43c95-373e-0410-b603-e72c3f656dc1
2015-05-19 11:56:31 +00:00
paulc b7281eaade Reduce parsing time for very large scripts by limiting the simplification backtrace depth.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5972 acf43c95-373e-0410-b603-e72c3f656dc1
2015-05-15 15:17:54 +00:00
paulc 92df7818db Added more features to the GSM 7 bit coder.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5971 acf43c95-373e-0410-b603-e72c3f656dc1
2015-05-11 15:24:06 +00:00
oana d62c034dae Added dictionary for GPRS mobility management reject causes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5967 acf43c95-373e-0410-b603-e72c3f656dc1
2015-04-29 08:04:46 +00:00
marian 4087d69c8f Renamed gsm library to radio. Renamed library source directory and header also.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5965 acf43c95-373e-0410-b603-e72c3f656dc1
2015-04-07 10:07:44 +00:00
paulc 4ed1377aa6 Build, install and use a dynamic library for ASN.1 code.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5964 acf43c95-373e-0410-b603-e72c3f656dc1
2015-04-01 16:50:56 +00:00
marian b3bf7d962b Make some explicit conversions to silence compiler warnings.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5958 acf43c95-373e-0410-b603-e72c3f656dc1
2015-03-11 10:41:51 +00:00
paulc ce63601ff4 Added support for PPC and PPC64 platforms.
Patch written bei Ulrich Weigand on OBS for openSUSE.
Resolves Mantis bug #387.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5946 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-26 10:44:40 +00:00
paulc 3bba322664 Added GSM-EFR codec support and transcoder.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5945 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-26 10:26:51 +00:00
marian b548a08f27 Avoid possible deadlocks when the call controller signal termination to an ISUP call: the call may be already locked trying to send a message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5940 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-19 10:03:40 +00:00
paulc d7e12fc50c Implemented JS Function apply() and call() methods.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5937 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-10 12:02:20 +00:00
oana d1c48eec1a Fix order in which checks on the input buffer are done. Check length of buffer only if IEI matches.
Avoids reports of errors when there are none.
 


git-svn-id: http://yate.null.ro/svn/yate/trunk@5932 acf43c95-373e-0410-b603-e72c3f656dc1
2015-01-27 12:22:18 +00:00
paulc b3f7450cdb Changed EPS PDN types to lowercase.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5928 acf43c95-373e-0410-b603-e72c3f656dc1
2014-12-16 17:39:41 +00:00
paulc a2bd1ea54c Install and package licenses for iLBC and WebRTC code.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5911 acf43c95-373e-0410-b603-e72c3f656dc1
2014-09-03 22:59:57 +00:00
paulc 0b8d1925dd Export the GSM MM reject causes dictionary.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5906 acf43c95-373e-0410-b603-e72c3f656dc1
2014-08-12 11:46:19 +00:00
marian 61040ffe72 Removed unused function.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5900 acf43c95-373e-0410-b603-e72c3f656dc1
2014-08-05 10:57:17 +00:00
paulc 77556d15c3 Fixed script line counting when an identifier is last item on a line.
Fixed line numbers of function calls to match the function identifier.
Fixed line numbers for parts of expressions spanning multiple lines.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5898 acf43c95-373e-0410-b603-e72c3f656dc1
2014-08-05 08:27:07 +00:00
marian 14484063d4 Silenced unused variable compiler warning.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5893 acf43c95-373e-0410-b603-e72c3f656dc1
2014-08-04 10:57:42 +00:00
paulc 11a02cf913 Resolved or silenced a number of compile warnings.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5891 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-31 16:30:15 +00:00
paulc 08fe54e27a Added YIGNORE macro to silence compiler warnings about unused values.
Cleaned up a number of compiler warnings.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5888 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-31 12:13:52 +00:00
paulc 2a07a7217a Cast away type in some switch instructions to avoid compiler warnings.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5887 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-29 11:11:05 +00:00
paulc cc2279cffa Accept SDP crypto with tag 0.
Fixes bug #367.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5880 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-25 13:28:05 +00:00
paulc 05ebe9d1f9 Added JsObject constructor that populates prototype from a context.
Added JsRegExp contructor from existing Regexp.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5873 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-22 11:02:44 +00:00
oana 4da094e87e Fixed equal comparison for objects.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5871 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-21 12:29:38 +00:00
paulc a598cee5fc Added Javascript Array.isArray()
git-svn-id: http://yate.null.ro/svn/yate/trunk@5870 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-18 11:07:19 +00:00
paulc 9b6259ac82 Added native JSON parser and stringifier.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5869 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-14 08:06:41 +00:00
paulc 9599d6dbb7 When evaluating naked JsObject fields wrap them in an ExpWrapper.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5867 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-11 16:24:15 +00:00
paulc 05a21a1d34 Moved XML classes to the main library.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5864 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-04 15:18:11 +00:00
paulc 8f8fe9ad85 Increment the SDP session version only if the hash of the body (except version) has changed.
This helps with some SIP endpoints that reject any SDP change.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5861 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-02 07:37:11 +00:00
paulc cb382e02a2 Fixed assignment operation changed in Rev. 5856.
Report the ExpOperation types in Engine.print_r().


git-svn-id: http://yate.null.ro/svn/yate/trunk@5857 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-25 16:04:00 +00:00
oana 3047c9b55b Fix loss of boolean type information through assignment due to changes in commit 5854.
Do proper cloning on ExpOperation when resolving fields and do proper detection for number conversion on boolean values.



git-svn-id: http://yate.null.ro/svn/yate/trunk@5856 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-25 14:09:32 +00:00
paulc 11fcab1ab1 Implement independent CSeq generators for INVITE dialogs and REGISTER sessions.
Always parse CSeq in base 10, some implementations left pad with zeros.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5855 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-25 12:27:56 +00:00
oana 7a41ecce69 Do proper number conversion for arithmetic operations.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5854 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-24 13:36:53 +00:00
paulc 46df18335d Fixed build on 32 bit systems.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5851 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-23 10:39:35 +00:00
oana 1ea753395a Bug fix: do proper resolving for null object in object and array initializers.
Do not copy the singleton null object, provide a clone instead.
While doing object parameter resolving, do not alter prototypes for frozen objects.



git-svn-id: http://yate.null.ro/svn/yate/trunk@5849 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-20 11:27:12 +00:00