Commit Graph

6022 Commits

Author SHA1 Message Date
marian f976dc463b Reverted accidental commit in mgcp.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6352 acf43c95-373e-0410-b603-e72c3f656dc1
2019-06-06 10:11:23 +00:00
marian 6a07bab093 Allow setting incoming channel params from user.auth.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6351 acf43c95-373e-0410-b603-e72c3f656dc1
2019-06-06 10:05:42 +00:00
oana 7774968d10 Return extra configuration parameters for users in user.auth response also.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6350 acf43c95-373e-0410-b603-e72c3f656dc1
2019-04-01 12:56:30 +00:00
marian 5c75161cff Constifyed String::encodeFlags() methods.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6349 acf43c95-373e-0410-b603-e72c3f656dc1
2019-03-28 13:55:51 +00:00
marian 65b8c84c9a Don't check system time jump when plugins are reloaded.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6348 acf43c95-373e-0410-b603-e72c3f656dc1
2019-03-28 13:49:22 +00:00
paulc 19a5023270 Fixed concatenation of strings to work with modern C++ compilers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6347 acf43c95-373e-0410-b603-e72c3f656dc1
2019-03-13 15:16:40 +00:00
paulc b339c4b655 Properly return undefined on finding garbage after JSON.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6346 acf43c95-373e-0410-b603-e72c3f656dc1
2019-02-28 19:17:38 +00:00
sabina 4408d6851a Small bug fix: Removed warning when remote address is not set.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6345 acf43c95-373e-0410-b603-e72c3f656dc1
2019-02-18 11:38:11 +00:00
paulc de29658a7a Fixed handling of a full read buffer containing one or more processable lines.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6344 acf43c95-373e-0410-b603-e72c3f656dc1
2019-02-06 13:36:08 +00:00
paulc c010ee9cf7 Added ^F and ^B to move one page forward / backward.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6343 acf43c95-373e-0410-b603-e72c3f656dc1
2019-01-28 10:50:42 +00:00
marian 279f2ae6fe Fixed TokenDict arrays not ending with token and value set to 0.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6342 acf43c95-373e-0410-b603-e72c3f656dc1
2019-01-18 09:46:21 +00:00
sabina 25f55abcc5 Implementation of encodeFlags() and decodeFlags functions.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6341 acf43c95-373e-0410-b603-e72c3f656dc1
2019-01-17 15:24:55 +00:00
marian 9479c5b028 Added TokenDict64 structure and lookup functions.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6340 acf43c95-373e-0410-b603-e72c3f656dc1
2019-01-14 14:57:27 +00:00
marian 72f8657188 Added Channel parameters list to be set in all Channel messages. Update it from routing and chan.control.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6339 acf43c95-373e-0410-b603-e72c3f656dc1
2019-01-14 09:54:04 +00:00
marian f3a58864c0 Added Time methods for 32bit NTP time conversion.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6338 acf43c95-373e-0410-b603-e72c3f656dc1
2019-01-14 09:19:22 +00:00
paulc 671478a79a 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://yate.null.ro/svn/yate/trunk@6337 acf43c95-373e-0410-b603-e72c3f656dc1
2018-12-30 12:05:13 +00:00
paulc 1624922ffc 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://yate.null.ro/svn/yate/trunk@6336 acf43c95-373e-0410-b603-e72c3f656dc1
2018-12-11 16:57:32 +00:00
paulc 3bbef56bcc Populate P-Asserted-Identity when the "privacy" parameter is set explicitly to false.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6335 acf43c95-373e-0410-b603-e72c3f656dc1
2018-12-04 11:30:03 +00:00
sabina a8b16c13f6 Updated files to Rev. 6330.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6334 acf43c95-373e-0410-b603-e72c3f656dc1
2018-12-04 10:06:04 +00:00
sabina b99ed53a8b Update name from wiresniff to yatewiresniff.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6333 acf43c95-373e-0410-b603-e72c3f656dc1
2018-11-28 10:13:05 +00:00
paulb 69e7921e51 Changed comment: "2GB" to "100MB"
git-svn-id: http://yate.null.ro/svn/yate/trunk@6332 acf43c95-373e-0410-b603-e72c3f656dc1
2018-11-27 14:16:05 +00:00
sabina 220ab39310 Added files for wiresniff module. Identical to Rev. 2213
git-svn-id: http://yate.null.ro/svn/yate/trunk@6331 acf43c95-373e-0410-b603-e72c3f656dc1
2018-11-27 12:57:17 +00:00
marian 8038fbe8e4 Fixed bug: lock transaction list mutex during local id generation to avoid duplicates.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6330 acf43c95-373e-0410-b603-e72c3f656dc1
2018-11-23 10:05:57 +00:00
paulc c5b6e8ae77 Added support for allowing extra commands in restricted user mode.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6329 acf43c95-373e-0410-b603-e72c3f656dc1
2018-11-20 13:07:33 +00:00
paulc 30ac2b3135 Added support for monitoring services with name other than yate.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6328 acf43c95-373e-0410-b603-e72c3f656dc1
2018-11-19 21:07:13 +00:00
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 72fa0b7b68 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://yate.null.ro/svn/yate/trunk@6323 acf43c95-373e-0410-b603-e72c3f656dc1
2018-09-14 09:39:28 +00:00
paulc ab1f5257e2 Bumped version to 6.1.1 devel.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6322 acf43c95-373e-0410-b603-e72c3f656dc1
2018-07-06 09:53:54 +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 005866069f Bumped version to 6.1.0 release.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6319 acf43c95-373e-0410-b603-e72c3f656dc1
2018-07-03 12:24:53 +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
paulc 3a00fba2a8 Added JS Array method includes().
git-svn-id: http://yate.null.ro/svn/yate/trunk@6315 acf43c95-373e-0410-b603-e72c3f656dc1
2018-05-10 12:55:45 +00:00
paulc b96e06d214 Added String method includes().
git-svn-id: http://yate.null.ro/svn/yate/trunk@6314 acf43c95-373e-0410-b603-e72c3f656dc1
2018-05-04 18:37:44 +00:00
oana 68264bce99 Add UTF-16 encoding support to UChar class.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6313 acf43c95-373e-0410-b603-e72c3f656dc1
2018-04-25 12:16:54 +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 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