Commit Graph

2792 Commits

Author SHA1 Message Date
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
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 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 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
paulc 0b184401a3 Added handling of CDR operation "status" in the register module.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6150 acf43c95-373e-0410-b603-e72c3f656dc1
2016-11-15 16:44:44 +00:00
paulc 479cba85a4 Interpret call.cdr operation=update as an interim accounting.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6149 acf43c95-373e-0410-b603-e72c3f656dc1
2016-11-09 14:17:21 +00:00
marian bbcc577aa4 Fixed bug: avoid deadlock (ddebug build only).
git-svn-id: http://yate.null.ro/svn/yate/trunk@6148 acf43c95-373e-0410-b603-e72c3f656dc1
2016-11-09 14:07:19 +00:00
paulc 870d7b38b9 Fixed a rather harmless shutdown time memory leak.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6147 acf43c95-373e-0410-b603-e72c3f656dc1
2016-11-07 18:20:07 +00:00
paulc 88fc10abc6 Fixed a memory leak returning data from the SQLite module.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6146 acf43c95-373e-0410-b603-e72c3f656dc1
2016-11-07 17:54:44 +00:00
paulc dde447c2f5 Fixed ExtModReceiver leak when destroyed from cleanup()
git-svn-id: http://yate.null.ro/svn/yate/trunk@6145 acf43c95-373e-0410-b603-e72c3f656dc1
2016-11-07 14:50:07 +00:00
paulc 7951b1fe40 Added debug output target and function to return log style timestamp.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6142 acf43c95-373e-0410-b603-e72c3f656dc1
2016-09-27 18:11:51 +00:00
marian c392c31c47 Added option (enabled by default) to simulate tx gain correction in software.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6141 acf43c95-373e-0410-b603-e72c3f656dc1
2016-09-27 11:39:56 +00:00
marian edadd2774d Stop delaying messages if engine is exiting.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6140 acf43c95-373e-0410-b603-e72c3f656dc1
2016-09-27 11:16:45 +00:00
marian adf3f05900 Fake fpga gain set for TX only. Properly report set value. Improved debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6138 acf43c95-373e-0410-b603-e72c3f656dc1
2016-09-20 09:48:09 +00:00
marian 353f7e696d Rollback accidentally commited files in previous commit.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6137 acf43c95-373e-0410-b603-e72c3f656dc1
2016-09-15 10:45:40 +00:00
marian 4590f53dc7 Documented tcp idle/keeplive intervals.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6136 acf43c95-373e-0410-b603-e72c3f656dc1
2016-09-15 10:35:31 +00:00
marian 20f5ca261b Added separate configurable parameter to outgoing tcp keepalive. Added optional first keepalive interval (for faster first keepalive).
git-svn-id: http://yate.null.ro/svn/yate/trunk@6135 acf43c95-373e-0410-b603-e72c3f656dc1
2016-09-15 10:14:14 +00:00
marian 6ca595b59f Force line to emit user.notify when tcp transport is used.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6134 acf43c95-373e-0410-b603-e72c3f656dc1
2016-09-14 10:03:36 +00:00
marian 02a214b3d0 Match incoming line by transport when tcp is used.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6132 acf43c95-373e-0410-b603-e72c3f656dc1
2016-09-14 07:53:34 +00:00
marian 971ea0f692 Removed activity simulator from the internal send thread: it is eating the processor on higher sampling rates.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6131 acf43c95-373e-0410-b603-e72c3f656dc1
2016-08-19 14:17:55 +00:00
marian 7cd78c58ec Fixed bug in radio test: idle while waiting for interface initialize to complete.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6130 acf43c95-373e-0410-b603-e72c3f656dc1
2016-08-19 13:36:16 +00:00
paulc c3f9659ec9 Fixed compilation of test1 plugin.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6129 acf43c95-373e-0410-b603-e72c3f656dc1
2016-08-18 14:22:28 +00:00
paulc 813bd8fd18 Allow the "earlymedia" parameter to override a missing source and create provisional RTP.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6128 acf43c95-373e-0410-b603-e72c3f656dc1
2016-08-12 12:38:07 +00:00
marian 549739060e Removed checking of rx vga gain (compare requested value with actual value) when changing it in radio interface: the value set in the board is rounded to a multiple of 3.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6126 acf43c95-373e-0410-b603-e72c3f656dc1
2016-07-08 07:58:23 +00:00
marian 96d4c7af10 Calibration fix and amplifier linearization feature (work in progress) by David Burgess.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6125 acf43c95-373e-0410-b603-e72c3f656dc1
2016-07-05 11:22:44 +00:00
marian 9efa057328 Detect 'ipv6' default value from bind address when updating an udp transport: avoid listener restart.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6121 acf43c95-373e-0410-b603-e72c3f656dc1
2016-05-27 12:35:39 +00:00
marian a16b32b009 Listener: default 'ipv6' parameter to true if bind address contains ':'.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6119 acf43c95-373e-0410-b603-e72c3f656dc1
2016-05-24 14:01:04 +00:00
marian d8b25337a9 Added listener role parameter. Set it in messages sent by connections using the listener.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6118 acf43c95-373e-0410-b603-e72c3f656dc1
2016-05-24 13:33:14 +00:00
marian cc58ef73dd Added option to copy message headers in user.auth messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6117 acf43c95-373e-0410-b603-e72c3f656dc1
2016-05-23 14:43:33 +00:00
paulc f37f408a2f Made maximum loadable JS file size configurable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6116 acf43c95-373e-0410-b603-e72c3f656dc1
2016-05-18 13:31:47 +00:00
marian 34a58b284f Replaced calibration algorithm (work in progress). Added asynchronous calibration support. Removed test capability.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6114 acf43c95-373e-0410-b603-e72c3f656dc1
2016-05-04 12:33:21 +00:00
marian abc0eddf8b Added capability to set custom device params and automatically restart radio test.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6113 acf43c95-373e-0410-b603-e72c3f656dc1
2016-05-04 11:42:02 +00:00
marian 4c8b78b1b1 Additional check for Nuand's vendor and product when choosing a device to open.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6108 acf43c95-373e-0410-b603-e72c3f656dc1
2016-04-13 07:02:40 +00:00
marian 3fb71dcdc9 Added capability to configure test thread priority and include a config section.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6107 acf43c95-373e-0410-b603-e72c3f656dc1
2016-03-29 11:50:31 +00:00
paulc d3ba52e3e0 Changed the way ExtModReceivers are (de)referenced and destroyed.
Fixes destruction of external channels that have or had a watcher.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6105 acf43c95-373e-0410-b603-e72c3f656dc1
2016-03-18 10:17:55 +00:00
paulc 648123eb0a Fixed a pointer use after free.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6104 acf43c95-373e-0410-b603-e72c3f656dc1
2016-03-17 19:00:17 +00:00
paulc dd5c21a636 Add the Cisco call-id to the Access-Request packet too.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6093 acf43c95-373e-0410-b603-e72c3f656dc1
2016-02-15 15:31:43 +00:00
paulc 95280ee6ab Add the SIP channel ID to the user.auth message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6092 acf43c95-373e-0410-b603-e72c3f656dc1
2016-02-15 15:21:04 +00:00