Commit Graph

2915 Commits

Author SHA1 Message Date
paulc 828ea4ddfa Added G.722 codec from the WebRTC code.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6363 acf43c95-373e-0410-b603-e72c3f656dc1
2019-11-06 18:31:54 +00:00
marian 2066fb6e37 Update channel uri from received 2xx answer when generating ACK.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6362 acf43c95-373e-0410-b603-e72c3f656dc1
2019-10-30 08:57:57 +00:00
paulc caf2ae7042 Made SRTP start message not logged by default.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6360 acf43c95-373e-0410-b603-e72c3f656dc1
2019-10-21 08:10:02 +00:00
paulc 02331a839b Added support for setting the current timestamp in external to yate messages.
Always set the current time if protocol did not set it.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6359 acf43c95-373e-0410-b603-e72c3f656dc1
2019-10-03 13:25:17 +00:00
paulc 08b861eb54 Added basic support for forwarding the VP9 codec payload.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6358 acf43c95-373e-0410-b603-e72c3f656dc1
2019-09-04 10:29:00 +00:00
marian eca4039e15 Fixed some memory leaks: values extracted from stack and not freed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6354 acf43c95-373e-0410-b603-e72c3f656dc1
2019-06-25 13:00:25 +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
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
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
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
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
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
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
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