paulc
a1dd97cf0d
Added setting to track created objects per script instead of whole module.
...
git-svn-id: http://voip.null.ro/svn/yate@6438 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-14 13:24:46 +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
marian
41c8c9a632
Increased the range of private relay IDs.
...
git-svn-id: http://voip.null.ro/svn/yate@6436 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-09 12:39:09 +00:00
marian
a7ccbc9803
Fixed bug: skip empty line when parsing headers inside multipart. Added more mime types to be decoded as string.
...
git-svn-id: http://voip.null.ro/svn/yate@6435 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-06 08:32:11 +00:00
marian
c1e7b7a213
Avoid abrupt listener thread exit leading to memory leak.
...
git-svn-id: http://voip.null.ro/svn/yate@6434 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-05 06:17:11 +00:00
oana
72c4eadd7e
Add timestamp to supervisor messages.
...
git-svn-id: http://voip.null.ro/svn/yate@6433 acf43c95-373e-0410-b603-e72c3f656dc1
2020-10-01 10:04:15 +00:00
paulc
c16d05c9ad
Adapt buffer sizes to the sampling rate.
...
Fixed the buffering algorithm for codecs with large packets.
git-svn-id: http://voip.null.ro/svn/yate@6432 acf43c95-373e-0410-b603-e72c3f656dc1
2020-09-28 08:26:42 +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
oana
8bb8e83faf
Add YATE library support for setting and getting the affinity of a thread.
...
git-svn-id: http://voip.null.ro/svn/yate@6429 acf43c95-373e-0410-b603-e72c3f656dc1
2020-09-23 15:26:34 +00:00
oana
1214822e83
Fix compilation errors on Windows due to lack of definition for strtoull function.
...
git-svn-id: http://voip.null.ro/svn/yate@6428 acf43c95-373e-0410-b603-e72c3f656dc1
2020-09-23 14:45:59 +00:00
marian
b3c83d2410
Added support to set Regexp in javascript message handler.
...
git-svn-id: http://voip.null.ro/svn/yate@6427 acf43c95-373e-0410-b603-e72c3f656dc1
2020-09-22 11:29:22 +00:00
marian
f4e809d074
Added support to set a Regexp in message handler filter. Added missing file to previous commit.
...
git-svn-id: http://voip.null.ro/svn/yate@6426 acf43c95-373e-0410-b603-e72c3f656dc1
2020-09-22 11:27:09 +00:00
marian
33573bc840
Added support to set a Regexp in message handler filter.
...
git-svn-id: http://voip.null.ro/svn/yate@6425 acf43c95-373e-0410-b603-e72c3f656dc1
2020-09-22 11:25:41 +00:00
paulc
dc054da3d8
Honor the PHP error reporting settings and the @ suppression operator.
...
git-svn-id: http://voip.null.ro/svn/yate@6424 acf43c95-373e-0410-b603-e72c3f656dc1
2020-09-01 10:58:05 +00:00
paulc
8b4f9a45e4
Handle retryable errors caused by interrupted system calls.
...
git-svn-id: http://voip.null.ro/svn/yate@6423 acf43c95-373e-0410-b603-e72c3f656dc1
2020-09-01 10:01:32 +00:00
paulc
c593990189
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://voip.null.ro/svn/yate@6422 acf43c95-373e-0410-b603-e72c3f656dc1
2020-08-27 09:54:46 +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
paulc
8c22409dac
Fixed retrieval of MySQL error code.
...
git-svn-id: http://voip.null.ro/svn/yate@6419 acf43c95-373e-0410-b603-e72c3f656dc1
2020-08-17 11:07:03 +00:00
oana
aaf34c810a
Add String::toUInt64() method which parses an uint64_t from a string.
...
git-svn-id: http://voip.null.ro/svn/yate@6418 acf43c95-373e-0410-b603-e72c3f656dc1
2020-08-05 13:02:53 +00:00
marian
c36e67711e
Added support to retry a query when deadlock is returned by the server.
...
git-svn-id: http://voip.null.ro/svn/yate@6417 acf43c95-373e-0410-b603-e72c3f656dc1
2020-07-21 14:00:05 +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
paulc
5fadec52f2
Added setting to execute account operations on reload.
...
git-svn-id: http://voip.null.ro/svn/yate@6414 acf43c95-373e-0410-b603-e72c3f656dc1
2020-07-13 14:27:52 +00:00
marian
51b6b1d2f2
Fixed documentation.
...
git-svn-id: http://voip.null.ro/svn/yate@6413 acf43c95-373e-0410-b603-e72c3f656dc1
2020-07-10 08:20:08 +00:00
marian
80a92b00a2
Copy sip headers for 200 OK sent or received on re-invite.
...
git-svn-id: http://voip.null.ro/svn/yate@6412 acf43c95-373e-0410-b603-e72c3f656dc1
2020-07-01 12:15:26 +00:00
paulc
22ebf95683
Added support for configuring a larger number of worker threads.
...
git-svn-id: http://voip.null.ro/svn/yate@6411 acf43c95-373e-0410-b603-e72c3f656dc1
2020-06-26 10:29:53 +00:00
marian
21b9d6a32c
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://voip.null.ro/svn/yate@6410 acf43c95-373e-0410-b603-e72c3f656dc1
2020-05-29 14:03:35 +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
marian
ee43383e2a
Lowered default level for untracked channels debug message.
...
git-svn-id: http://voip.null.ro/svn/yate@6408 acf43c95-373e-0410-b603-e72c3f656dc1
2020-04-24 11:10:50 +00:00
oana
9eb4c14056
Propagate trace_id to user.auth.
...
git-svn-id: http://voip.null.ro/svn/yate@6407 acf43c95-373e-0410-b603-e72c3f656dc1
2020-04-23 11:21:35 +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
a90f93814c
Add support for tracing matching of regexroute rules for a message.
...
git-svn-id: http://voip.null.ro/svn/yate@6405 acf43c95-373e-0410-b603-e72c3f656dc1
2020-04-22 12:45:33 +00:00
oana
7ef83087a6
Add tracing and propagation of trace ID in CallEndpoint and Channel.
...
git-svn-id: http://voip.null.ro/svn/yate@6404 acf43c95-373e-0410-b603-e72c3f656dc1
2020-04-22 12:36:46 +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
326e4941d7
Add a trace ID to objects.
...
Add debugging methods variants that print the trace ID.
git-svn-id: http://voip.null.ro/svn/yate@6402 acf43c95-373e-0410-b603-e72c3f656dc1
2020-04-22 12:00:37 +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
paulc
1db8917b18
Added a limit of how many messages can be queued to an external script.
...
git-svn-id: http://voip.null.ro/svn/yate@6400 acf43c95-373e-0410-b603-e72c3f656dc1
2020-04-15 15:39:14 +00:00
paulc
f099430479
Added support for checking if a module is loaded.
...
Added support for configuration conditionals on module loaded.
git-svn-id: http://voip.null.ro/svn/yate@6399 acf43c95-373e-0410-b603-e72c3f656dc1
2020-04-15 13:50:14 +00:00
marian
7da6684a2a
Make JsURI URI value available: properly call JsObject constructor.
...
git-svn-id: http://voip.null.ro/svn/yate@6398 acf43c95-373e-0410-b603-e72c3f656dc1
2020-04-14 05:58:16 +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
paulc
2eae0b863f
Protect and check the MGCP GW address if changing it.
...
git-svn-id: http://voip.null.ro/svn/yate@6395 acf43c95-373e-0410-b603-e72c3f656dc1
2020-03-31 16:30:56 +00:00
oana
a440eab1f5
Add command for generating merged configuration files from rmanager.
...
git-svn-id: http://voip.null.ro/svn/yate@6394 acf43c95-373e-0410-b603-e72c3f656dc1
2020-03-25 14:34:04 +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
d518874ba5
Bumped version to 6.2.1 devel.
...
git-svn-id: http://voip.null.ro/svn/yate@6392 acf43c95-373e-0410-b603-e72c3f656dc1
2020-03-03 16:47:04 +00:00
paulc
fe26be66eb
Bumped version to 6.2.0 release.
...
git-svn-id: http://voip.null.ro/svn/yate@6390 acf43c95-373e-0410-b603-e72c3f656dc1
2020-03-03 15:43:35 +00:00
paulc
4e993705cf
Fixed xdebug build of the javascript module.
...
git-svn-id: http://voip.null.ro/svn/yate@6389 acf43c95-373e-0410-b603-e72c3f656dc1
2020-03-03 14:52:36 +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