Commit Graph

2828 Commits

Author SHA1 Message Date
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 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
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
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
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
marian cf194556f9 Put a debug message when starting specific calibration type.
git-svn-id: http://voip.null.ro/svn/yate@6198 acf43c95-373e-0410-b603-e72c3f656dc1
2017-03-30 14:39:09 +00:00
marian 07a08393d3 Fixed calibration: use the same sampling rate and filter bw when calibrating. Renamed device check to loopback check. Improved debug.
git-svn-id: http://voip.null.ro/svn/yate@6197 acf43c95-373e-0410-b603-e72c3f656dc1
2017-03-29 14:28:54 +00:00
marian 8bcb904355 Set broadcast for module.update sent to notify device events.
git-svn-id: http://voip.null.ro/svn/yate@6196 acf43c95-373e-0410-b603-e72c3f656dc1
2017-03-29 08:24:52 +00:00
marian b3f63d8479 Check register interval before authentication: avoid useless auth for interval too brief.
git-svn-id: http://voip.null.ro/svn/yate@6195 acf43c95-373e-0410-b603-e72c3f656dc1
2017-03-29 08:18:06 +00:00
marian 47387bf131 Moved radiotest module to modules/radio.
git-svn-id: http://voip.null.ro/svn/yate@6193 acf43c95-373e-0410-b603-e72c3f656dc1
2017-03-22 09:11:01 +00:00
paulc 6c3ea16a03 Added setting for new CDR file permissions, defaults to 0640.
git-svn-id: http://voip.null.ro/svn/yate@6192 acf43c95-373e-0410-b603-e72c3f656dc1
2017-03-15 11:09:41 +00:00
paulc 77912dfb21 Pick default remote host:port from rURI so that connection_id gets applied.
git-svn-id: http://voip.null.ro/svn/yate@6191 acf43c95-373e-0410-b603-e72c3f656dc1
2017-02-27 16:14:26 +00:00
paulc b0cd8560c3 Use separate mutexes to protect the owner CallEndpoint pointer since using DataEndpoint::commonMutex() from the data threads can lead to deadlocks.
git-svn-id: http://voip.null.ro/svn/yate@6188 acf43c95-373e-0410-b603-e72c3f656dc1
2017-02-22 11:19:08 +00:00
oana 12678331dc Unescape status values that might escaped characters (like ';', ',' or '|').
git-svn-id: http://voip.null.ro/svn/yate@6185 acf43c95-373e-0410-b603-e72c3f656dc1
2017-02-17 09:52:39 +00:00
paulc afbeb65da9 Added method for URI escaping an entire list of characters.
Escape status detail characters that may disturb status parsing.


git-svn-id: http://voip.null.ro/svn/yate@6184 acf43c95-373e-0410-b603-e72c3f656dc1
2017-02-16 11:24:25 +00:00
marian 8393e4a963 Added extra check for valid tunning frequency. Improved debug. Documented missing config param.
git-svn-id: http://voip.null.ro/svn/yate@6183 acf43c95-373e-0410-b603-e72c3f656dc1
2017-02-13 12:20:54 +00:00
marian 2b844fbc74 Added capability to open a device specified by serial number. Fixed debug.
git-svn-id: http://voip.null.ro/svn/yate@6182 acf43c95-373e-0410-b603-e72c3f656dc1
2017-02-10 15:22:51 +00:00
paulc f157da3718 Added support for RFC3325 P-Asserted-Identity and Privacy: id.
git-svn-id: http://voip.null.ro/svn/yate@6181 acf43c95-373e-0410-b603-e72c3f656dc1
2017-02-02 12:51:47 +00:00
paulc 59067e6edf Added extra checks for race conditions where CallEndpoint::setEndpoint() may fail.
Added convenience static RefObject::alive() method to check a RefObject pointer.


git-svn-id: http://voip.null.ro/svn/yate@6177 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-27 11:25:29 +00:00
paulc d71d9f38e4 Added option to return a data sniffer safe and referenced.
git-svn-id: http://voip.null.ro/svn/yate@6175 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-26 15:32:39 +00:00
paulc b2c0b343a5 Keep the JS global object locked while cleaning up its attributes.
This fixes a race condition crash in scripts destruction.


git-svn-id: http://voip.null.ro/svn/yate@6174 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-24 18:53:16 +00:00
paulc 3e15d042df Fixed a JS deadlock caused by uninstalling a message handler from itself (even indirectly).
This required exposing some internal methods of MessageHandler.


git-svn-id: http://voip.null.ro/svn/yate@6173 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-23 19:53:55 +00:00
marian 5acfae5267 Added support to notify device power on/off. Notify calibration termination also (put calibration parameters on success). Load calibration related parameters if returned in power on notification message.
git-svn-id: http://voip.null.ro/svn/yate@6172 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-20 15:56:58 +00:00
marian 366f0c78af Added support to configure a test from handled message. Added support for test to emit a notification message when terminated.
git-svn-id: http://voip.null.ro/svn/yate@6171 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-20 15:43:27 +00:00
paulc 6827334d19 Added methods getParam and setParam to Javascript Message object.
These allow manipulating parameters whose name clashes with a method.


git-svn-id: http://voip.null.ro/svn/yate@6170 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-20 15:16:19 +00:00
paulc 1fa082c0f1 Added Engine methods for retrieving uptime from Javascript.
git-svn-id: http://voip.null.ro/svn/yate@6169 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-20 13:28:58 +00:00
marian 6da2473742 Fixed bug: removed semicolon after 'if' test. Fixed some debug format specifiers.
git-svn-id: http://voip.null.ro/svn/yate@6168 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-20 11:45:16 +00:00
marian bdd737867a Moved static data member init outside class declaration.
git-svn-id: http://voip.null.ro/svn/yate@6167 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-20 11:39:52 +00:00
marian 05beb84da4 Fixed data member type.
git-svn-id: http://voip.null.ro/svn/yate@6166 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-20 11:24:45 +00:00
paulc 8664d4bcc2 Added $(message,retval) function, retval and noop targets.
git-svn-id: http://voip.null.ro/svn/yate@6165 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-17 15:47:54 +00:00
marian 57507e20a1 Frequency offset calibration by Razvan Varlan.
git-svn-id: http://voip.null.ro/svn/yate@6164 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-12 14:56:58 +00:00
paulc 2c615905ef Added setting to automatically enter congested mode over a queue size threshold.
Added access to Engine's call accept state from Javascript and regexroute.
Optimized MessageDispatcher::messageCount() using the enqueue / dequeue counters.


git-svn-id: http://voip.null.ro/svn/yate@6163 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-09 15:04:04 +00:00
oana c343c6004e Export message queues statistic data via SNMP.
git-svn-id: http://voip.null.ro/svn/yate@6160 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-03 14:51:13 +00:00
paulc 0759258391 Added support for the Home and End keys in paged commands.
git-svn-id: http://voip.null.ro/svn/yate@6155 acf43c95-373e-0410-b603-e72c3f656dc1
2016-12-05 21:46:02 +00:00
marian 7b0cdea405 Use float instead of integer for frequency offset value.
git-svn-id: http://voip.null.ro/svn/yate@6154 acf43c95-373e-0410-b603-e72c3f656dc1
2016-12-05 08:26:43 +00:00