oana
046cb195e9
Fix code line counting when parsing multi-line string.
...
git-svn-id: http://voip.null.ro/svn/yate@6444 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-23 08:11:53 +00:00
oana
83ef49437f
Add tracking for Javascript object creation and destruction.
...
Add command that reports how many objects are still alive that have been created at the reported code line.
Fix constructor for ConfigFile.
git-svn-id: http://voip.null.ro/svn/yate@6442 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-21 11:01:31 +00:00
paulc
37c2b36722
Fixed parser clamping of large negative numbers.
...
Added hack to parse floating point numbers but store them as integers.
git-svn-id: http://voip.null.ro/svn/yate@6440 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-19 09:11:10 +00:00
marian
f4e68d8527
Added support to dump JsHashList items in print_r and toJSON.
...
git-svn-id: http://voip.null.ro/svn/yate@6439 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-14 14:03:56 +00:00
marian
a51728652e
Added print/dump_r functions used to print/dump a specific variable or script context using flags to filter what to print: props only (default), funcs only ...
...
git-svn-id: http://voip.null.ro/svn/yate@6437 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-14 10:38:31 +00:00
paulc
44040891da
Fixed build for 32 bit platforms.
...
git-svn-id: http://voip.null.ro/svn/yate@6431 acf43c95-373e-0410-b603-e72c3f656dc1
2020-09-25 11:36:38 +00:00
oana
0ef2cc7605
Add command line argument for running YATE with a required affinity.
...
Add configuration for affinity of RTPGroup threads.
git-svn-id: http://voip.null.ro/svn/yate@6430 acf43c95-373e-0410-b603-e72c3f656dc1
2020-09-23 13:12:56 +00:00
marian
dea9b5d77f
Fixed documentation.
...
git-svn-id: http://voip.null.ro/svn/yate@6421 acf43c95-373e-0410-b603-e72c3f656dc1
2020-08-21 14:03:02 +00:00
marian
23ea1f1eaa
Avoid resetting started RTP when handling re-invite/update containing currently used codec.
...
git-svn-id: http://voip.null.ro/svn/yate@6420 acf43c95-373e-0410-b603-e72c3f656dc1
2020-08-21 13:58:46 +00:00
marian
38eb508f78
Propagate rtp module debug enabler to library. Propagate rtp wrapper trace id to library. Added support to enable debug of sent/recv data and events.
...
git-svn-id: http://voip.null.ro/svn/yate@6416 acf43c95-373e-0410-b603-e72c3f656dc1
2020-07-21 07:39:54 +00:00
marian
624486eb31
Fixed bug: print a received answer to a request sent without trace id while tracing is enabled. Fixed bug: set channel's trace id when building a dialog message. Added configuration option to enable sip tracing.
...
git-svn-id: http://voip.null.ro/svn/yate@6415 acf43c95-373e-0410-b603-e72c3f656dc1
2020-07-15 13:34:04 +00:00
marian
8d6195341d
Postpone 'fmtp' and 'gpmd' lines processing until codec name is set. Fixes receiving non standard payload number with fmtp/gpmd line set before corresponding 'rtpmap' line.
...
git-svn-id: http://voip.null.ro/svn/yate@6409 acf43c95-373e-0410-b603-e72c3f656dc1
2020-05-20 11:19:12 +00:00
oana
25422700b2
Add support in SIP, SDP, RTP and CDR build for tracing a call.
...
git-svn-id: http://voip.null.ro/svn/yate@6406 acf43c95-373e-0410-b603-e72c3f656dc1
2020-04-22 14:18:49 +00:00
oana
8209f5614c
Add Javascript implementation for trace debug methods.
...
Add a setTraceId() method in Engine that sets the trace ID in current runner. This then activates internally displaying the trace ID for any Engine.debug/output.alarm call from a script.
git-svn-id: http://voip.null.ro/svn/yate@6403 acf43c95-373e-0410-b603-e72c3f656dc1
2020-04-22 12:05:53 +00:00
oana
47908cf938
Add option to stop execution of an outgoing call.
...
Propagate that parameter in dumb channel, tone generator and wave file.
In SIP, simulate going through the whole SIP stack before stopping execution of the call.
git-svn-id: http://voip.null.ro/svn/yate@6401 acf43c95-373e-0410-b603-e72c3f656dc1
2020-04-22 10:59:48 +00:00
oana
700b3b1036
Add Engine methods for retrieving current line of source code being executed, current source file name and the concatenation of both.
...
Add Message.trace() method for tracking of message handling in JS code.
git-svn-id: http://voip.null.ro/svn/yate@6397 acf43c95-373e-0410-b603-e72c3f656dc1
2020-04-01 11:47:55 +00:00
paulc
1fd6d25f05
Added support for retrieving the timezone at any time, not just now.
...
Fixed the Javascript Date getTimezoneOffset() result.
git-svn-id: http://voip.null.ro/svn/yate@6396 acf43c95-373e-0410-b603-e72c3f656dc1
2020-04-01 07:38:14 +00:00
marian
b7e67edec9
Added capability to disable SDP forward from routing.
...
git-svn-id: http://voip.null.ro/svn/yate@6393 acf43c95-373e-0410-b603-e72c3f656dc1
2020-03-09 07:15:06 +00:00
paulc
1ada2db923
Automatically add a Contact to UPDATE messages too.
...
git-svn-id: http://voip.null.ro/svn/yate@6388 acf43c95-373e-0410-b603-e72c3f656dc1
2020-02-28 15:31:42 +00:00
marian
98bdfee9f5
Handle 'silent' error/reason in reject, disconnect, drop. Silence channel's transaction: process it but send nothing to remote party.
...
git-svn-id: http://voip.null.ro/svn/yate@6387 acf43c95-373e-0410-b603-e72c3f656dc1
2020-02-27 12:11:28 +00:00
marian
633513a2bc
Handle RegExp when given in string split delimiter.
...
git-svn-id: http://voip.null.ro/svn/yate@6383 acf43c95-373e-0410-b603-e72c3f656dc1
2020-02-21 14:15:15 +00:00
marian
38015c2c1a
Fixed bug: search the whole mappings list when building SDP: current format may be present with different payload.
...
git-svn-id: http://voip.null.ro/svn/yate@6380 acf43c95-373e-0410-b603-e72c3f656dc1
2020-02-14 15:02:18 +00:00
marian
85759c91d4
Fixed parameter name in documentation.
...
git-svn-id: http://voip.null.ro/svn/yate@6374 acf43c95-373e-0410-b603-e72c3f656dc1
2019-12-11 06:44:18 +00:00
paulc
9e1e43cd84
Added the Array-like "arguments" variable to called functions.
...
git-svn-id: http://voip.null.ro/svn/yate@6372 acf43c95-373e-0410-b603-e72c3f656dc1
2019-11-25 15:16:46 +00:00
marian
ae034713de
Avoid dereferencing NULL pointer if failed to build SCCP CREF MSU.
...
git-svn-id: http://voip.null.ro/svn/yate@6367 acf43c95-373e-0410-b603-e72c3f656dc1
2019-11-12 12:14:33 +00:00
oana
c168c341a5
Add setters/getters for JSObject fields from various data types.
...
git-svn-id: http://voip.null.ro/svn/yate@6366 acf43c95-373e-0410-b603-e72c3f656dc1
2019-11-11 14:33:26 +00:00
marian
b433f08586
Handle string description in JsDate constructor. Add string representation when stringifying a JsDate. Added toJSON() method to JsDate.
...
git-svn-id: http://voip.null.ro/svn/yate@6365 acf43c95-373e-0410-b603-e72c3f656dc1
2019-11-08 11:24:35 +00:00
paulc
6b2daa2d48
Added G.722 codec from the WebRTC code.
...
git-svn-id: http://voip.null.ro/svn/yate@6363 acf43c95-373e-0410-b603-e72c3f656dc1
2019-11-06 18:31:54 +00:00
paulc
ab451bd5c8
Added basic support for forwarding the VP9 codec payload.
...
git-svn-id: http://voip.null.ro/svn/yate@6358 acf43c95-373e-0410-b603-e72c3f656dc1
2019-09-04 10:29:00 +00:00
paulc
5ebd71de00
Fixed CSeq picking from added SIP message.
...
git-svn-id: http://voip.null.ro/svn/yate@6357 acf43c95-373e-0410-b603-e72c3f656dc1
2019-08-20 15:23:24 +00:00
marian
7166f715b7
Silenced unused variable compiler warning.
...
git-svn-id: http://voip.null.ro/svn/yate@6353 acf43c95-373e-0410-b603-e72c3f656dc1
2019-06-06 10:12:45 +00:00
marian
b226a10102
Reverted accidental commit in mgcp.
...
git-svn-id: http://voip.null.ro/svn/yate@6352 acf43c95-373e-0410-b603-e72c3f656dc1
2019-06-06 10:11:23 +00:00
marian
68348ce124
Allow setting incoming channel params from user.auth.
...
git-svn-id: http://voip.null.ro/svn/yate@6351 acf43c95-373e-0410-b603-e72c3f656dc1
2019-06-06 10:05:42 +00:00
paulc
a373f8904a
Properly return undefined on finding garbage after JSON.
...
git-svn-id: http://voip.null.ro/svn/yate@6346 acf43c95-373e-0410-b603-e72c3f656dc1
2019-02-28 19:17:38 +00:00
marian
bbde14b1f4
Fixed TokenDict arrays not ending with token and value set to 0.
...
git-svn-id: http://voip.null.ro/svn/yate@6342 acf43c95-373e-0410-b603-e72c3f656dc1
2019-01-18 09:46:21 +00:00
marian
803247f900
Fixed bug: lock transaction list mutex during local id generation to avoid duplicates.
...
git-svn-id: http://voip.null.ro/svn/yate@6330 acf43c95-373e-0410-b603-e72c3f656dc1
2018-11-23 10:05:57 +00:00
marian
0e90f99c59
SDP parse: adjust payload name for configured octet align amr when rtpmap line is parsed and amr is identified by name: this is the point where amr (dynamic payload) is properly identified.
...
git-svn-id: http://voip.null.ro/svn/yate@6323 acf43c95-373e-0410-b603-e72c3f656dc1
2018-09-14 09:39:28 +00:00
marian
00b0b1e408
Added SIPS URI support.
...
git-svn-id: http://voip.null.ro/svn/yate@6321 acf43c95-373e-0410-b603-e72c3f656dc1
2018-07-06 09:37:17 +00:00
oana
1a8b055ed2
Moved methods to the JS library that stringify objects to JSON format.
...
git-svn-id: http://voip.null.ro/svn/yate@6317 acf43c95-373e-0410-b603-e72c3f656dc1
2018-06-15 13:39:48 +00:00
paulc
d6d7b0081e
Added JS Array method includes().
...
git-svn-id: http://voip.null.ro/svn/yate@6315 acf43c95-373e-0410-b603-e72c3f656dc1
2018-05-10 12:55:45 +00:00
paulc
da4e6bb39e
Added String method includes().
...
git-svn-id: http://voip.null.ro/svn/yate@6314 acf43c95-373e-0410-b603-e72c3f656dc1
2018-05-04 18:37:44 +00:00
marian
2c241d279f
Added utility to ScriptContext used to add string fields from a NamedList.
...
git-svn-id: http://voip.null.ro/svn/yate@6309 acf43c95-373e-0410-b603-e72c3f656dc1
2018-04-12 12:35:32 +00:00
paulc
5c8ba3ebcb
Avoid parsing unsupported duplicate codecs and mixing up their parameters.
...
Keep General Purpose Media Parameters with codec and propagate when forwarding RTP.
git-svn-id: http://voip.null.ro/svn/yate@6296 acf43c95-373e-0410-b603-e72c3f656dc1
2018-02-07 10:27:43 +00:00
paulc
e01e1b86a1
Be more tolerant about presence of an underline at end of the "osdp-prefix" parameter.
...
git-svn-id: http://voip.null.ro/svn/yate@6295 acf43c95-373e-0410-b603-e72c3f656dc1
2018-02-06 16:46:37 +00:00
marian
0ddb2d7e46
Added hashCode function for javascript strings. Return String::hash().
...
git-svn-id: http://voip.null.ro/svn/yate@6284 acf43c95-373e-0410-b603-e72c3f656dc1
2017-12-08 16:12:59 +00:00
paulc
6217608c8b
Added support for sending call with SDP in ACK instead of INVITE in proxy and RTP forward modes.
...
git-svn-id: http://voip.null.ro/svn/yate@6280 acf43c95-373e-0410-b603-e72c3f656dc1
2017-11-16 18:11:05 +00:00
oana
6cd633471f
Use String method which trims whitespaces for the implementation of JS String method trim().
...
git-svn-id: http://voip.null.ro/svn/yate@6279 acf43c95-373e-0410-b603-e72c3f656dc1
2017-11-14 14:31:52 +00:00
paulc
8e3d989b0b
Fixed maximum MSU size, it's 273 including SIO.
...
git-svn-id: http://voip.null.ro/svn/yate@6278 acf43c95-373e-0410-b603-e72c3f656dc1
2017-11-02 16:11:42 +00:00
paulc
04b2d365ff
Allow encoding all variation of A-F address digits in ISUP, SCCP, MAP/CAMEL.
...
git-svn-id: http://voip.null.ro/svn/yate@6277 acf43c95-373e-0410-b603-e72c3f656dc1
2017-11-01 16:59:05 +00:00
andrei
f5d88a7027
Force 'String' constructor from 'unsigned int' in decodeCause.
...
git-svn-id: http://voip.null.ro/svn/yate@6273 acf43c95-373e-0410-b603-e72c3f656dc1
2017-10-09 11:10:33 +00:00