marian
fbd39c5c20
Make sure debugger output is enabled if debug is enabled when connection starts. Fixes suppressed output: yate is started daemonified with no log file.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6327 acf43c95-373e-0410-b603-e72c3f656dc1
2018-11-13 14:00:19 +00:00
marian
06eabcb03f
Removed account lock during query: this was preventing running multiple queries at a time.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6326 acf43c95-373e-0410-b603-e72c3f656dc1
2018-10-25 11:21:09 +00:00
marian
5e965dd90f
Use a timed lock (if answer timeout is set) when serializing message send to script. Don't send the message to script if failed to lock for configured timeout.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6325 acf43c95-373e-0410-b603-e72c3f656dc1
2018-10-01 11:31:59 +00:00
marian
8cc62785aa
Outgoing call: initialize dialog's sequence generator and set it in first generated request to avoid CSeq mismatch if challenged.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6324 acf43c95-373e-0410-b603-e72c3f656dc1
2018-09-17 15:04:38 +00:00
marian
9413305495
Added SIPS URI support.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6321 acf43c95-373e-0410-b603-e72c3f656dc1
2018-07-06 09:37:17 +00:00
paulc
2130ea0404
Added support for following forked transactions' 1xx provisional messages.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6318 acf43c95-373e-0410-b603-e72c3f656dc1
2018-07-03 12:19:25 +00:00
oana
ff8d653feb
Moved methods to the JS library that stringify objects to JSON format.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6317 acf43c95-373e-0410-b603-e72c3f656dc1
2018-06-15 13:39:48 +00:00
paulc
c37095e695
Detect and deal with some OpenSSL 1.1.0 deprecations.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6316 acf43c95-373e-0410-b603-e72c3f656dc1
2018-06-11 11:33:06 +00:00
marian
26be68ef18
Fixed bug: properly destroy (deref) udp listener when removed from config file.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6312 acf43c95-373e-0410-b603-e72c3f656dc1
2018-04-23 09:31:16 +00:00
marian
243909bd44
Added saveFile() and loadFile() to javascript XML.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6311 acf43c95-373e-0410-b603-e72c3f656dc1
2018-04-12 12:44:38 +00:00
marian
fd04da7b91
Fixed bug: avoid infinite loop when stringifying an array with holes (index is missing). Put null for missing indexes.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6308 acf43c95-373e-0410-b603-e72c3f656dc1
2018-04-11 12:00:37 +00:00
marian
086a25e1f6
Added replaceParams() function to JSON.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6307 acf43c95-373e-0410-b603-e72c3f656dc1
2018-04-10 12:16:20 +00:00
marian
4a3740daf9
XML element replaceParams() is now available in javascript.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6306 acf43c95-373e-0410-b603-e72c3f656dc1
2018-04-10 11:08:25 +00:00
paulc
49de800994
Fixed unescaping of handler filter parameters.
...
This allows filter name or value to contain characters like : or %.
Patch provided by Vasily i. Redkin.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6303 acf43c95-373e-0410-b603-e72c3f656dc1
2018-03-21 13:31:09 +00:00
marian
698b55da64
Fixed vendor value build from individual octets: avoid generating wrong values when octets are promoted to int.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6302 acf43c95-373e-0410-b603-e72c3f656dc1
2018-03-13 13:07:51 +00:00
marian
8b17aa8edb
Engine::init() is now available in javascript.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6300 acf43c95-373e-0410-b603-e72c3f656dc1
2018-03-12 14:10:45 +00:00
paulc
1dc8d69a8e
Added a helper class SocketRef and use it instead of all ad-hoc similar classes.
...
Fixed a memory leak in Jabber SSL listeners.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6299 acf43c95-373e-0410-b603-e72c3f656dc1
2018-02-20 11:58:02 +00:00
oana
65bc140298
Add method to clear parameter(s) to JS Message API.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6298 acf43c95-373e-0410-b603-e72c3f656dc1
2018-02-12 14:42:45 +00:00
oana
e6a765dc35
Allow using JS Message object for Engine.replaceParams() implementation.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6297 acf43c95-373e-0410-b603-e72c3f656dc1
2018-02-12 12:07:25 +00:00
paulc
a77fbc77bb
Fixed SCTP validity checks for association vs primary peer.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6294 acf43c95-373e-0410-b603-e72c3f656dc1
2018-01-25 14:29:16 +00:00
paulc
03482ea3a5
Correctly handle a non-block rule on the same line as the closing brace of a block.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6293 acf43c95-373e-0410-b603-e72c3f656dc1
2018-01-12 17:07:40 +00:00
paulc
accb50a103
Fixed misleading indentation.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6292 acf43c95-373e-0410-b603-e72c3f656dc1
2018-01-10 12:18:58 +00:00
paulc
809f127c54
Fixed OpenSSL build on newer versions lacking AES_ctr128_encrypt.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6290 acf43c95-373e-0410-b603-e72c3f656dc1
2018-01-09 12:28:41 +00:00
paulc
a2501fae5f
Fixed new match after end of previous block with no spaces in between.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6289 acf43c95-373e-0410-b603-e72c3f656dc1
2018-01-05 12:20:26 +00:00
paulc
74d08d409a
Added support for late SDP in ACK for reINVITE transactions.
...
Allow SDP forwarding when the media address is 0.0.0.0 or :: (muted).
git-svn-id: http://yate.null.ro/svn/yate/trunk@6287 acf43c95-373e-0410-b603-e72c3f656dc1
2017-12-18 15:48:17 +00:00
paulc
500e2633b5
Add a Retry-After header to the 503 generated in case of Engine congestion.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6286 acf43c95-373e-0410-b603-e72c3f656dc1
2017-12-14 14:02:51 +00:00
paulc
f41bc9e38b
Honor sdp_forward setting after receiving 18x/2xx with SDP for an INVITE without SDP.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6285 acf43c95-373e-0410-b603-e72c3f656dc1
2017-12-14 13:45:10 +00:00
oana
be0ce880da
Add DNS.dscp() method to validate given DSCP values from Javascript.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6281 acf43c95-373e-0410-b603-e72c3f656dc1
2017-11-17 15:57:31 +00:00
paulc
a730efa009
Added support for sending call with SDP in ACK instead of INVITE in proxy and RTP forward modes.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6280 acf43c95-373e-0410-b603-e72c3f656dc1
2017-11-16 18:11:05 +00:00
paulc
03a41bb9ee
Allow encoding all variation of A-F address digits in ISUP, SCCP, MAP/CAMEL.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6277 acf43c95-373e-0410-b603-e72c3f656dc1
2017-11-01 16:59:05 +00:00
paulc
fc2ea0387b
Added parsing of diversion counter.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6276 acf43c95-373e-0410-b603-e72c3f656dc1
2017-11-01 16:38:38 +00:00
paulc
78c93b5462
Added support for recursively dispatching a handled message.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6275 acf43c95-373e-0410-b603-e72c3f656dc1
2017-11-01 16:37:48 +00:00
marian
8605cffeb6
Fixed bug: update udp party local address when transport binds for valid lines (transport was not valid when line was created).
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6272 acf43c95-373e-0410-b603-e72c3f656dc1
2017-10-06 09:11:32 +00:00
paulc
d9cf33f16c
Added mapping for reason "moved".
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6271 acf43c95-373e-0410-b603-e72c3f656dc1
2017-10-05 16:06:28 +00:00
paulc
671aca54ec
Use same filtering rule for accounts status and TAB completion as for login/logout.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6270 acf43c95-373e-0410-b603-e72c3f656dc1
2017-10-02 12:02:38 +00:00
oana
ffd790e56b
Add count() method to Javascript implementation of HashList.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6269 acf43c95-373e-0410-b603-e72c3f656dc1
2017-09-29 14:52:33 +00:00
marian
19b8dc9fe4
Fixed bug: avoid dumping ExpFunction when JSON stringifying an object.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6267 acf43c95-373e-0410-b603-e72c3f656dc1
2017-09-19 13:56:24 +00:00
paulc
7497ff0d05
Don't attempt to DNS resolve empty, null or undefined names.
...
Added helper functions to check if an operator is missing or empty.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6266 acf43c95-373e-0410-b603-e72c3f656dc1
2017-09-18 13:03:30 +00:00
paulc
d60c0d2b34
Added support for basic processing of China and Japan ISUP versions in SIP-T.
...
National specific messages are not decoded, just ITU compatibility.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6265 acf43c95-373e-0410-b603-e72c3f656dc1
2017-09-18 12:18:46 +00:00
oana
6f58478394
Added support for a native implementation of a Javascript HashList.
...
When generating iterator for JsObjects avoid checking that were not setting duplicates in the iterator. JsObject does not allow setting duplicates.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6264 acf43c95-373e-0410-b603-e72c3f656dc1
2017-09-18 12:14:44 +00:00
paulc
e2060c65fe
Workaround for a race to watch a message result while its ExtModReceiver is being destroyed.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6263 acf43c95-373e-0410-b603-e72c3f656dc1
2017-09-13 14:55:58 +00:00
paulc
27de15bc48
Fixed compile time bugs and warnings exposed by Visual Studio.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6256 acf43c95-373e-0410-b603-e72c3f656dc1
2017-09-07 15:29:32 +00:00
paulc
fb2d0ba3ae
Allow rmanager output to be turned off even if debug is on but preserve ^O cycling logic.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6254 acf43c95-373e-0410-b603-e72c3f656dc1
2017-08-11 15:37:12 +00:00
paulc
3ec99ceac1
Removed useless undefined method.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6253 acf43c95-373e-0410-b603-e72c3f656dc1
2017-08-10 08:28:22 +00:00
andrei
d557427582
BugFix. Clear JsContext parameters before destructor is reached.
...
Clear ScriptRun stack and async tasks, before destroying the script context.
Fixed JsSemaphore prototype.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6252 acf43c95-373e-0410-b603-e72c3f656dc1
2017-08-02 13:48:40 +00:00
marian
0025edce41
Reset endpoint pointer when terminated to avoid using it.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6251 acf43c95-373e-0410-b603-e72c3f656dc1
2017-08-02 07:51:02 +00:00
paulc
c4c9e994f0
Renamed DebugGoOn to DebugCrit so it better matches its purpose.
...
Swapped order of DebugCall and DebugNote so DebugCall is less visible.
Changed default debug level to DebugNote.
Modified a few inadequate uses of DebugCrit.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6250 acf43c95-373e-0410-b603-e72c3f656dc1
2017-08-01 13:08:23 +00:00
paulc
7d4da59ace
Added handling of SCTP states PF and UNCONFIRMED if supported by the library.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6249 acf43c95-373e-0410-b603-e72c3f656dc1
2017-08-01 12:36:57 +00:00
andrei
255bd0161a
Added support for Semaphore in JS.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6248 acf43c95-373e-0410-b603-e72c3f656dc1
2017-08-01 06:20:58 +00:00
marian
754e0561fa
Added configurable param (disabled by default) used to enable LMS chip autocal on device power on.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6247 acf43c95-373e-0410-b603-e72c3f656dc1
2017-07-31 13:59:46 +00:00