Commit Graph

3005 Commits

Author SHA1 Message Date
marian 9c9129aa98 Fixed bug: check for repeated 'Accept' header to detect if SDP is accepted.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6538 acf43c95-373e-0410-b603-e72c3f656dc1
2022-02-01 10:12:26 +00:00
marian 8ca99f45a5 Export XPath in javascript.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6537 acf43c95-373e-0410-b603-e72c3f656dc1
2022-01-11 09:02:56 +00:00
marian 4de9059a6c Added separate module for debug messages put in regexroute matching rules using the debug function to allow setting a different debug level for them. Made regexroute itself a module using its own debug level (it no longer uses the global debug level for debug messages).
git-svn-id: http://yate.null.ro/svn/yate/trunk@6533 acf43c95-373e-0410-b603-e72c3f656dc1
2022-01-04 07:38:24 +00:00
marian 0e019e9d35 Added functions used to set/add a list of parameters in configuration and section.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6532 acf43c95-373e-0410-b603-e72c3f656dc1
2021-12-22 07:03:35 +00:00
marian ded00a075b Added dump_t/print_t support to handle field name mapping. Added parameter to allow printing empty results (header only).
git-svn-id: http://yate.null.ro/svn/yate/trunk@6530 acf43c95-373e-0410-b603-e72c3f656dc1
2021-12-13 07:29:32 +00:00
marian 5432a414aa Added support to enable REFER handling per call leg. Added configurable support (default:disabled) to send a call.update message with operation=transfer before internal handling on REFER.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6527 acf43c95-373e-0410-b603-e72c3f656dc1
2021-11-15 14:19:43 +00:00
marian dead60e861 Added support for JSON Path (find value in object by path). Fixed JSON.stringify(): avoid crashing on circular references, replace already found objects by their path reference. Report path in Engine.dump_r for already found objects.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6525 acf43c95-373e-0410-b603-e72c3f656dc1
2021-10-27 10:22:53 +00:00
marian 876a884cfd Fixed help command handling: don't return commands if not matched the requested one.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6524 acf43c95-373e-0410-b603-e72c3f656dc1
2021-10-08 07:54:37 +00:00
marian 69ab733dbd Fixed dump_t bug: wrong field handling for late added columns. Added support to dump array of rows with first element array containing header names.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6523 acf43c95-373e-0410-b603-e72c3f656dc1
2021-10-07 12:49:07 +00:00
marian 2a6cc0c2fe Added trackname and filter to msgdelay message handler.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6522 acf43c95-373e-0410-b603-e72c3f656dc1
2021-09-28 11:05:45 +00:00
marian de95fc5171 Added support to create arbitrary named lists of shared vars (separate from Engine's global). Added extra functions to shared vars list. Export in javascript.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6521 acf43c95-373e-0410-b603-e72c3f656dc1
2021-09-28 10:55:08 +00:00
oana ca208774e0 Added msleep function that permits sleeping when handling a message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6520 acf43c95-373e-0410-b603-e72c3f656dc1
2021-09-24 13:24:10 +00:00
oana 808bc77a0f Add support for multi-threaded access to regexroute.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6519 acf43c95-373e-0410-b603-e72c3f656dc1
2021-09-24 13:14:51 +00:00
marian e93830a824 Fixed bug: don't reset honored DTMF detected method to properly report failed DTMF method(s) in debug message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6517 acf43c95-373e-0410-b603-e72c3f656dc1
2021-09-02 06:41:41 +00:00
oana 9596ad76c3 Bug fix for issue introduced in revision 6510: if filter is not present, match all messages instead of matching none.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6516 acf43c95-373e-0410-b603-e72c3f656dc1
2021-08-17 14:47:46 +00:00
marian 8dd9177f88 Report time spent in queue in message sniffer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6514 acf43c95-373e-0410-b603-e72c3f656dc1
2021-08-16 08:06:49 +00:00
marian 9770def8f3 Added support to match message parameter(s) in sniffer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6510 acf43c95-373e-0410-b603-e72c3f656dc1
2021-08-05 13:27:55 +00:00
marian de17affd13 Added support for multiple non SDP/ISUP bodies.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6502 acf43c95-373e-0410-b603-e72c3f656dc1
2021-06-23 07:07:04 +00:00
oana f078f77cf1 Handle possible missing declaration of MySQL type my_bool as its definition was removed in version > 8.0.1.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6499 acf43c95-373e-0410-b603-e72c3f656dc1
2021-06-01 14:04:29 +00:00
oana b5999abac7 Invalidate a SSLSocket in constructor if building a new SSL context fails.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6498 acf43c95-373e-0410-b603-e72c3f656dc1
2021-06-01 14:00:14 +00:00
marian 39bd797dc0 Fixed bugs. Avoid adding an executed slave which already lost its master, avoid adding a slave to list if it is going to be destroyed (avoid re-entering in call continue). Made ForkMaster and ForkSlave debug enablers, allow setting a debug level in master. Improved debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6497 acf43c95-373e-0410-b603-e72c3f656dc1
2021-05-28 11:50:18 +00:00
paulc e64b94990c Set the name for the JS scheduler thread so it can be identified.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6495 acf43c95-373e-0410-b603-e72c3f656dc1
2021-05-21 15:26:13 +00:00
marian a233486719 Fixed bug: clear timer events before engine and runner to make sure all objects are released while script context is valid.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6494 acf43c95-373e-0410-b603-e72c3f656dc1
2021-05-20 12:24:31 +00:00
marian ac7293cfa6 Fixed bug: re-insert time events in list before calling the callback to allow scripts to safely remove the event in callback.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6493 acf43c95-373e-0410-b603-e72c3f656dc1
2021-05-19 14:16:06 +00:00
paulc 8e46e881e4 Avoid a crash in some very slow shutdown race condition.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6492 acf43c95-373e-0410-b603-e72c3f656dc1
2021-05-19 14:15:17 +00:00
paulc 5feab5d0fc Fixed bug in usually ignored settime operation response.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6491 acf43c95-373e-0410-b603-e72c3f656dc1
2021-05-18 18:17:49 +00:00
paulc 9dd5107bf4 Added Javascript method to set the engine congestion.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6490 acf43c95-373e-0410-b603-e72c3f656dc1
2021-05-18 18:07:43 +00:00
oana 74b09a9a75 Allow javascript to retrieve engine congestion level.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6489 acf43c95-373e-0410-b603-e72c3f656dc1
2021-05-18 12:19:21 +00:00
marian 6485166aa5 Fixed bug: check pointer before use in Engine.output.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6488 acf43c95-373e-0410-b603-e72c3f656dc1
2021-05-17 08:42:30 +00:00
paulc 885573a423 Fixed a buffer overflow in the regexroute $(timestamp) function.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6486 acf43c95-373e-0410-b603-e72c3f656dc1
2021-05-04 09:31:13 +00:00
marian 897042a619 Fixed memory leak: always deref pending sip notify message when REFER handling terminates.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6485 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-21 06:47:47 +00:00
marian 2014766be1 Added 2 channel slin/alaw/mulaw to rtp payloads dictionary.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6482 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-19 09:34:41 +00:00
paulc b9cb5d4f0b Don't add spacing for empty strings in Engine.output(), just like in Engine.debug().
git-svn-id: http://yate.null.ro/svn/yate/trunk@6479 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-16 10:24:17 +00:00
marian 871751ecfa Added support to pass file open parameters to File.setContent function. Fixed code alignment.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6476 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-05 08:46:50 +00:00
marian d81d1f7452 Added extmodule support to put a script requested debug message in yate output/logging. Added support to change script's debug level and debug name.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6472 acf43c95-373e-0410-b603-e72c3f656dc1
2021-04-01 09:10:07 +00:00
marian ef15153c1f Fixed bug: check for valid message returned from parsing before setting data member.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6470 acf43c95-373e-0410-b603-e72c3f656dc1
2021-03-26 12:37:49 +00:00
paulc d23ac38dbc Added sniffer option to deiplay only messages with age or delay higher than a certain value.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6466 acf43c95-373e-0410-b603-e72c3f656dc1
2021-03-15 13:05:28 +00:00
paulc 6097706c14 Added rmanager "date" command to show current date / time.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6465 acf43c95-373e-0410-b603-e72c3f656dc1
2021-03-12 12:20:02 +00:00
paulc 51b6cf6bfa Fixed several issues exposed by the Microsoft compiler.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6459 acf43c95-373e-0410-b603-e72c3f656dc1
2021-02-09 14:08:19 +00:00
paulc a1f3b06d52 Added support for manipulating the id of backward messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6457 acf43c95-373e-0410-b603-e72c3f656dc1
2021-01-14 15:40:40 +00:00
paulc 79503829f9 Made the rmanager prompt configurable for each authentication level.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6456 acf43c95-373e-0410-b603-e72c3f656dc1
2020-12-11 12:34:47 +00:00
oana d2df1cd2a6 Avoid setting trace_id twice in call.preroute.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6454 acf43c95-373e-0410-b603-e72c3f656dc1
2020-11-13 15:49:43 +00:00
paulc 5ef2bd18d2 Fixed the .au header to contain the optional annotation required by some tools.
Added support for handling G.722 files.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6453 acf43c95-373e-0410-b603-e72c3f656dc1
2020-11-03 16:36:51 +00:00
paulc 6cede1462a Write the proper length of the .au data if the stream is seekable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6452 acf43c95-373e-0410-b603-e72c3f656dc1
2020-11-03 13:13:38 +00:00
paulc 6eaa308552 Added support for WB and UWB audio formats.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6451 acf43c95-373e-0410-b603-e72c3f656dc1
2020-11-03 11:30:40 +00:00
oana 153f5b35b9 Protect access to object tracking list of the script execution context.
Some objects are created outside of the context.



git-svn-id: http://yate.null.ro/svn/yate/trunk@6447 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-29 16:28:49 +00:00
marian e13d7ec785 Fixed jsext sample: update to JsObject constructor changes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6445 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-27 08:57:33 +00:00
oana 5fdbdd2cff Minor fix: return sections of a configuration file as object instead of array.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6443 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-21 11:53:57 +00:00
oana 63eb336324 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://yate.null.ro/svn/yate/trunk@6442 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-21 11:01:31 +00:00
marian eedf31e959 Added support to dump JsHashList items in print_r and toJSON.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6439 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-14 14:03:56 +00:00