Commit Graph

6046 Commits

Author SHA1 Message Date
marian b60d9d067c Added Time methods for 32bit NTP time conversion.
git-svn-id: http://voip.null.ro/svn/yate@6338 acf43c95-373e-0410-b603-e72c3f656dc1
2019-01-14 09:19:22 +00:00
paulc 9f93f88f81 Retrieve P-Asserted-Identity parameters even if privacy is disabled.
Added support for extra URI parameters in P-A-I as "asserted_params".


git-svn-id: http://voip.null.ro/svn/yate@6337 acf43c95-373e-0410-b603-e72c3f656dc1
2018-12-30 12:05:13 +00:00
paulc 37aa16255e Added File methods to read and write file content from Javascript.
Fixed a memory leak in some cases of File.mkdir().


git-svn-id: http://voip.null.ro/svn/yate@6336 acf43c95-373e-0410-b603-e72c3f656dc1
2018-12-11 16:57:32 +00:00
paulc 3b63e559db Populate P-Asserted-Identity when the "privacy" parameter is set explicitly to false.
git-svn-id: http://voip.null.ro/svn/yate@6335 acf43c95-373e-0410-b603-e72c3f656dc1
2018-12-04 11:30:03 +00:00
sabina 2b9afe2961 Updated files to Rev. 6330.
git-svn-id: http://voip.null.ro/svn/yate@6334 acf43c95-373e-0410-b603-e72c3f656dc1
2018-12-04 10:06:04 +00:00
sabina 80f3616942 Update name from wiresniff to yatewiresniff.
git-svn-id: http://voip.null.ro/svn/yate@6333 acf43c95-373e-0410-b603-e72c3f656dc1
2018-11-28 10:13:05 +00:00
paulb 63d24a5835 Changed comment: "2GB" to "100MB"
git-svn-id: http://voip.null.ro/svn/yate@6332 acf43c95-373e-0410-b603-e72c3f656dc1
2018-11-27 14:16:05 +00:00
sabina bfc2e5de31 Added files for wiresniff module. Identical to Rev. 2213
git-svn-id: http://voip.null.ro/svn/yate@6331 acf43c95-373e-0410-b603-e72c3f656dc1
2018-11-27 12:57:17 +00:00
marian 803247f900 Fixed bug: lock transaction list mutex during local id generation to avoid duplicates.
git-svn-id: http://voip.null.ro/svn/yate@6330 acf43c95-373e-0410-b603-e72c3f656dc1
2018-11-23 10:05:57 +00:00
paulc 4ab37a1a79 Added support for allowing extra commands in restricted user mode.
git-svn-id: http://voip.null.ro/svn/yate@6329 acf43c95-373e-0410-b603-e72c3f656dc1
2018-11-20 13:07:33 +00:00
paulc 291fbd564c Added support for monitoring services with name other than yate.
git-svn-id: http://voip.null.ro/svn/yate@6328 acf43c95-373e-0410-b603-e72c3f656dc1
2018-11-19 21:07:13 +00:00
marian 4ed655abce 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://voip.null.ro/svn/yate@6327 acf43c95-373e-0410-b603-e72c3f656dc1
2018-11-13 14:00:19 +00:00
marian 7db4b82c64 Removed account lock during query: this was preventing running multiple queries at a time.
git-svn-id: http://voip.null.ro/svn/yate@6326 acf43c95-373e-0410-b603-e72c3f656dc1
2018-10-25 11:21:09 +00:00
marian 5a2b44cb6a 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://voip.null.ro/svn/yate@6325 acf43c95-373e-0410-b603-e72c3f656dc1
2018-10-01 11:31:59 +00:00
marian e5da301845 Outgoing call: initialize dialog's sequence generator and set it in first generated request to avoid CSeq mismatch if challenged.
git-svn-id: http://voip.null.ro/svn/yate@6324 acf43c95-373e-0410-b603-e72c3f656dc1
2018-09-17 15:04:38 +00:00
marian 0e90f99c59 SDP parse: adjust payload name for configured octet align amr when rtpmap line is parsed and amr is identified by name: this is the point where amr (dynamic payload) is properly identified.
git-svn-id: http://voip.null.ro/svn/yate@6323 acf43c95-373e-0410-b603-e72c3f656dc1
2018-09-14 09:39:28 +00:00
paulc 622a718b04 Bumped version to 6.1.1 devel.
git-svn-id: http://voip.null.ro/svn/yate@6322 acf43c95-373e-0410-b603-e72c3f656dc1
2018-07-06 09:53:54 +00:00
marian 00b0b1e408 Added SIPS URI support.
git-svn-id: http://voip.null.ro/svn/yate@6321 acf43c95-373e-0410-b603-e72c3f656dc1
2018-07-06 09:37:17 +00:00
paulc 28ff4b262e Bumped version to 6.1.0 release.
git-svn-id: http://voip.null.ro/svn/yate@6319 acf43c95-373e-0410-b603-e72c3f656dc1
2018-07-03 12:24:53 +00:00
paulc 7de893f3c1 Added support for following forked transactions' 1xx provisional messages.
git-svn-id: http://voip.null.ro/svn/yate@6318 acf43c95-373e-0410-b603-e72c3f656dc1
2018-07-03 12:19:25 +00:00
oana 1a8b055ed2 Moved methods to the JS library that stringify objects to JSON format.
git-svn-id: http://voip.null.ro/svn/yate@6317 acf43c95-373e-0410-b603-e72c3f656dc1
2018-06-15 13:39:48 +00:00
paulc dcc1217f84 Detect and deal with some OpenSSL 1.1.0 deprecations.
git-svn-id: http://voip.null.ro/svn/yate@6316 acf43c95-373e-0410-b603-e72c3f656dc1
2018-06-11 11:33:06 +00:00
paulc d6d7b0081e Added JS Array method includes().
git-svn-id: http://voip.null.ro/svn/yate@6315 acf43c95-373e-0410-b603-e72c3f656dc1
2018-05-10 12:55:45 +00:00
paulc da4e6bb39e Added String method includes().
git-svn-id: http://voip.null.ro/svn/yate@6314 acf43c95-373e-0410-b603-e72c3f656dc1
2018-05-04 18:37:44 +00:00
oana c1e5a20c9e Add UTF-16 encoding support to UChar class.
git-svn-id: http://voip.null.ro/svn/yate@6313 acf43c95-373e-0410-b603-e72c3f656dc1
2018-04-25 12:16:54 +00:00
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