Commit Graph

5981 Commits

Author SHA1 Message Date
marian 90993a34de Added extra parameter to XmlDocument::saveFile to allow saving flat documents.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6310 acf43c95-373e-0410-b603-e72c3f656dc1
2018-04-12 12:38:59 +00:00
marian 0461cfbdcb Added utility to ScriptContext used to add string fields from a NamedList.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6309 acf43c95-373e-0410-b603-e72c3f656dc1
2018-04-12 12:35:32 +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
marian be2604db05 Added replaceParams() to XML fragment, document, element and text.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6305 acf43c95-373e-0410-b603-e72c3f656dc1
2018-04-10 10:33:00 +00:00
paulc a43ed78cdf Added some larger client icon files.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6304 acf43c95-373e-0410-b603-e72c3f656dc1
2018-04-06 10:12:44 +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
paulc 0d14ebf158 Added a PHP include file to easily retrieve RPM package version.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6301 acf43c95-373e-0410-b603-e72c3f656dc1
2018-03-12 18:30:11 +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 9e2d134ea5 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://yate.null.ro/svn/yate/trunk@6296 acf43c95-373e-0410-b603-e72c3f656dc1
2018-02-07 10:27:43 +00:00
paulc f79efe0b93 Be more tolerant about presence of an underline at end of the "osdp-prefix" parameter.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6295 acf43c95-373e-0410-b603-e72c3f656dc1
2018-02-06 16:46:37 +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 ecb4c6954b Added option to restart engine if system time jumps around too much.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6291 acf43c95-373e-0410-b603-e72c3f656dc1
2018-01-10 12:13:53 +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 7ddc72e67e Added explanation for conditional blocks.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6288 acf43c95-373e-0410-b603-e72c3f656dc1
2018-01-05 10:41:02 +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
marian 983e05f546 Added hashCode function for javascript strings. Return String::hash().
git-svn-id: http://yate.null.ro/svn/yate/trunk@6284 acf43c95-373e-0410-b603-e72c3f656dc1
2017-12-08 16:12:59 +00:00
marian 630392fe0c Removed unused parameters documentation.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6283 acf43c95-373e-0410-b603-e72c3f656dc1
2017-11-23 08:01:09 +00:00
marian 543a452976 Clarified documentation.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6282 acf43c95-373e-0410-b603-e72c3f656dc1
2017-11-23 07:53:27 +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
oana e3bf50ad2b Use String method which trims whitespaces for the implementation of JS String method trim().
git-svn-id: http://yate.null.ro/svn/yate/trunk@6279 acf43c95-373e-0410-b603-e72c3f656dc1
2017-11-14 14:31:52 +00:00
paulc 8d9f34b9db Fixed maximum MSU size, it's 273 including SIO.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6278 acf43c95-373e-0410-b603-e72c3f656dc1
2017-11-02 16:11:42 +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
paulc 1b3904f58e Added support for banning IPv6 addresses.
Prevent banning the loopback address.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6274 acf43c95-373e-0410-b603-e72c3f656dc1
2017-10-30 14:54:16 +00:00
andrei b4763094c5 Force 'String' constructor from 'unsigned int' in decodeCause.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6273 acf43c95-373e-0410-b603-e72c3f656dc1
2017-10-09 11:10:33 +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 9bf5249ecf Fixed bug: set children parent when copying an XmlElement.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6268 acf43c95-373e-0410-b603-e72c3f656dc1
2017-09-26 13:51:18 +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 77693c98ea Take SVN revision from the product directory, not entire repository.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6262 acf43c95-373e-0410-b603-e72c3f656dc1
2017-09-13 14:43:55 +00:00
paulc abdcb5841f Added basic parsing of H.264 format in SDP.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6261 acf43c95-373e-0410-b603-e72c3f656dc1
2017-09-11 13:19:00 +00:00