Commit Graph

5958 Commits

Author SHA1 Message Date
andrei d6d72562a5 Added support for Semaphore in JS.
git-svn-id: http://voip.null.ro/svn/yate@6248 acf43c95-373e-0410-b603-e72c3f656dc1
2017-08-01 06:20:58 +00:00
marian ab15b76948 Added configurable param (disabled by default) used to enable LMS chip autocal on device power on.
git-svn-id: http://voip.null.ro/svn/yate@6247 acf43c95-373e-0410-b603-e72c3f656dc1
2017-07-31 13:59:46 +00:00
marian 2ec1ab9348 Chain tcap user enabler in plugin.
git-svn-id: http://voip.null.ro/svn/yate@6246 acf43c95-373e-0410-b603-e72c3f656dc1
2017-07-06 07:53:25 +00:00
marian b48c212eef Disable frequency offset calibration on fatal error.
git-svn-id: http://voip.null.ro/svn/yate@6245 acf43c95-373e-0410-b603-e72c3f656dc1
2017-07-03 11:03:26 +00:00
marian 4239814118 Added capability to configure buffered samples based on required sampling rate.
git-svn-id: http://voip.null.ro/svn/yate@6244 acf43c95-373e-0410-b603-e72c3f656dc1
2017-06-28 14:01:26 +00:00
marian b6282acf4e Fixed error reporting. Fixed some returned codes. Added config params documentation.
git-svn-id: http://voip.null.ro/svn/yate@6243 acf43c95-373e-0410-b603-e72c3f656dc1
2017-06-27 11:40:01 +00:00
marian 0bb932f76d Added radio interface utilities used to complete device info and fill error related parameters.
git-svn-id: http://voip.null.ro/svn/yate@6242 acf43c95-373e-0410-b603-e72c3f656dc1
2017-06-27 11:21:39 +00:00
marian dad95a3f68 Add device speed parameter to notification messages.
git-svn-id: http://voip.null.ro/svn/yate@6241 acf43c95-373e-0410-b603-e72c3f656dc1
2017-06-23 08:44:27 +00:00
marian 6ac06a5a2c Fixed bug: copy radio params to radio.create message.
git-svn-id: http://voip.null.ro/svn/yate@6240 acf43c95-373e-0410-b603-e72c3f656dc1
2017-06-23 08:43:26 +00:00
marian d186ee8972 Added configurable params for max supported samplig rate on super/high interface. Return HW not available code when no device is found.
git-svn-id: http://voip.null.ro/svn/yate@6239 acf43c95-373e-0410-b603-e72c3f656dc1
2017-06-22 14:02:38 +00:00
marian 62e89ca7b0 Added more radio interface error codes.
git-svn-id: http://voip.null.ro/svn/yate@6238 acf43c95-373e-0410-b603-e72c3f656dc1
2017-06-22 13:56:34 +00:00
marian 951a11121e Added recv thread priority config. Improved stats report.
git-svn-id: http://voip.null.ro/svn/yate@6237 acf43c95-373e-0410-b603-e72c3f656dc1
2017-06-22 13:19:36 +00:00
marian 15f9acf5f8 Documented calibration debug parameters. Improved debug.
git-svn-id: http://voip.null.ro/svn/yate@6236 acf43c95-373e-0410-b603-e72c3f656dc1
2017-06-21 13:38:26 +00:00
marian d804654922 Fixed bug: fill last chunk also when repeating a built vector (pattern) in destination.
git-svn-id: http://voip.null.ro/svn/yate@6235 acf43c95-373e-0410-b603-e72c3f656dc1
2017-06-20 12:44:07 +00:00
marian 943a69db2b Fixed bug: properly handle calculated result's index when calibrating using a single rx loop.
git-svn-id: http://voip.null.ro/svn/yate@6234 acf43c95-373e-0410-b603-e72c3f656dc1
2017-06-20 11:24:53 +00:00
marian 14e1639f20 Yield before sending data.
git-svn-id: http://voip.null.ro/svn/yate@6233 acf43c95-373e-0410-b603-e72c3f656dc1
2017-06-20 11:22:50 +00:00
marian 49873edb9c Fixed bug: properly select PA (transmit) if enabled during loopback.
git-svn-id: http://voip.null.ro/svn/yate@6232 acf43c95-373e-0410-b603-e72c3f656dc1
2017-06-20 09:15:48 +00:00
marian 2f6d9a2693 Fixed bug: use the same config when running second baseband calibration. Improved debug.
git-svn-id: http://voip.null.ro/svn/yate@6231 acf43c95-373e-0410-b603-e72c3f656dc1
2017-06-20 07:45:44 +00:00
marian eceb6b03f0 Automatic remote party change can now be configured per channel from routing. A remote party (transport) can now be configured for an incoming call from pre-routing. Ignore VIA can now be configured per listener.
git-svn-id: http://voip.null.ro/svn/yate@6230 acf43c95-373e-0410-b603-e72c3f656dc1
2017-06-14 09:14:20 +00:00
paulc 024861fb27 Fixed behavior of Date constructor with missing parameters or with two digits year.
Added the Date.UTC static method.


