paulc
09ff4188b9
Added support for setting AMR and other codecs' parameters in SDP.
...
Build and package separately the AMR-NB and GSM-EFR codecs.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6151 acf43c95-373e-0410-b603-e72c3f656dc1
2016-11-25 15:45:34 +00:00
paulc
f81a00b9e6
Return the string length in characters, not UTF-8 octets.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6144 acf43c95-373e-0410-b603-e72c3f656dc1
2016-11-04 12:15:51 +00:00
paulc
7f969238b2
Added support for parsing \xXX and \uXXXX escape sequences.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6143 acf43c95-373e-0410-b603-e72c3f656dc1
2016-11-03 14:30:34 +00:00
marian
ee68319ac4
Fixed AMR octet align detection when the SDP line contains extra field(s).
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6122 acf43c95-373e-0410-b603-e72c3f656dc1
2016-06-02 11:30:10 +00:00
paulc
f37f408a2f
Made maximum loadable JS file size configurable.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6116 acf43c95-373e-0410-b603-e72c3f656dc1
2016-05-18 13:31:47 +00:00
oana
1e75fa2786
Make sure to also copy the name of a global function when initializing a ScriptContext.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6115 acf43c95-373e-0410-b603-e72c3f656dc1
2016-05-13 13:47:26 +00:00
marian
8076dcdd04
Added support to poll for pending operation completion.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6112 acf43c95-373e-0410-b603-e72c3f656dc1
2016-05-04 11:35:55 +00:00
paulc
a42065447d
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://yate.null.ro/svn/yate/trunk@6111 acf43c95-373e-0410-b603-e72c3f656dc1
2016-05-04 10:35:55 +00:00
paulc
2461efa911
Added support for parsing and updating bandwidth in SDP.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6103 acf43c95-373e-0410-b603-e72c3f656dc1
2016-03-09 17:41:35 +00:00
paulc
d244a2df0d
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://yate.null.ro/svn/yate/trunk@6102 acf43c95-373e-0410-b603-e72c3f656dc1
2016-03-08 12:23:11 +00:00
andrei
b978614bb5
Fixed Math.random() possible crash.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6101 acf43c95-373e-0410-b603-e72c3f656dc1
2016-03-07 12:05:52 +00:00
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
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
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
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
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
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
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
paulc
87d25e86a7
Minor typo fix.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5848 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-18 13:27:27 +00:00
paulc
feea943ca1
Added coders for GSM L3 Handover Complete and Handover Failure.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5847 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-18 08:41:35 +00:00
paulc
fce2aa8548
Allow retrieving and setting more SIP dialog components.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5846 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-18 08:38:30 +00:00
paulc
41241ca8fc
Allow controlling the number of (re)transmission per SIP transaction.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5844 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-12 09:50:50 +00:00
paulc
f2fe82537c
Generate monotonic per-dialog Command Sequence numbers (CSeq) derived from the global sequence.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5841 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-11 12:02:40 +00:00
paulc
7c72c1ba6a
Ignore final commas in Array and Object initializers.
...
Handle successive commas in Array initializers by inserting undefined.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5840 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-11 10:39:34 +00:00
oana
01d170e8c4
Replaced commentary with a shorter version.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5838 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-06 15:02:56 +00:00
oana
82edff8d9e
Bug fix: avoid returning arbitrary values for functions that have no return value. Return undefined instead.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5837 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-06 11:57:05 +00:00
oana
e1285e0a68
Leave Javascript array data untouched if sorting fails. Slightly optimized the native sort procedure for Javascript array.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5835 acf43c95-373e-0410-b603-e72c3f656dc1
2014-05-19 15:01:29 +00:00
oana
eadca3e467
Bug fix: check that we extract a valid pointer from the stack when running the compare function for Array.sort().
...
This avoids segmentation faults caused by a callback compare function for Array.sort() which doesn't return anything. Instead, signal a runtime error.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5833 acf43c95-373e-0410-b603-e72c3f656dc1
2014-05-16 10:40:56 +00:00
marian
d5b3ce3fb7
Added parser method used to obtain a 'null' object reference.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5830 acf43c95-373e-0410-b603-e72c3f656dc1
2014-05-14 09:05:33 +00:00
oana
06536919fe
Added support for Javascript RegExp constructor from string.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5825 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-18 13:37:49 +00:00
oana
0b7aacf102
Added discrimination between boolean and integer values.
...
Return proper results for typeof and toString() calls for boolean values.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5819 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-09 13:52:54 +00:00
paulc
3e29286042
When building a default SIP domain from local address include port if not 5060.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5815 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-02 11:23:58 +00:00
paulc
410dd9a8c6
Fixed the type of the result of Array.indexOf(), must be number.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5812 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-01 13:25:17 +00:00
marian
50eb96f454
Prepare ougoing xml's buffer before adding it to queue to reduce stream mutex contention.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5805 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-21 09:23:00 +00:00
oana
63a85d3bf2
Fixed implementation of Array.splice() and Array.slice() functions.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5800 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-14 16:08:31 +00:00
paulc
0e603be619
Added and extra include path (defaulting to config dir) for JS scripts.
...
Engine runtime parameters can be used in javascript.conf for script paths.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5799 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-14 14:45:41 +00:00
paulc
fca0d0f1d9
Fixed a memory leak in JS Array.concat(Array), wrapper object was not destroyed.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5798 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-14 10:35:29 +00:00
oana
3f359c0a11
Use new JsArray constructor in the implementation of Array methods.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5797 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-14 10:09:15 +00:00
oana
6d2de9dfc8
Bug fix: properly set prototype property on JS Array objects.
...
Added JsObject::setPrototype() in order to set an objects prototype from given context.
Added new JsArray constructor which set its own prototype. Replaced use of constructor which returned Array prototype with this contructor.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5796 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-13 13:10:56 +00:00
oana
3144b3563f
Fixed documentation comment.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5793 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-28 11:55:58 +00:00
paulc
b0b2021a27
Added proper constructor for JS Array object.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5789 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-26 12:25:53 +00:00
paulc
3669db3d7b
Correctly parse numbers with sign, in that case sthe sign is not an unary operator.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5788 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-26 12:25:13 +00:00
marian
6565a427ff
Properly skip one UTF-8 instead of C char.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5783 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-21 13:32:11 +00:00
marian
ef205b0094
Marked file for utf-8 encoding.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5762 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-07 13:51:08 +00:00
marian
753d0b043f
Added methods used to encode and decode GSM 7bit buffers.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5760 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-07 08:18:43 +00:00
paulc
632070e047
Fixed implementation of JS Array concat() and reverse() methods.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5759 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-06 10:02:01 +00:00
paulc
5efdfb17dc
Fixed JS Array.pop() and unshift()
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5758 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 17:22:09 +00:00
paulc
4f9ea57ca1
Fixed JS Array.shift(), was breaking non-string values.
...
Marked pop(), concat(), reverse(), unshift() in need of fixing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5757 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 16:49:01 +00:00
paulc
37a72e4bc1
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://yate.null.ro/svn/yate/trunk@5755 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 11:42:17 +00:00
oana
1e46a91857
Fixed compilation warnings.
...
Add new line and vi settings at the end of file.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5753 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 08:48:35 +00:00
paulc
83028f342a
Disabled implicit copy constructor and assignment operator of GenObject.
...
Fixed bugs exposed by this change.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5749 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-30 20:42:40 +00:00
paulc
6c99ac9558
Added reporting the number of SIP transactions to "status sip" command.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5746 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-29 13:26:24 +00:00
oana
03501695c6
Added missing CP Cause value.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5744 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-28 08:34:01 +00:00
oana
e7c36992ff
Fixed encoding/decoding of EPS Security Header.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5743 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-24 09:24:08 +00:00
oana
f62c01d0e5
Fixed decoding of PLMN Identity.
...
If MCC is 000, skip over PLMN Identity.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5742 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-23 15:33:53 +00:00
oana
0960497615
Replaced include of yatengine.h with yateclass.h.
...
Moved class which was using an Engine class to the SNMP module.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5740 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-23 11:43:40 +00:00
oana
fd44402cb4
Fixed encoding of even BCD numbers.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5739 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-22 15:46:08 +00:00
oana
ddfb6a4d29
Added type definition for Facility parameters specified in MO Setup.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5738 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-22 14:00:14 +00:00
oana
63561d9dcd
Added type definitions for MM Timer and Routing Area Identification.
...
Improved some debug messages.
Check String pointers before using them while encoding a BCD number or Bearer Capability.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5737 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-22 12:57:20 +00:00
oana
4ee62a3e21
Added type definition for PLMN list.
...
Added encoder for imbricated Radio Layer 3 message.
Fixed dictionary entries that contained spaces.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5736 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-22 10:59:03 +00:00
oana
32164cd7a6
Added generic function for decoding and encoding an integer value.
...
Use those functions for decoding and encoding integer and enumerated types.
Added encoder and decoder for types that represent a list of flags.
Added type definitions for Stream Identifier, Additional Update Parameters and Device Properties.
Added definition for octet string type and use it for types that are decoded into an octet string.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5735 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-21 15:53:39 +00:00
oana
f8891d3057
Added message definition for RR Status.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5734 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-21 13:46:15 +00:00
oana
7df795c94f
Fixed IEI matching in decoder for TV types on 1 byte.
...
Fixed encoding of TV types on 1 byte.
When decoding V types to an XML element, only pass the payload for that type towards the decoder, not the whole input buffer.
Modified some type definitions to use enumerated type decoder and encoder.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5733 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-21 12:55:10 +00:00
oana
62655ef46d
Decode and encode Cause type according to coding standard.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5732 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-21 10:19:10 +00:00
oana
85e127e022
Added message definitions for CC User Information, Congestion Control, StartCC, Recall, Emergency Setup, CC Establishment, CC Establishment Confirmed.
...
Fixed decoded of maximum speech bearers from Call Control Capabilities.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5731 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-20 15:22:38 +00:00
oana
19b5f69920
Added message definitions for MM TMSI Reallocation Command, CM Service Prompt, CM Re-establishment Request, MM Null and MM Information.
...
Added message definition for CC Modify Reject.
Renamed Authentication Response parameter 'xres' to 'xres2'.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5730 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-20 13:42:52 +00:00
oana
849fcb282e
Added message definitions for MM Authentication Request, Authentication Response, Authentication Reject and Authentication Failure.
...
Fixed dumping of undefined IEs of type value.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5729 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-20 11:35:34 +00:00
oana
ab1c3d8f8d
Added encoders and decoders for Mobile Classmark 1 and Mobile Classmark 2 types.
...
Fixed end markings for dictionaries.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5728 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-17 15:20:29 +00:00
oana
9a9eea87a1
Added RR message table and RR Paging Response message defintion.
...
Properly set odd indication while encoding IMSI Mobile Identity.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5727 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-17 11:10:21 +00:00
oana
e03740a689
Added decoders and encoders for SMS messages.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5726 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-17 09:35:39 +00:00
oana
bc2a51a30f
Added general coder/decoder for enumerated types.
...
Added type definition for Network CC Capabilities, Signal, Cause of no CLI, Allert Pattern.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5725 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-16 14:47:49 +00:00
oana
ade0897b75
Added bearer capability encoding for type 3 octets.
...
Added coders and decoders for IE types Facility, RepeatIndicator, SSVersion.
Added message definition for CC Facility message.
Added Suplementary Services protocol message table and message definitions for SS Facility, SS Register and SS Release Complete.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5724 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-16 12:04:58 +00:00
oana
008866a7be
Added CC Modify Reject to CC message table.
...
Allow encoding messages with hexified payload in data element.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5723 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-15 13:00:35 +00:00
oana
4f26ac685e
Added message definitions for CC Modify and Modify Complete.
...
Assume default values for coding and location if not provided when encoding Cause si ProgressIndicator.
Improved encoding debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5722 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-15 12:44:35 +00:00
oana
9887323c1b
Added message definitions for Call Control messages: Call Confirmed, Notify and Progress.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5721 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-15 11:42:02 +00:00
oana
24dce8b9c7
Added message definition for CC Mobile Terminating Setup.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5720 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-15 10:30:03 +00:00
oana
5a27594090
Added message definitions for HoldReject, RetrieveReject, StartDTMF, StartDTMFAcknowledge, StartDTMFReject.
...
Added encoder and decoder for IA5 characters.
Replaced code to dump non-decoded data with function.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5719 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-15 09:30:15 +00:00
oana
041af8ce87
Added partial decoding for Bearer Capabilities.
...
If message type is unknown, dump integer value of the message type along with its data.
Added several message type values to the Call Control message table.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5718 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-14 16:12:52 +00:00
oana
ec7a8badb6
Fixed encoding of BCD number.
...
Fixed solving of message definition table depending upon message direction.
Added generic function for building a bit string from a list of flags.
Added decoder and encoder for Call Control Capabilities type.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5717 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-14 12:47:48 +00:00
oana
fd3aa65f36
Added encoder/decoder for IEs which only have type (IEI).
...
Added encoder for Location Updating type.
Added flag for printing debug messages. Print debug message when exiting decoding/encoding functions.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5716 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-13 14:50:56 +00:00
oana
79a3d910eb
Decode/encode unknown PLMN Identity.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5715 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-10 15:57:34 +00:00
oana
f1a0a59f1b
Added encoder for BCD number type.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5714 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-10 14:51:09 +00:00
oana
257865192b
Added coder and encoder for Cause type.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5713 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-10 13:24:58 +00:00
oana
943561b531
Separated IE type defition from IE parameter definition.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5711 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-10 11:38:14 +00:00
oana
8785526d62
Added MM Status message definition for coder and decoder.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5710 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-09 16:23:55 +00:00
oana
1a8efff5be
Added MM IMSI Detach Indication message definition.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5709 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-09 16:09:12 +00:00
oana
b87b7bef09
Fixed decoding of Mobile Identity.
...
Print decoding failures.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5708 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-09 15:59:32 +00:00
oana
32597bb869
Changed decoding format for CC transaction identifier.
...
Added message definitions for CC MS to Network Alerting, Connect, Connect Ack, Disconnect, Release, Release Complete, Status and Status Enquiry.
While encoding do not add the type and/or length for an optional IE when it's missing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5707 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-09 15:16:52 +00:00
oana
1960b0ae9a
Changed message marking in decoding.
...
Changed the way BCD number and ProgressIndicator are decoded.
Changed MCC_MNC tag to PLMNidentity.
Do not return error if input buffer is empty and IE is optional.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5706 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-09 12:32:19 +00:00
oana
13058fdb15
Work in progress for GSM library.
...
Fixed encoding for message octet.
Added decoder for CC transaction identifier, BCD numbers, progress indicator.
Handle messages that have different defintions depending upon message direction.
Added message definitions and started adding coders for CC MO Setup, Call Proceeding and Alerting.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5705 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-08 15:57:05 +00:00
oana
4259521c59
Added encoder for TV IEs.
...
Added function for decoding/encoding integers.
Decode/encode Skip Indicator.
Encode IMSI/IMEI/IMEISV Mobile Identity type.
Added coding and decoding for the following MM Messages: Location Updating Reject, CM Service Request, CM Service Accept, CM Service Abort, CM Service Reject, Abort.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5701 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-07 14:37:26 +00:00
oana
57ebe18b04
Work in progress for GSM library.
...
Added encoders for LV/LVE and TLV/TLVE IEs.
Added decoders/encoders for message type, LAI, mobile identity.
Added decoders for MM Location Updating Request and Identity Response.
Added encoders and decoders for MM Identity Request, Location Updating Accept, TMSI Reallocation Complete.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5700 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-06 16:04:20 +00:00
oana
29031503be
Work in progress for GSM library.
...
Started adding encoders also.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5699 acf43c95-373e-0410-b603-e72c3f656dc1
2013-12-20 16:14:53 +00:00
oana
e0b49c9a46
Work in progress for GSM library.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5698 acf43c95-373e-0410-b603-e72c3f656dc1
2013-12-18 15:56:49 +00:00
oana
d65de1e571
Work in progress for GSM library.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5697 acf43c95-373e-0410-b603-e72c3f656dc1
2013-12-17 16:05:12 +00:00