marian
751fcc46cd
Fixed bug: properly destroy (deref) udp listener when removed from config file.
...
git-svn-id: http://voip.null.ro/svn/yate@6312 acf43c95-373e-0410-b603-e72c3f656dc1
2018-04-23 09:31:16 +00:00
marian
6bf0fda4c6
Added saveFile() and loadFile() to javascript XML.
...
git-svn-id: http://voip.null.ro/svn/yate@6311 acf43c95-373e-0410-b603-e72c3f656dc1
2018-04-12 12:44:38 +00:00
marian
c1f86117f0
Added extra parameter to XmlDocument::saveFile to allow saving flat documents.
...
git-svn-id: http://voip.null.ro/svn/yate@6310 acf43c95-373e-0410-b603-e72c3f656dc1
2018-04-12 12:38:59 +00:00
marian
2c241d279f
Added utility to ScriptContext used to add string fields from a NamedList.
...
git-svn-id: http://voip.null.ro/svn/yate@6309 acf43c95-373e-0410-b603-e72c3f656dc1
2018-04-12 12:35:32 +00:00
marian
f3a3aa566a
Fixed bug: avoid infinite loop when stringifying an array with holes (index is missing). Put null for missing indexes.
...
git-svn-id: http://voip.null.ro/svn/yate@6308 acf43c95-373e-0410-b603-e72c3f656dc1
2018-04-11 12:00:37 +00:00
marian
ffa7d24050
Added replaceParams() function to JSON.
...
git-svn-id: http://voip.null.ro/svn/yate@6307 acf43c95-373e-0410-b603-e72c3f656dc1
2018-04-10 12:16:20 +00:00
marian
b33f66c741
XML element replaceParams() is now available in javascript.
...
git-svn-id: http://voip.null.ro/svn/yate@6306 acf43c95-373e-0410-b603-e72c3f656dc1
2018-04-10 11:08:25 +00:00
marian
131f8ca07c
Added replaceParams() to XML fragment, document, element and text.
...
git-svn-id: http://voip.null.ro/svn/yate@6305 acf43c95-373e-0410-b603-e72c3f656dc1
2018-04-10 10:33:00 +00:00
paulc
035a758980
Added some larger client icon files.
...
git-svn-id: http://voip.null.ro/svn/yate@6304 acf43c95-373e-0410-b603-e72c3f656dc1
2018-04-06 10:12:44 +00:00
paulc
656bc9525f
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://voip.null.ro/svn/yate@6303 acf43c95-373e-0410-b603-e72c3f656dc1
2018-03-21 13:31:09 +00:00
marian
265f016c43
Fixed vendor value build from individual octets: avoid generating wrong values when octets are promoted to int.
...
git-svn-id: http://voip.null.ro/svn/yate@6302 acf43c95-373e-0410-b603-e72c3f656dc1
2018-03-13 13:07:51 +00:00
paulc
7c6c9d5b10
Added a PHP include file to easily retrieve RPM package version.
...
git-svn-id: http://voip.null.ro/svn/yate@6301 acf43c95-373e-0410-b603-e72c3f656dc1
2018-03-12 18:30:11 +00:00
marian
b3ee072711
Engine::init() is now available in javascript.
...
git-svn-id: http://voip.null.ro/svn/yate@6300 acf43c95-373e-0410-b603-e72c3f656dc1
2018-03-12 14:10:45 +00:00
paulc
871aeae4c5
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://voip.null.ro/svn/yate@6299 acf43c95-373e-0410-b603-e72c3f656dc1
2018-02-20 11:58:02 +00:00
oana
3303f77b22
Add method to clear parameter(s) to JS Message API.
...
git-svn-id: http://voip.null.ro/svn/yate@6298 acf43c95-373e-0410-b603-e72c3f656dc1
2018-02-12 14:42:45 +00:00
oana
4030ca583e
Allow using JS Message object for Engine.replaceParams() implementation.
...
git-svn-id: http://voip.null.ro/svn/yate@6297 acf43c95-373e-0410-b603-e72c3f656dc1
2018-02-12 12:07:25 +00:00
paulc
5c8ba3ebcb
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://voip.null.ro/svn/yate@6296 acf43c95-373e-0410-b603-e72c3f656dc1
2018-02-07 10:27:43 +00:00
paulc
e01e1b86a1
Be more tolerant about presence of an underline at end of the "osdp-prefix" parameter.
...
git-svn-id: http://voip.null.ro/svn/yate@6295 acf43c95-373e-0410-b603-e72c3f656dc1
2018-02-06 16:46:37 +00:00
paulc
fbeeea886f
Fixed SCTP validity checks for association vs primary peer.
...
git-svn-id: http://voip.null.ro/svn/yate@6294 acf43c95-373e-0410-b603-e72c3f656dc1
2018-01-25 14:29:16 +00:00
paulc
b384c30fe1
Correctly handle a non-block rule on the same line as the closing brace of a block.
...
git-svn-id: http://voip.null.ro/svn/yate@6293 acf43c95-373e-0410-b603-e72c3f656dc1
2018-01-12 17:07:40 +00:00
paulc
3564a7d171
Fixed misleading indentation.
...
git-svn-id: http://voip.null.ro/svn/yate@6292 acf43c95-373e-0410-b603-e72c3f656dc1
2018-01-10 12:18:58 +00:00
paulc
fcf945b0bf
Added option to restart engine if system time jumps around too much.
...
git-svn-id: http://voip.null.ro/svn/yate@6291 acf43c95-373e-0410-b603-e72c3f656dc1
2018-01-10 12:13:53 +00:00
paulc
e769dfec8e
Fixed OpenSSL build on newer versions lacking AES_ctr128_encrypt.
...
git-svn-id: http://voip.null.ro/svn/yate@6290 acf43c95-373e-0410-b603-e72c3f656dc1
2018-01-09 12:28:41 +00:00
paulc
2b1a2a9fea
Fixed new match after end of previous block with no spaces in between.
...
git-svn-id: http://voip.null.ro/svn/yate@6289 acf43c95-373e-0410-b603-e72c3f656dc1
2018-01-05 12:20:26 +00:00
paulc
2b0d280395
Added explanation for conditional blocks.
...
git-svn-id: http://voip.null.ro/svn/yate@6288 acf43c95-373e-0410-b603-e72c3f656dc1
2018-01-05 10:41:02 +00:00
paulc
c91d771298
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://voip.null.ro/svn/yate@6287 acf43c95-373e-0410-b603-e72c3f656dc1
2017-12-18 15:48:17 +00:00
paulc
ddd1dd37a6
Add a Retry-After header to the 503 generated in case of Engine congestion.
...
git-svn-id: http://voip.null.ro/svn/yate@6286 acf43c95-373e-0410-b603-e72c3f656dc1
2017-12-14 14:02:51 +00:00
paulc
4176ca865d
Honor sdp_forward setting after receiving 18x/2xx with SDP for an INVITE without SDP.
...
git-svn-id: http://voip.null.ro/svn/yate@6285 acf43c95-373e-0410-b603-e72c3f656dc1
2017-12-14 13:45:10 +00:00
marian
0ddb2d7e46
Added hashCode function for javascript strings. Return String::hash().
...
git-svn-id: http://voip.null.ro/svn/yate@6284 acf43c95-373e-0410-b603-e72c3f656dc1
2017-12-08 16:12:59 +00:00
marian
a26e45ad25
Removed unused parameters documentation.
...
git-svn-id: http://voip.null.ro/svn/yate@6283 acf43c95-373e-0410-b603-e72c3f656dc1
2017-11-23 08:01:09 +00:00
marian
13bedcd33c
Clarified documentation.
...
git-svn-id: http://voip.null.ro/svn/yate@6282 acf43c95-373e-0410-b603-e72c3f656dc1
2017-11-23 07:53:27 +00:00
oana
7ced583b1f
Add DNS.dscp() method to validate given DSCP values from Javascript.
...
git-svn-id: http://voip.null.ro/svn/yate@6281 acf43c95-373e-0410-b603-e72c3f656dc1
2017-11-17 15:57:31 +00:00
paulc
6217608c8b
Added support for sending call with SDP in ACK instead of INVITE in proxy and RTP forward modes.
...
git-svn-id: http://voip.null.ro/svn/yate@6280 acf43c95-373e-0410-b603-e72c3f656dc1
2017-11-16 18:11:05 +00:00
oana
6cd633471f
Use String method which trims whitespaces for the implementation of JS String method trim().
...
git-svn-id: http://voip.null.ro/svn/yate@6279 acf43c95-373e-0410-b603-e72c3f656dc1
2017-11-14 14:31:52 +00:00
paulc
8e3d989b0b
Fixed maximum MSU size, it's 273 including SIO.
...
git-svn-id: http://voip.null.ro/svn/yate@6278 acf43c95-373e-0410-b603-e72c3f656dc1
2017-11-02 16:11:42 +00:00
paulc
04b2d365ff
Allow encoding all variation of A-F address digits in ISUP, SCCP, MAP/CAMEL.
...
git-svn-id: http://voip.null.ro/svn/yate@6277 acf43c95-373e-0410-b603-e72c3f656dc1
2017-11-01 16:59:05 +00:00
paulc
4b828a5684
Added parsing of diversion counter.
...
git-svn-id: http://voip.null.ro/svn/yate@6276 acf43c95-373e-0410-b603-e72c3f656dc1
2017-11-01 16:38:38 +00:00
paulc
2cc4f0d77c
Added support for recursively dispatching a handled message.
...
git-svn-id: http://voip.null.ro/svn/yate@6275 acf43c95-373e-0410-b603-e72c3f656dc1
2017-11-01 16:37:48 +00:00
paulc
90f118868e
Added support for banning IPv6 addresses.
...
Prevent banning the loopback address.
git-svn-id: http://voip.null.ro/svn/yate@6274 acf43c95-373e-0410-b603-e72c3f656dc1
2017-10-30 14:54:16 +00:00
andrei
f5d88a7027
Force 'String' constructor from 'unsigned int' in decodeCause.
...
git-svn-id: http://voip.null.ro/svn/yate@6273 acf43c95-373e-0410-b603-e72c3f656dc1
2017-10-09 11:10:33 +00:00
marian
1402dfe6fe
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://voip.null.ro/svn/yate@6272 acf43c95-373e-0410-b603-e72c3f656dc1
2017-10-06 09:11:32 +00:00
paulc
add5096c9a
Added mapping for reason "moved".
...
git-svn-id: http://voip.null.ro/svn/yate@6271 acf43c95-373e-0410-b603-e72c3f656dc1
2017-10-05 16:06:28 +00:00
paulc
a02eaeb3de
Use same filtering rule for accounts status and TAB completion as for login/logout.
...
git-svn-id: http://voip.null.ro/svn/yate@6270 acf43c95-373e-0410-b603-e72c3f656dc1
2017-10-02 12:02:38 +00:00
oana
a1867ea521
Add count() method to Javascript implementation of HashList.
...
git-svn-id: http://voip.null.ro/svn/yate@6269 acf43c95-373e-0410-b603-e72c3f656dc1
2017-09-29 14:52:33 +00:00
marian
d08772131d
Fixed bug: set children parent when copying an XmlElement.
...
git-svn-id: http://voip.null.ro/svn/yate@6268 acf43c95-373e-0410-b603-e72c3f656dc1
2017-09-26 13:51:18 +00:00
marian
93b2d89e82
Fixed bug: avoid dumping ExpFunction when JSON stringifying an object.
...
git-svn-id: http://voip.null.ro/svn/yate@6267 acf43c95-373e-0410-b603-e72c3f656dc1
2017-09-19 13:56:24 +00:00
paulc
018a1a65a5
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://voip.null.ro/svn/yate@6266 acf43c95-373e-0410-b603-e72c3f656dc1
2017-09-18 13:03:30 +00:00
paulc
25ac4c9458
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://voip.null.ro/svn/yate@6265 acf43c95-373e-0410-b603-e72c3f656dc1
2017-09-18 12:18:46 +00:00
oana
8267d6863a
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://voip.null.ro/svn/yate@6264 acf43c95-373e-0410-b603-e72c3f656dc1
2017-09-18 12:14:44 +00:00
paulc
71eae1a04e
Workaround for a race to watch a message result while its ExtModReceiver is being destroyed.
...
git-svn-id: http://voip.null.ro/svn/yate@6263 acf43c95-373e-0410-b603-e72c3f656dc1
2017-09-13 14:55:58 +00:00