git-svn-id: http://voip.null.ro/svn/yate@6229 acf43c95-373e-0410-b603-e72c3f656dc1
2017-06-07 14:17:15 +00:00
paulc 543414abf3 Added possibility to stop and restart specific external instances.
Added line completion for external command arguments.


git-svn-id: http://voip.null.ro/svn/yate@6228 acf43c95-373e-0410-b603-e72c3f656dc1
2017-06-07 12:04:18 +00:00
paulc daf9497f45 Fixed limitations and bugs exposed by addition of prompt option.
git-svn-id: http://voip.null.ro/svn/yate@6227 acf43c95-373e-0410-b603-e72c3f656dc1
2017-06-05 15:35:39 +00:00
paulc d407212682 Added support for setting "debug level N+" or "debug level N-"
git-svn-id: http://voip.null.ro/svn/yate@6226 acf43c95-373e-0410-b603-e72c3f656dc1
2017-06-05 12:33:38 +00:00
paulc 1b7ab47d5a Added support for configuring an interactive mode prompt.
Added configuration setting for initial value of remote echo.


git-svn-id: http://voip.null.ro/svn/yate@6225 acf43c95-373e-0410-b603-e72c3f656dc1
2017-06-05 11:37:44 +00:00
paulc 003d5f3d67 Added support for supressing connection logging per listener.
Added support for customizing or disabling goodbye text.


git-svn-id: http://voip.null.ro/svn/yate@6224 acf43c95-373e-0410-b603-e72c3f656dc1
2017-06-05 09:03:34 +00:00
marian aa426bcd3c Added capability to set amr 'fmtp' parameters in SDP session: set them in each offer when rtp forward is not enabled.
git-svn-id: http://voip.null.ro/svn/yate@6223 acf43c95-373e-0410-b603-e72c3f656dc1
2017-05-24 14:36:56 +00:00
marian 558b3c5b64 Avoid building multiple 'fmtp' lines for a single format.
git-svn-id: http://voip.null.ro/svn/yate@6222 acf43c95-373e-0410-b603-e72c3f656dc1
2017-05-23 13:28:27 +00:00
marian cd25d547f1 Expect more parameters in a 'fmtp' line. Remove only parameters we are using to detect format variant(s).
git-svn-id: http://voip.null.ro/svn/yate@6221 acf43c95-373e-0410-b603-e72c3f656dc1
2017-05-23 13:23:24 +00:00
marian 5f6c50b91d Don't handle CMR 15 (no mode change) as new CMR.
git-svn-id: http://voip.null.ro/svn/yate@6220 acf43c95-373e-0410-b603-e72c3f656dc1
2017-05-22 14:03:49 +00:00
oana 1cacf5c9d0 Added Message.copyParams() method to Javascript support.
git-svn-id: http://voip.null.ro/svn/yate@6219 acf43c95-373e-0410-b603-e72c3f656dc1
2017-05-22 12:37:22 +00:00
paulc b04f0162d7 Fixed a deadlock when rmanager was trying to report an error about its own connection.
git-svn-id: http://voip.null.ro/svn/yate@6218 acf43c95-373e-0410-b603-e72c3f656dc1
2017-05-17 10:01:47 +00:00
paulc d57fe18d4d Added computation and congestion limit for average dequeued messages age.
git-svn-id: http://voip.null.ro/svn/yate@6217 acf43c95-373e-0410-b603-e72c3f656dc1
2017-05-15 15:28:47 +00:00
marian 4c7b3fbfdf The number of buffers to use with libusb is now configurable. Use MMX if available to scale and saturate sent samples.
git-svn-id: http://voip.null.ro/svn/yate@6216 acf43c95-373e-0410-b603-e72c3f656dc1
2017-05-09 12:41:41 +00:00
oana 281a714549 Do not attempt to build an JS XML object from another object when the expected parameter should be a string.
git-svn-id: http://voip.null.ro/svn/yate@6215 acf43c95-373e-0410-b603-e72c3f656dc1
2017-05-08 09:04:33 +00:00
oana de57f5bb99 Build JS Message objects with properly set prototypes.
git-svn-id: http://voip.null.ro/svn/yate@6214 acf43c95-373e-0410-b603-e72c3f656dc1
2017-05-08 09:03:05 +00:00
oana 456ea16287 Build RegExp object with properly set prototypes.
git-svn-id: http://voip.null.ro/svn/yate@6213 acf43c95-373e-0410-b603-e72c3f656dc1
2017-05-08 08:59:46 +00:00
andrei a6727342d4 Fixed deadlock while destroying JsEngineWorker.
git-svn-id: http://voip.null.ro/svn/yate@6212 acf43c95-373e-0410-b603-e72c3f656dc1
2017-05-03 08:39:48 +00:00
andrei dafecd99f0 Added option to get the age of a message.
git-svn-id: http://voip.null.ro/svn/yate@6211 acf43c95-373e-0410-b603-e72c3f656dc1
2017-04-27 12:30:45 +00:00
paulc cae4dd2755 Added JS Engine method to retrieve exiting state from a script.
Moved engine.halt handler that unloads global JS scripts to priority 120.


