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
paulc
166aa682f4
Added setting to track created objects per script instead of whole module.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6438 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-14 13:24:46 +00:00
marian
c0db0b4817
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://yate.null.ro/svn/yate/trunk@6437 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-14 10:38:31 +00:00
marian
63aee844a7
Avoid abrupt listener thread exit leading to memory leak.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6434 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-05 06:17:11 +00:00
paulc
b4d702161b
Adapt buffer sizes to the sampling rate.
...
Fixed the buffering algorithm for codecs with large packets.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6432 acf43c95-373e-0410-b603-e72c3f656dc1
2020-09-28 08:26:42 +00:00
oana
664e1391a6
Add command line argument for running YATE with a required affinity.
...
Add configuration for affinity of RTPGroup threads.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6430 acf43c95-373e-0410-b603-e72c3f656dc1
2020-09-23 13:12:56 +00:00
marian
0fb78918f2
Added support to set Regexp in javascript message handler.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6427 acf43c95-373e-0410-b603-e72c3f656dc1
2020-09-22 11:29:22 +00:00
paulc
2ca7a18ac8
Made DNS resolver work with libc versions that don't define __NAMESER.
...
Initialize the resolver in JS DNS and return null if initialization fails.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6422 acf43c95-373e-0410-b603-e72c3f656dc1
2020-08-27 09:54:46 +00:00
marian
6031f15896
Avoid resetting started RTP when handling re-invite/update containing currently used codec.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6420 acf43c95-373e-0410-b603-e72c3f656dc1
2020-08-21 13:58:46 +00:00
paulc
80cfdf66de
Fixed retrieval of MySQL error code.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6419 acf43c95-373e-0410-b603-e72c3f656dc1
2020-08-17 11:07:03 +00:00
marian
4fbc9eecfe
Added support to retry a query when deadlock is returned by the server.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6417 acf43c95-373e-0410-b603-e72c3f656dc1
2020-07-21 14:00:05 +00:00
marian
10596bdb18
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://yate.null.ro/svn/yate/trunk@6416 acf43c95-373e-0410-b603-e72c3f656dc1
2020-07-21 07:39:54 +00:00
marian
7fd35b99be
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://yate.null.ro/svn/yate/trunk@6415 acf43c95-373e-0410-b603-e72c3f656dc1
2020-07-15 13:34:04 +00:00
paulc
073f33a3fb
Added setting to execute account operations on reload.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6414 acf43c95-373e-0410-b603-e72c3f656dc1
2020-07-13 14:27:52 +00:00
marian
0b5e30d1e3
Copy sip headers for 200 OK sent or received on re-invite.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6412 acf43c95-373e-0410-b603-e72c3f656dc1
2020-07-01 12:15:26 +00:00
marian
e090326356
Added separate (global) mutex used to protect access to Channel::m_status. Removed unsafe public method used to obtain it. Added methods used to safely obtain a copy of it.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6410 acf43c95-373e-0410-b603-e72c3f656dc1
2020-05-29 14:03:35 +00:00
marian
7d1524679b
Lowered default level for untracked channels debug message.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6408 acf43c95-373e-0410-b603-e72c3f656dc1
2020-04-24 11:10:50 +00:00
oana
931d583b48
Propagate trace_id to user.auth.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6407 acf43c95-373e-0410-b603-e72c3f656dc1
2020-04-23 11:21:35 +00:00
oana
636e41a2cd
Add support in SIP, SDP, RTP and CDR build for tracing a call.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6406 acf43c95-373e-0410-b603-e72c3f656dc1
2020-04-22 14:18:49 +00:00
oana
c118f78577
Add support for tracing matching of regexroute rules for a message.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6405 acf43c95-373e-0410-b603-e72c3f656dc1
2020-04-22 12:45:33 +00:00
oana
670f9746b7
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://yate.null.ro/svn/yate/trunk@6403 acf43c95-373e-0410-b603-e72c3f656dc1
2020-04-22 12:05:53 +00:00
oana
e337f4bc3a
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://yate.null.ro/svn/yate/trunk@6401 acf43c95-373e-0410-b603-e72c3f656dc1
2020-04-22 10:59:48 +00:00
paulc
03985c7dbb
Added a limit of how many messages can be queued to an external script.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6400 acf43c95-373e-0410-b603-e72c3f656dc1
2020-04-15 15:39:14 +00:00
paulc
7ac83d9218
Added support for checking if a module is loaded.
...
Added support for configuration conditionals on module loaded.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6399 acf43c95-373e-0410-b603-e72c3f656dc1
2020-04-15 13:50:14 +00:00
marian
f2343ff21f
Make JsURI URI value available: properly call JsObject constructor.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6398 acf43c95-373e-0410-b603-e72c3f656dc1
2020-04-14 05:58:16 +00:00
oana
6965bec52f
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://yate.null.ro/svn/yate/trunk@6397 acf43c95-373e-0410-b603-e72c3f656dc1
2020-04-01 11:47:55 +00:00
paulc
92b1488538
Protect and check the MGCP GW address if changing it.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6395 acf43c95-373e-0410-b603-e72c3f656dc1
2020-03-31 16:30:56 +00:00
oana
380b6491a9
Add command for generating merged configuration files from rmanager.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6394 acf43c95-373e-0410-b603-e72c3f656dc1
2020-03-25 14:34:04 +00:00
marian
354b2b278d
Added capability to disable SDP forward from routing.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6393 acf43c95-373e-0410-b603-e72c3f656dc1
2020-03-09 07:15:06 +00:00
paulc
18e10ce2c3
Fixed xdebug build of the javascript module.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6389 acf43c95-373e-0410-b603-e72c3f656dc1
2020-03-03 14:52:36 +00:00
marian
8fe3d0585c
Handle 'silent' error/reason in reject, disconnect, drop. Silence channel's transaction: process it but send nothing to remote party.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6387 acf43c95-373e-0410-b603-e72c3f656dc1
2020-02-27 12:11:28 +00:00
paulc
dd4a0224de
Added an easy way to block a RTP forwarding reINVITE call.update message.
...
Handle the message (to stop it) but set retValue to "-" or "error".
git-svn-id: http://yate.null.ro/svn/yate/trunk@6386 acf43c95-373e-0410-b603-e72c3f656dc1
2020-02-26 15:13:39 +00:00
marian
ed89e03628
Added configurable option to put all headers received in initial SIP requests in yate message.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6385 acf43c95-373e-0410-b603-e72c3f656dc1
2020-02-26 13:08:04 +00:00
marian
8ea6c82663
Made URI object and methods available in javascript.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6384 acf43c95-373e-0410-b603-e72c3f656dc1
2020-02-21 14:41:19 +00:00
marian
d56a073f95
Improved alarm message put on reading possible truncated packet for udp listener.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6381 acf43c95-373e-0410-b603-e72c3f656dc1
2020-02-17 06:35:48 +00:00