Commit Graph

6022 Commits

Author SHA1 Message Date
marian 4a5f653677 Stop frequency offset calibration when frequency offset is set by command after TX RF is enabled.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6200 acf43c95-373e-0410-b603-e72c3f656dc1
2017-04-03 12:54:34 +00:00
paulc 4e0fa17e7f Added option (default enabled) to display some engine stats when aborting.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6199 acf43c95-373e-0410-b603-e72c3f656dc1
2017-04-02 11:03:48 +00:00
marian 9fb6af146e Put a debug message when starting specific calibration type.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6198 acf43c95-373e-0410-b603-e72c3f656dc1
2017-03-30 14:39:09 +00:00
marian 86899f4b31 Fixed calibration: use the same sampling rate and filter bw when calibrating. Renamed device check to loopback check. Improved debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6197 acf43c95-373e-0410-b603-e72c3f656dc1
2017-03-29 14:28:54 +00:00
marian 5ba976cbe1 Set broadcast for module.update sent to notify device events.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6196 acf43c95-373e-0410-b603-e72c3f656dc1
2017-03-29 08:24:52 +00:00
marian c7debdb6b0 Check register interval before authentication: avoid useless auth for interval too brief.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6195 acf43c95-373e-0410-b603-e72c3f656dc1
2017-03-29 08:18:06 +00:00
marian 16d49b89df Added radiotest to rpm spec.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6194 acf43c95-373e-0410-b603-e72c3f656dc1
2017-03-22 11:28:39 +00:00
marian cddb6bc2e8 Moved radiotest module to modules/radio.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6193 acf43c95-373e-0410-b603-e72c3f656dc1
2017-03-22 09:11:01 +00:00
paulc ec09d51bfd Added setting for new CDR file permissions, defaults to 0640.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6192 acf43c95-373e-0410-b603-e72c3f656dc1
2017-03-15 11:09:41 +00:00
paulc a899f5516e Pick default remote host:port from rURI so that connection_id gets applied.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6191 acf43c95-373e-0410-b603-e72c3f656dc1
2017-02-27 16:14:26 +00:00
paulc 2a965f8d80 Added equivalent [$enabled else] and [$enabled toggle] syntaxes that toggle config file processing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6190 acf43c95-373e-0410-b603-e72c3f656dc1
2017-02-26 11:54:33 +00:00
paulc 96f60292e6 Prevent multiple engine.timer messages from timing out Channels in the same Driver.
This signifficantly reduces the pressure on the worker threads in congestion conditions.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6189 acf43c95-373e-0410-b603-e72c3f656dc1
2017-02-22 11:22:40 +00:00
paulc bcdf0ab849 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://yate.null.ro/svn/yate/trunk@6188 acf43c95-373e-0410-b603-e72c3f656dc1
2017-02-22 11:19:08 +00:00
paulc 0734faa2b6 Try to enable SCTP in default configuration.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6187 acf43c95-373e-0410-b603-e72c3f656dc1
2017-02-17 14:25:29 +00:00
paulc 3ecbd7723e Fixed SIP UAC handling of 4/5/6xx answers to a forked INVITE.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6186 acf43c95-373e-0410-b603-e72c3f656dc1
2017-02-17 13:30:00 +00:00
oana 53f5d5b1bf Unescape status values that might escaped characters (like ';', ',' or '|').
git-svn-id: http://yate.null.ro/svn/yate/trunk@6185 acf43c95-373e-0410-b603-e72c3f656dc1
2017-02-17 09:52:39 +00:00
paulc cdba9c103b Added method for URI escaping an entire list of characters.
Escape status detail characters that may disturb status parsing.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6184 acf43c95-373e-0410-b603-e72c3f656dc1
2017-02-16 11:24:25 +00:00
marian 8496611412 Added extra check for valid tunning frequency. Improved debug. Documented missing config param.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6183 acf43c95-373e-0410-b603-e72c3f656dc1
2017-02-13 12:20:54 +00:00
marian 2e99965357 Added capability to open a device specified by serial number. Fixed debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6182 acf43c95-373e-0410-b603-e72c3f656dc1
2017-02-10 15:22:51 +00:00
paulc 9fc75b7437 Added support for RFC3325 P-Asserted-Identity and Privacy: id.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6181 acf43c95-373e-0410-b603-e72c3f656dc1
2017-02-02 12:51:47 +00:00
paulc 70489d5a6f Don't allow included config files to change current section, it is too risky.
Skip over some known backup or temporary files when including a directory.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6180 acf43c95-373e-0410-b603-e72c3f656dc1
2017-02-01 14:49:04 +00:00
paulc e116a6cad9 Added SDP support for VP8 and some H.263 variants.
Fixed a conflict for the MP4V-ES codec.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6179 acf43c95-373e-0410-b603-e72c3f656dc1
2017-02-01 14:07:43 +00:00
paulc 97edac55d7 Added support for including other files or directories in configuration files.
Added support for disabling portions of a configuration file.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6178 acf43c95-373e-0410-b603-e72c3f656dc1
2017-02-01 13:11:05 +00:00
paulc c67312d159 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://yate.null.ro/svn/yate/trunk@6177 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-27 11:25:29 +00:00
paulc ce186d579d Added a valgrind suppression file for harmless one-time memory leaks.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6176 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-27 11:19:00 +00:00
paulc e43033d137 Added option to return a data sniffer safe and referenced.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6175 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-26 15:32:39 +00:00
paulc 0ce48000ee Keep the JS global object locked while cleaning up its attributes.
This fixes a race condition crash in scripts destruction.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6174 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-24 18:53:16 +00:00
paulc 887e0cd860 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://yate.null.ro/svn/yate/trunk@6173 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-23 19:53:55 +00:00
marian 66a3221ba0 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://yate.null.ro/svn/yate/trunk@6172 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-20 15:56:58 +00:00
marian f660820775 Added support to configure a test from handled message. Added support for test to emit a notification message when terminated.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6171 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-20 15:43:27 +00:00
paulc c088d3ef2e Added methods getParam and setParam to Javascript Message object.
These allow manipulating parameters whose name clashes with a method.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6170 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-20 15:16:19 +00:00
paulc cfccac463c Added Engine methods for retrieving uptime from Javascript.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6169 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-20 13:28:58 +00:00
marian 7eacae6f17 Fixed bug: removed semicolon after 'if' test. Fixed some debug format specifiers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6168 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-20 11:45:16 +00:00
marian 0bccdd4c92 Moved static data member init outside class declaration.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6167 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-20 11:39:52 +00:00
marian 4f7e82db4e Fixed data member type.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6166 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-20 11:24:45 +00:00
paulc 01ab5f4b5d Added $(message,retval) function, retval and noop targets.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6165 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-17 15:47:54 +00:00
marian 3a18112a7f Frequency offset calibration by Razvan Varlan.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6164 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-12 14:56:58 +00:00
paulc e5a8a16f1d 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://yate.null.ro/svn/yate/trunk@6163 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-09 15:04:04 +00:00
paulc fdf908337b Added setting to create more than one worker at a time.
Added setting to automatically enter congested mode over a message rate threshold.
Extended range for some configurable engine limits and made them reloadable.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6162 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-09 13:46:41 +00:00
paulc 4c8a54c0b8 Check if YSTRING and YATOM are used incorrectly on a non-literal srting.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6161 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-07 12:26:19 +00:00
oana 21e76fd932 Export message queues statistic data via SNMP.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6160 acf43c95-373e-0410-b603-e72c3f656dc1
2017-01-03 14:51:13 +00:00
paulc 58af812b9b Added a "maxmsgrate" to the "status engine" output.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6159 acf43c95-373e-0410-b603-e72c3f656dc1
2016-12-29 16:26:27 +00:00
paulc a77f38aaed Added message queue and dispatcher stats to the "status engine" response.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6158 acf43c95-373e-0410-b603-e72c3f656dc1
2016-12-29 15:10:30 +00:00
paulc d07f73d72b Fixed automatic detection of ARCHLIB=lib64 on non-Debian machines having dpkg installed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6157 acf43c95-373e-0410-b603-e72c3f656dc1
2016-12-29 14:56:19 +00:00
paulc 5af40e1419 Added command line option to set supervisor's sanity points pool.
This allows controlling how long a child can hang before being killed.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6156 acf43c95-373e-0410-b603-e72c3f656dc1
2016-12-20 14:40:04 +00:00
paulc 570a1cbe23 Added support for the Home and End keys in paged commands.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6155 acf43c95-373e-0410-b603-e72c3f656dc1
2016-12-05 21:46:02 +00:00
marian 63ca635f93 Use float instead of integer for frequency offset value.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6154 acf43c95-373e-0410-b603-e72c3f656dc1
2016-12-05 08:26:43 +00:00
paulc bed671aa32 Set the initial CMR to the desired AMR mode.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6153 acf43c95-373e-0410-b603-e72c3f656dc1
2016-11-25 19:00:56 +00:00
paulc 97ccf927fa Switch AMR octet-aligned mode early enough to store the correct format parameters.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6152 acf43c95-373e-0410-b603-e72c3f656dc1
2016-11-25 18:38:12 +00:00
paulc 09ff4188b9 Added support for setting AMR and other codecs' parameters in SDP.
Build and package separately the AMR-NB and GSM-EFR codecs.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6151 acf43c95-373e-0410-b603-e72c3f656dc1
2016-11-25 15:45:34 +00:00