git-svn-id: http://voip.null.ro/svn/yate@6210 acf43c95-373e-0410-b603-e72c3f656dc1
2017-04-27 10:31:07 +00:00
oana 9b19ba3018 Extend JS Message constructor to copy parameters from a given object.
Fix function that was copying properties to message to not copy objects, null or undefined.



git-svn-id: http://voip.null.ro/svn/yate@6209 acf43c95-373e-0410-b603-e72c3f656dc1
2017-04-26 15:53:15 +00:00
andrei 89b669ba53 Fixed deadlock at JS script instance destruction.
git-svn-id: http://voip.null.ro/svn/yate@6208 acf43c95-373e-0410-b603-e72c3f656dc1
2017-04-26 10:40:04 +00:00
paulc a67c8d4922 Added support for using JS method msgTime(newTime) to alter creation time of a message.
git-svn-id: http://voip.null.ro/svn/yate@6207 acf43c95-373e-0410-b603-e72c3f656dc1
2017-04-21 14:06:16 +00:00
marian 855c25dd89 Simplified help handling.
git-svn-id: http://voip.null.ro/svn/yate@6206 acf43c95-373e-0410-b603-e72c3f656dc1
2017-04-21 09:59:15 +00:00
marian 0f2b144b33 Added sip command used to drop a tcp/tls transport.
git-svn-id: http://voip.null.ro/svn/yate@6205 acf43c95-373e-0410-b603-e72c3f656dc1
2017-04-19 12:48:55 +00:00
paulc 512829618f Don't check changes in files that didn't had a valid timestamp.
git-svn-id: http://voip.null.ro/svn/yate@6204 acf43c95-373e-0410-b603-e72c3f656dc1
2017-04-14 09:13:41 +00:00
marian ea29f9107d Silenced some compiler warnings.
git-svn-id: http://voip.null.ro/svn/yate@6203 acf43c95-373e-0410-b603-e72c3f656dc1
2017-04-11 08:08:07 +00:00
paulc 6eebea74b9 Clean up stack during for and while loops to prevent building up useless values.
git-svn-id: http://voip.null.ro/svn/yate@6202 acf43c95-373e-0410-b603-e72c3f656dc1
2017-04-06 00:07:37 +00:00
paulc 7f044b1925 Speed up the filling of large field names lists mainly used in iteration over object properties.
git-svn-id: http://voip.null.ro/svn/yate@6201 acf43c95-373e-0410-b603-e72c3f656dc1
2017-04-05 23:12:07 +00:00
marian b442a07842 Stop frequency offset calibration when frequency offset is set by command after TX RF is enabled.
git-svn-id: http://voip.null.ro/svn/yate@6200 acf43c95-373e-0410-b603-e72c3f656dc1
2017-04-03 12:54:34 +00:00
paulc d22f6568a8 Added option (default enabled) to display some engine stats when aborting.
git-svn-id: http://voip.null.ro/svn/yate@6199 acf43c95-373e-0410-b603-e72c3f656dc1
2017-04-02 11:03:48 +00:00