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
marian
647e6c4da7
Added function used to obtain XML attributes. Extended setAttribute() to allow setting multiple attributes.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6091 acf43c95-373e-0410-b603-e72c3f656dc1
2016-02-15 15:06:10 +00:00
marian
80e46badff
JsXML: properly check namespace parameter pointer before using it.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6090 acf43c95-373e-0410-b603-e72c3f656dc1
2016-02-15 12:44:43 +00:00
paulc
adaad148bf
Add the connection_id parameter to user.auth, user.unregister, call.preroute and chan.startup messages.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6089 acf43c95-373e-0410-b603-e72c3f656dc1
2016-02-08 15:06:38 +00:00
paulc
818bce0ae9
Fixed two invalid false to null conversions.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6085 acf43c95-373e-0410-b603-e72c3f656dc1
2016-01-20 10:29:46 +00:00
paulc
3aeb6687d5
Fixed a GCC 6 build error: C++11 requires a space between literal and string macro.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6084 acf43c95-373e-0410-b603-e72c3f656dc1
2016-01-20 10:23:35 +00:00
paulc
c68db49d5d
Made Cisco and Quintum voice attributes configurable per section.
...
Fixed comments in sample config file.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6083 acf43c95-373e-0410-b603-e72c3f656dc1
2016-01-12 13:44:10 +00:00
paulc
79dbe9f241
Added API method for checking if the Engine has finished starting up, expose it to JS.
...
Added separate javascript.conf section that loads scripts after the engine.start message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6081 acf43c95-373e-0410-b603-e72c3f656dc1
2016-01-04 12:49:52 +00:00
paulc
78e486e6c0
Allow restarting external modules only if we started them.
...
Add address in status information for inbound connections.
Added Yate::Quit() function in PHP library.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6078 acf43c95-373e-0410-b603-e72c3f656dc1
2015-12-15 11:30:07 +00:00
paulc
9a2ddd019e
Added support for resizing the extmodule read buffer.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6075 acf43c95-373e-0410-b603-e72c3f656dc1
2015-12-02 16:16:52 +00:00
paulc
5f728a9dd7
Support adding an ISUP body when rejecting a SIP call from routing.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6069 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-24 15:40:09 +00:00
paulc
f96cdb4110
Allow setting extra parameters in JS Channel.hangup()
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6068 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-24 15:38:35 +00:00
marian
9802fbbc52
Added new, shorter, timeout for samples transfer. Properly handle incomplete transfers.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6067 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-19 15:15:01 +00:00
paulc
5c99a83aef
Added helper class to keep extra account parameters for calls and registration.
...
Added extra account parameters handling to SIP channel.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6066 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-18 14:20:00 +00:00
paulc
835d7b6bfd
Put the disconnect reason in the proper message parameter.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6065 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-17 13:31:15 +00:00
paulc
03752b3f44
Slow down the consumer waiting loop as to not burn too much CPU.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6064 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-13 07:47:38 +00:00
paulc
8526e7f01f
Added onPostExecute hook that gets called by channel scripts when call.execute returns.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6063 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-12 21:29:55 +00:00
paulc
f02df8cdb0
Make sure a JsAssist is not created for outbound call legs.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6062 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-12 21:15:26 +00:00
paulc
6f3f09ddbe
Added support for specifying the mode to mkdir.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6061 acf43c95-373e-0410-b603-e72c3f656dc1
2015-11-11 17:58:05 +00:00
paulc
35079bdae6
Convert binary database message results to hexadecimal strings.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6058 acf43c95-373e-0410-b603-e72c3f656dc1
2015-10-29 08:33:09 +00:00
andrei
450f4ab68c
Added LPF_BANDWIDTH auto calibration.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6057 acf43c95-373e-0410-b603-e72c3f656dc1
2015-10-26 08:32:54 +00:00
marian
fb066c3e51
Removed unused RadioInterface methods and data. BladeRF driver is now advertising radio caps and is accumulating data to send to avoid short write operations.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6055 acf43c95-373e-0410-b603-e72c3f656dc1
2015-10-12 15:06:31 +00:00
marian
a4ce1f1ed5
Implemented recv. Check for thread cancel when sleeping.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6054 acf43c95-373e-0410-b603-e72c3f656dc1
2015-10-12 07:35:58 +00:00
marian
85eb9cd410
Optimized sample scale and division.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6053 acf43c95-373e-0410-b603-e72c3f656dc1
2015-10-05 15:12:29 +00:00
andrei
c120b04526
Delay call termination when we had received the fax to give some time to the remote endpoint to finish it's work.
...
Reset the channel when the endpoint was detached.
Set 'eof' as termination reason when document ended callback was called.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6052 acf43c95-373e-0410-b603-e72c3f656dc1
2015-10-05 14:22:30 +00:00
andrei
a4816d011d
Bug fix! Avoid changing the type in setParams.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6051 acf43c95-373e-0410-b603-e72c3f656dc1
2015-10-05 14:20:34 +00:00
paulc
e0f16e2941
Escape same control characters as ExpEvaluator::getEscape() when stringifying JSON.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6049 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-30 08:42:47 +00:00
andrei
61b951d7d3
Fixed error code interpretation for phaseB, phaseD and phaseE spandsp callback methods.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6048 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-29 15:59:09 +00:00
marian
0abe6470bd
Added option to set TX FPGA GAIN from config.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6047 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-25 13:48:19 +00:00
marian
d190d4e8a2
Implemented configurable option for TX clamped samples debug threshold. Simplified parameters reload.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6046 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-22 14:30:38 +00:00
marian
9575abca85
Implemented timestamp resync. Added configurable option for allowed interval with timestamps in the past to make sure we are returning from read. Implemented capability to alter rx timestamps (for debug purposes).
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6045 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-22 13:36:26 +00:00
marian
085ca47e11
Properly translate libusb errors to RadioInterface codes.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6044 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-21 09:58:15 +00:00
marian
e77d49348f
Make a non timed lock when serializing tx/rx. Show current time when handling show commands.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6042 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-18 07:05:07 +00:00
marian
ba6aef184f
Fixed help string contents.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6041 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-17 12:33:24 +00:00
marian
ff06c5a467
Added shorter versions of correction, vgagain and show commands.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6040 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-17 12:28:54 +00:00
marian
daca223187
Fixed bug: properly check if VGA1 value was already set by us when setting gain.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6038 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-16 14:46:59 +00:00
marian
fae42ec947
Fixed debug.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6037 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-16 09:48:21 +00:00
paulc
9aa279f97e
Even if configured start RTP when generating 200 OK only if INVITE had SDP.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6036 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-16 08:11:49 +00:00
marian
7866475cfc
Leave tx/rx mutex locked when serializing i/o (avoid race for serialize). Don't try to serialize both tx and rx to obtain timestamps when dumping them.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6035 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-15 14:54:05 +00:00
marian
4cf402e052
Yield when send/recv fails with hardware I/O error.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6034 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-15 12:50:37 +00:00
marian
d4f4a0d2ee
Added timestamps display to show command.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6033 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-11 13:17:59 +00:00
paulc
0b38ac3adc
Consider undefined and null as missing name or namespace for finding XML childs.
...
Refuse to create an XML child with an empty or null tag.
Added constants for XML put methods.
git-svn-id: http://yate.null.ro/svn/yate/trunk@6032 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-09 13:05:34 +00:00
paulc
79f5b70ca5
Added static Engine.replaceParams() that replaces object properties in a ${template} string.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6030 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-04 20:04:02 +00:00
paulc
038bb01d1e
Added engine.command cmd_header and cmd_finish parameters for proper handling of paged responses.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6029 acf43c95-373e-0410-b603-e72c3f656dc1
2015-09-01 16:14:17 +00:00
paulc
86ea2d8f3d
Renamed csi-Active to csiActive to maintain uniform naming.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6028 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-31 12:41:58 +00:00
paulc
2c94c52e35
Added support for copy constructing a JS XML.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6027 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-31 11:05:58 +00:00
paulc
dde5f5ca6f
Added a version of the JS XML constructor that takes element name and optional text.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6026 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-31 08:09:15 +00:00
paulc
3bd65c1cc6
Add a JS Engine.name property so scripts can know how they were started.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6024 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-27 10:58:42 +00:00
paulc
307a7c09ef
Added support for JS getIntValue() min/max/clamp parameters.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6023 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-27 10:56:06 +00:00
marian
b18d902a69
Added addValue() method to ConfigFile.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6022 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-25 10:18:26 +00:00
marian
66c6ee12ff
Added clearSection() method to ConfigFile. Added addValue() method to ConfigSection.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6021 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-25 09:37:59 +00:00
paulc
5b980e2793
Added prototypes to parsed JSON objects and arrays.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6020 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-21 13:07:19 +00:00
paulc
4a5c2f835f
Added JS method to restart the Yate engine (only if allow_abort is configured).
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6019 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-18 16:09:40 +00:00
paulc
fb82168a58
Fixed building on 32 bit machines and those that don't define various byte swapping macros.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6018 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-18 11:24:10 +00:00
marian
1f01a0ff5f
Enable by default rx timestamps check. Apply parameter on reload. Documented it. Changed invalid timestamps debug message to MILD.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6017 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-06 15:11:56 +00:00
marian
ebe0799010
Moved tx timestamp mismatch debug to a lower level.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6016 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-06 14:55:33 +00:00
marian
6476f94fe3
Added pulse pattern to radio test. Implemented radio read.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6015 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-04 11:34:56 +00:00
marian
70d26b2596
Added new method used to set loopback to radio interface.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6014 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-04 11:33:16 +00:00
marian
fefef69fc5
Double the number of I/O buffers on USB2.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6013 acf43c95-373e-0410-b603-e72c3f656dc1
2015-08-03 14:16:25 +00:00
marian
6ad706cbe9
Added small DMA transfer flag used to alter GPIO values written at address 0 (config). Fixes USB2 timestamps.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6012 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-30 14:10:20 +00:00
marian
63e8ac7e47
Fixed bug: avoid wrting past array bound.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6009 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-28 12:02:11 +00:00
marian
5265e4d8e5
Fixed bug: use proper operator to mask freq offset.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6008 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-24 07:18:54 +00:00
marian
4a6b823a77
Added brute force algorithm for phase/gain correction. Added more parameters for calibration.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6005 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-16 14:53:56 +00:00
marian
837195edd4
Added capability to replace newline and tab in configured format string.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6004 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-16 14:50:31 +00:00
marian
2355ead640
Added method used to set data dump to radio interface. Fixed bug in bladerf rx data dump: preserve original pointer when copying data to avoid dump wrong data.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6003 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-16 09:12:20 +00:00
marian
1eed7d0259
Added extra dump info to radio file process. Added radiotest conf sample.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6002 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-15 10:10:33 +00:00
marian
dff954a437
Added extra parameter to configure data dump.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6001 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-15 09:21:30 +00:00
marian
4431d99720
Added capability to dump data to bladerf module.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@6000 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-14 13:22:00 +00:00
marian
c132a6a646
Added capability to process radio data file to radio test module.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5999 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-14 13:19:19 +00:00
marian
c6e7faef4c
Work in progress on fixing calibration.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5997 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-13 15:00:12 +00:00
marian
2897af7e41
Added 2 circles send pattern to radio test.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5996 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-13 14:55:14 +00:00
marian
be0303dfcd
Fixed statistics reporting.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5994 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-10 15:01:05 +00:00
marian
fb80124f8e
Added bladerf fpga files. Changed fpga load default path.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5993 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-10 14:35:37 +00:00
paulc
36afeb4b64
Copy SIP RFC3329 Security-* parameters to user.auth message.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5992 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-10 11:55:01 +00:00
marian
8bcdf3d442
Added radio test module.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5991 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-10 11:24:14 +00:00
marian
31a84fdce6
Added tx power balance calibration. Work in progress.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5990 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-10 11:20:01 +00:00
marian
64353a04e0
Implemented tx/rx timestamp retrieval.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5989 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-10 08:01:11 +00:00
paulc
826ebdaf36
Preliminary version of dummy radio interface.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5988 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-09 10:05:21 +00:00
marian
08f76086f0
Fixed some LMS values set during init. Fixed PA/LNA enable/select. Improved peripheral access debug. Work in progress on fixing calibration.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5987 acf43c95-373e-0410-b603-e72c3f656dc1
2015-07-09 07:11:27 +00:00
marian
972910db51
Calculate and display FPGA MD5.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5986 acf43c95-373e-0410-b603-e72c3f656dc1
2015-06-30 12:37:40 +00:00
marian
f8afb370b4
Added new method for TX DC calibration.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5985 acf43c95-373e-0410-b603-e72c3f656dc1
2015-06-30 12:27:13 +00:00
paulc
dcd21630e2
Added support for libusb-1.0 older than 1.0.9 release.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5983 acf43c95-373e-0410-b603-e72c3f656dc1
2015-06-30 11:27:23 +00:00
marian
436ef0ce30
Compute RX DC offset before TX LO. Work in progress.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5982 acf43c95-373e-0410-b603-e72c3f656dc1
2015-06-29 11:28:03 +00:00
marian
67cdbe9b6e
Added command used to change LMS register.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5981 acf43c95-373e-0410-b603-e72c3f656dc1
2015-06-26 08:31:58 +00:00
marian
9068b0175d
Fixed bug: divide radio data by 2048 as expected by the upper layer. Fixed RX VGA status reporting.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5980 acf43c95-373e-0410-b603-e72c3f656dc1
2015-06-26 07:20:54 +00:00
marian
1d5f7b050f
Added bladeRF module.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5979 acf43c95-373e-0410-b603-e72c3f656dc1
2015-06-24 10:41:29 +00:00
paulc
4ed1377aa6
Build, install and use a dynamic library for ASN.1 code.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5964 acf43c95-373e-0410-b603-e72c3f656dc1
2015-04-01 16:50:56 +00:00
marian
b3bf7d962b
Make some explicit conversions to silence compiler warnings.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5958 acf43c95-373e-0410-b603-e72c3f656dc1
2015-03-11 10:41:51 +00:00
marian
ad90bd6de7
Cancel call monitor thread instead of deleting it: avoid virtual method call on Windows.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5951 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-26 15:18:15 +00:00
paulc
97f9194e91
Add -L flag for PostgreSQL library in non-default place.
...
Patch by Andre Sencioles Vitorio Oliveira <andre@bcp.net.br>
git-svn-id: http://yate.null.ro/svn/yate/trunk@5947 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-26 10:58:29 +00:00
paulc
3bba322664
Added GSM-EFR codec support and transcoder.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5945 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-26 10:26:51 +00:00
paulc
5f6d1e7e8d
Refuse to JSON.stringify functions, return undefined for undefined and functions.
...
Completely remove from JSON object properties that are functions or undefined.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5938 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-10 12:43:05 +00:00
paulc
0953ee36d5
Added NIST FIPS 186-2 change notice 1 Pseudo Random Function with 160 bits SHA-1.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5936 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-05 17:58:39 +00:00
paulc
583e9bc73e
Fixed typo in encoder input saturation.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5935 acf43c95-373e-0410-b603-e72c3f656dc1
2015-02-02 18:16:46 +00:00
oana
7e7477a2e6
Do not keep reajusting the relative path of a dinamically loaded script.
...
Avoids unloading and reloading of the script at YATE reinit/javascript reload even if the script didn't change.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5934 acf43c95-373e-0410-b603-e72c3f656dc1
2015-01-30 13:39:52 +00:00
paulc
5a828d1aa5
Properly release the file resources at the end of a T.38 fax transfer.
...
Make sure the spandsp API supports t38_terminal_release().
git-svn-id: http://yate.null.ro/svn/yate/trunk@5933 acf43c95-373e-0410-b603-e72c3f656dc1
2015-01-29 10:23:36 +00:00
paulc
aeaca4e94b
Limit the result of regexroute function $(variables,list) so it doesn't crash when there is a very large number of variables.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5931 acf43c95-373e-0410-b603-e72c3f656dc1
2015-01-07 17:14:32 +00:00
paulc
7f38064c6d
Added getInt64Value to NamedList and Configuration classes.
...
Added getIntValue and getBoolValue to Javascript ConfigFile and ConfigSection.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5930 acf43c95-373e-0410-b603-e72c3f656dc1
2014-12-22 11:56:16 +00:00
paulc
7f834fd8b8
Added engine and Javascript methods for packing and unpacking IP addresses.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5929 acf43c95-373e-0410-b603-e72c3f656dc1
2014-12-18 15:11:42 +00:00
paulc
48103e3e1b
Preserve correct path when reloading JS scripts that were loaded on demand.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5926 acf43c95-373e-0410-b603-e72c3f656dc1
2014-12-09 11:33:04 +00:00
marian
e400402cda
Properly check normal/emergency alignment when trying to align.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5925 acf43c95-373e-0410-b603-e72c3f656dc1
2014-11-27 14:57:13 +00:00
andrei
bf9261a33f
Added support for 3des with two and three keys.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5924 acf43c95-373e-0410-b603-e72c3f656dc1
2014-11-24 14:28:05 +00:00
paulc
95419fbe8b
Fix tel: URI parsing, try harder to pick SIP REGISTER related information.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5922 acf43c95-373e-0410-b603-e72c3f656dc1
2014-11-06 10:12:26 +00:00
paulc
e160c8595b
Allow retrieving a pointer to native objects in JS Message, ConfigFile and XML.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5921 acf43c95-373e-0410-b603-e72c3f656dc1
2014-10-29 16:32:20 +00:00
paulc
063b8f7707
Added optional parameter to XML.xmlText() to indent with spaces.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5920 acf43c95-373e-0410-b603-e72c3f656dc1
2014-10-29 16:30:02 +00:00
paulc
da44cbe85c
Removed a harmless extra pair of brackets.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5919 acf43c95-373e-0410-b603-e72c3f656dc1
2014-10-29 16:27:35 +00:00
paulc
50b69baa01
Fixed PLC for the iSAC codec, caused memory corruption and crashes.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5918 acf43c95-373e-0410-b603-e72c3f656dc1
2014-10-21 11:56:46 +00:00
oana
af150f67f0
Add option to dinamically load JS scripts through engine.command.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5917 acf43c95-373e-0410-b603-e72c3f656dc1
2014-10-16 12:39:59 +00:00
paulc
f9e6470a90
Added optional message to verify reINVITE in media proxying mode.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5915 acf43c95-373e-0410-b603-e72c3f656dc1
2014-09-19 11:36:28 +00:00
paulc
ba13dedd67
Added SQLite database support.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5913 acf43c95-373e-0410-b603-e72c3f656dc1
2014-09-16 13:04:05 +00:00
paulc
f4be507305
Allow substitutions in extmodule [general] scripts_dir, [scripts] and [execute].
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5910 acf43c95-373e-0410-b603-e72c3f656dc1
2014-08-28 16:56:04 +00:00
paulc
8558e81047
Added DNS.resolve() and DNS.local() methods in Javascript.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5909 acf43c95-373e-0410-b603-e72c3f656dc1
2014-08-26 17:21:36 +00:00
paulc
dddac05512
Fixed a pushed down row in Javascript tabelar output functions.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5908 acf43c95-373e-0410-b603-e72c3f656dc1
2014-08-22 10:43:37 +00:00
paulc
011cafdb6c
Fixed rows alignment in Javascript tabelar output functions.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5907 acf43c95-373e-0410-b603-e72c3f656dc1
2014-08-20 15:03:30 +00:00
paulc
e183bd7020
Added JS methods to build or print a table from Array of Object or Object of Array.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5904 acf43c95-373e-0410-b603-e72c3f656dc1
2014-08-06 14:38:28 +00:00
paulc
20cb619d08
Added the crypto test module to the build / clean list.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5903 acf43c95-373e-0410-b603-e72c3f656dc1
2014-08-06 08:15:05 +00:00
paulc
771ee63ff3
Added support for creating scripting extensions in other modules.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5902 acf43c95-373e-0410-b603-e72c3f656dc1
2014-08-06 08:08:06 +00:00
paulc
a9c824e4aa
Place the configured account "description" in the From header of SIP REGISTER too.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5901 acf43c95-373e-0410-b603-e72c3f656dc1
2014-08-05 15:13:20 +00:00
marian
8e9fcd275b
Removed unused functions. Silenced unused variable warning.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5897 acf43c95-373e-0410-b603-e72c3f656dc1
2014-08-05 07:58:03 +00:00
paulc
d7ea0b77cc
Silenced unused function warning for non-debug builds.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5895 acf43c95-373e-0410-b603-e72c3f656dc1
2014-08-04 13:20:17 +00:00
marian
db9683a976
Silenced unused variable compiler warning.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5894 acf43c95-373e-0410-b603-e72c3f656dc1
2014-08-04 11:30:38 +00:00
marian
8ad22c514b
Removed unused data member.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5892 acf43c95-373e-0410-b603-e72c3f656dc1
2014-08-04 10:25:46 +00:00
paulc
11a02cf913
Resolved or silenced a number of compile warnings.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5891 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-31 16:30:15 +00:00
paulc
f1185a554b
Fixed a number of unused member variables.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5890 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-31 13:54:23 +00:00
paulc
7efd3b0747
Store TTL in retrieved DNS records.
...
Add ttl, order and preference to JS returned NAPTR and SRV records.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5889 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-31 13:32:54 +00:00
paulc
08fe54e27a
Added YIGNORE macro to silence compiler warnings about unused values.
...
Cleaned up a number of compiler warnings.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5888 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-31 12:13:52 +00:00
paulc
5c8eb9a26c
Allow forcibly closing existing audio device to allow opening a new one.
...
Fixes audio failure when answering calls on Linux.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5879 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-25 13:19:19 +00:00
paulc
f64803b64f
Added Message.handlers() function to return list of installed message handlers.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5878 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-24 13:03:16 +00:00
paulc
7ddd7cf498
Use the proper JsObject constructor with prototype where applicable.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5876 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-22 11:41:55 +00:00
paulc
bbcfbbb506
Added DNS resolver object in Javascript.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5875 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-22 11:04:28 +00:00
paulc
f9a0ff7791
Fixed crash in JSON.stringify() for objects having no "__proto__".
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5872 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-21 15:33:46 +00:00
paulc
9b6259ac82
Added native JSON parser and stringifier.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5869 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-14 08:06:41 +00:00
paulc
0842fc2581
Extract native function arguments only after recognizing the function name.
...
This allows falling back to the native JsObject methods.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5868 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-11 16:54:28 +00:00
paulc
ac2d9f4a88
Added configuration option --enable-lib-exec that can remove executable permission from installed shared libraries and Yate modules.
...
Attempt to detect the proper default to match Debian / Ubuntu install policy.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5866 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-09 13:50:15 +00:00
marian
99f1280a37
Added support for (un)hexify functions: btoh and htob.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5865 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-07 07:52:42 +00:00
paulc
05a21a1d34
Moved XML classes to the main library.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5864 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-04 15:18:11 +00:00
marian
a2fe379e02
Allow calls to be directed from dumb: check for 'direct' parameter, use it as target (skip routing) if present.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5863 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-02 14:14:43 +00:00
paulc
2218e61708
Support forcing to generate a SIP reINVITE.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5862 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-02 07:38:16 +00:00
paulc
7c7d9e2a16
Fixed cleanup for TCP connections where same stream is used for In and Out.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5858 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-30 16:07:15 +00:00
paulc
11fcab1ab1
Implement independent CSeq generators for INVITE dialogs and REGISTER sessions.
...
Always parse CSeq in base 10, some implementations left pad with zeros.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5855 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-25 12:27:56 +00:00
paulc
c33cb114e5
Terminate I/O streams instead of deleting them when an external module exits.
...
This prevents a race condition causing random memory corruption.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5850 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-23 10:18:21 +00:00
paulc
fce2aa8548
Allow retrieving and setting more SIP dialog components.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5846 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-18 08:38:30 +00:00
marian
f9c6063d92
Fixed bug: set request uri from connection uri if none given when sending a method.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5845 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-17 11:52:07 +00:00
paulc
41241ca8fc
Allow controlling the number of (re)transmission per SIP transaction.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5844 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-12 09:50:50 +00:00
marian
45931bec7f
Use a boolean parameter to indicate hexified data in Hasher update and hmac methods.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5843 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-11 12:59:46 +00:00
marian
6bde44d9c9
Added Hasher object exposing Engine Hasher class methods.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5842 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-11 12:18:01 +00:00
paulc
f2fe82537c
Generate monotonic per-dialog Command Sequence numbers (CSeq) derived from the global sequence.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5841 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-11 12:02:40 +00:00
marian
e0eb6e0867
Unlock driver before hangup to avoid deadlock when disconnecting the channel.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5836 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-04 08:31:29 +00:00
marian
5cac753134
Return null object from XML constructor if parse fails.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5831 acf43c95-373e-0410-b603-e72c3f656dc1
2014-05-14 09:06:36 +00:00
andrei
11f9a6c4d2
Removed unnecessary debug messages.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5823 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-17 07:40:37 +00:00
paulc
e13103a680
Added "yate-config --revision" and made version available in main and modules Makefile.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5822 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-15 09:57:15 +00:00
marian
365e0a299b
Added help for 'external' command.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5818 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-09 09:36:06 +00:00
paulc
d8d6951f67
Copy the custom username from the "username" parameter of user.auth message.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5813 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-01 16:50:12 +00:00
paulc
401d4b8793
Added objects and methods for accessing COnfiguration files from Javascript.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5811 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-01 11:27:51 +00:00
paulc
cbaabffc2a
Support for custom SIP bodies in call related messages.
...
Multipart MIME bodies are created as needed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5810 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-01 07:59:03 +00:00
paulc
0c63fc4dcb
Handle the "noautoauth" error in calls as well.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5809 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-28 14:05:37 +00:00
paulc
cfbad3e138
Make "caller", "callername" and "called" available in user.auth for generic SIP messages.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5808 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-28 12:51:39 +00:00
paulc
5ef78fdfa4
Added Base64 handling methods to Javascript.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5807 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-26 10:45:01 +00:00
marian
3c7346a548
Fixed bug: properly initialize class member from constructor parameter.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5804 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-20 11:24:32 +00:00
paulc
0e603be619
Added and extra include path (defaulting to config dir) for JS scripts.
...
Engine runtime parameters can be used in javascript.conf for script paths.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5799 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-14 14:45:41 +00:00
oana
6d2de9dfc8
Bug fix: properly set prototype property on JS Array objects.
...
Added JsObject::setPrototype() in order to set an objects prototype from given context.
Added new JsArray constructor which set its own prototype. Replaced use of constructor which returned Array prototype with this contructor.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5796 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-13 13:10:56 +00:00
oana
c13299b2bf
Use the proper letter cases for the AudioToolbox framework. Fixes linking issues on Mac OS X case sensitive filesystem.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5795 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-07 11:43:53 +00:00
paulc
3d6e0c5c15
Free the parsed SDP media after populating the internal update message.
...
Fixes a memory leak caused by reINVITE in RTP forward mode.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5792 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-26 16:45:23 +00:00
paulc
90c08d207f
Added an optional 2nd argument to callTo() and callJust() to set parameters.
...
Made callTo() and callJust() to be callable from pretty much anywhere.
Solves bug #338 .
git-svn-id: http://yate.null.ro/svn/yate/trunk@5791 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-26 14:57:57 +00:00
paulc
d8e565816b
Keep executing a channel script until callTo, callJust or hangup.
...
A different non-blocking function does not exit the script.
Fixes bug #336 .
git-svn-id: http://yate.null.ro/svn/yate/trunk@5790 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-26 14:51:15 +00:00
paulc
7666d7995d
Properly count signaling objects created by a factory.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5787 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-24 13:50:58 +00:00
paulc
4cd2a2e2b0
Properly count objects created in the monitoring alarm hook.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5785 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-24 12:47:41 +00:00
paulc
b9e6dacc2e
Added "meminfo" command in rmanager to display memory allocator stats when mallinfo() is available.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5782 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-21 09:28:44 +00:00
paulc
fa60c8629a
Count circuit alocated objects in the plugin creating them.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5781 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-19 11:43:04 +00:00
paulc
e5cfa7a2ff
Apply the extmodule timeout whenever we try to grab the socket to write to the external script.
...
This should avoid complete locks if the external application reads too slow.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5779 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-18 14:01:57 +00:00
paulc
9a2cfd0d24
Fixed copyright notice which had a different structure and was altered by script.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5756 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 12:29:16 +00:00
paulc
37a72e4bc1
Added copyright notices to sources and scripts missing them.
...
Updated copyright notices for 2014.
Fixed end of lines in many files.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5755 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 11:42:17 +00:00
paulc
76fdb5ce75
Added support for counting allocated objects for memory leaks troubleshooting.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5752 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-04 16:36:23 +00:00
paulc
83028f342a
Disabled implicit copy constructor and assignment operator of GenObject.
...
Fixed bugs exposed by this change.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5749 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-30 20:42:40 +00:00
paulc
22abbfc150
Added "status" command to extmodule, reports count of scripts and channels.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5748 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-29 13:31:25 +00:00
paulc
4f9a7c1be0
Added reporting the number of IAX transactions in all engines to "status iax" command.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5747 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-29 13:28:00 +00:00
paulc
6c99ac9558
Added reporting the number of SIP transactions to "status sip" command.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5746 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-29 13:26:24 +00:00
paulc
734138c0ba
Added "status" command to regexroute.
...
Added internal functions to count and list global variables.
Reorganized and cleaned up the code a bit.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5745 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-29 13:23:56 +00:00
oana
0960497615
Replaced include of yatengine.h with yateclass.h.
...
Moved class which was using an Engine class to the SNMP module.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5740 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-23 11:43:40 +00:00
marian
1229b07588
Added setText function to XML object. Added optional third argument to XML constructor used to take the xml from list parameter instead of making a copy.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5712 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-10 11:55:36 +00:00
paulc
87bdcc5798
Reduced contention on CallEndpoint::commonMutex() when getting current or last peer ID.
...
Added a variable and separate mutex for the last peer ID, also used as cache for current one.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5702 acf43c95-373e-0410-b603-e72c3f656dc1
2014-01-07 16:07:34 +00:00
marian
045b5ca3a3
Fixed bug: use a binary buffer to accumulate read data on tcp connections. Fixed keep alive request check. Avoid unnecessary buffer copy if there is no data from a previous read.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5691 acf43c95-373e-0410-b603-e72c3f656dc1
2013-11-27 14:04:37 +00:00
paulc
150e763c0d
Added JS static method Engine.runParams() and Message member msgTime()
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5688 acf43c95-373e-0410-b603-e72c3f656dc1
2013-11-05 15:50:09 +00:00
paulc
d906455080
Limit Javascript debug output to DebugTest, not DebugGoOn.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5687 acf43c95-373e-0410-b603-e72c3f656dc1
2013-11-01 14:36:18 +00:00
andrei
2c8e144e7e
Include HAVE_WANPIPE_API flag for wpcard compile.
...
Use HAVE_WANPIPE_TDM to verify if tdmcard module should be compiled.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5686 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-31 13:54:45 +00:00
andrei
1fdde06f54
Added TDM API detection in configure.in.
...
Removed unused include files from tdmcard module.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5685 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-31 12:41:17 +00:00
andrei
68b704a264
Updated TDM driver to work with wanpipe 7.0.5.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5684 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-30 08:43:17 +00:00
marian
72681d377c
Safely set and use the reason string.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5681 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-22 09:01:57 +00:00
marian
bf392ed93f
Safely reset media in hangup.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5680 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-22 08:13:00 +00:00
marian
8d95b61e73
Avoid race while processing secondary transaction events.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5679 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-22 08:04:22 +00:00
marian
0c55017c41
Added SIP IPv6 support.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5673 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-18 18:30:41 +00:00
marian
8d57bd3fdc
Added IPv6 support to rtp channel.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5670 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-18 18:20:16 +00:00
marian
e032da9bed
Fixed bug: lock mutex to reset media when processing received BYE.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5668 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-17 14:23:55 +00:00
marian
6d7ef140a2
Ignore new data payload notification if the receiver is not initialized.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5667 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-17 07:57:48 +00:00
marian
fd0c7a9d2b
Added post dial delay timeout in outgoing channel started from 'maxpdd' routing parameter. It stops when status is called with 'ringing', 'progressing' or 'answered'.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5666 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-11 12:46:20 +00:00
marian
1ffba36e23
Added configurable option to disable rtp receiving invalid sequence warn and put a message at level 9 instead.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5665 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-10 14:38:42 +00:00
marian
d707336e8f
Always set cause_sip and reason_sip in channel params when processing the sip transaction.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5663 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-10 13:18:21 +00:00
marian
4e8e318e3d
Added extra config and message parameter used to start CDR ring timer when processing a call.progress message.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5662 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-10 12:03:38 +00:00
paulc
7711fef5b7
Added support in Socket and RTP module for setting IP QoS by DSCP keywords.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5659 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-03 16:18:41 +00:00
paulc
5c62b9e049
Added a base class for all digest calculation classes.
...
Added SHA256 calculation class.
Added HMAC calculation methods.
Added test module for cryptographic functions validation.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5651 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-13 12:43:20 +00:00
paulc
e9eff5b83a
Prevent the monitoring module from handling all monitor.query at priority 100.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5649 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-11 13:01:44 +00:00
paulc
01b28c40f2
Use returned string of monitor.query message if "value" parameter is not set.
...
Removed an unnecessary string copy.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5648 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-11 12:57:08 +00:00
paulc
1bb92e13df
Use the proper method to clear saved media parameters.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5646 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-11 11:55:50 +00:00
paulc
d317cb5729
Attempt to revert to previous media if our reINVITE was refused.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5645 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-11 11:48:41 +00:00
paulc
3bbb952508
Check if the file exists before trying to send a fax.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5644 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-11 11:46:51 +00:00
oana
c8f18f9d15
Fixed compile warnings which appear when compiling with xdebug.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5642 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-09 15:26:27 +00:00
paulc
375c920739
Provide a mapping for SIP 488 code so it propagates correctly.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5640 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-03 16:21:23 +00:00
paulc
f7b7c4ef91
Make the SVN revision accessible to engine, rmanager, SNMP.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5639 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-03 16:10:18 +00:00
marian
972bfac75e
Fixed bug: allow empty address (hold) when handling re-invite with rtp forward.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5638 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-30 15:01:45 +00:00
paulc
58df5ea11b
Check the timestamps of all files included in Javascript.
...
On initialization reload scripts if any included file has changed.
Reload routing script only if it has changed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5631 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-28 13:19:42 +00:00
paulc
21aced388e
Added separate config sections for SIP MESSAGE and OPTIONS.
...
Made the routed MESSAGE advertising and processing disabled by default.
Removed separate in-dialog authetication for MESSAGE, follow same rule as BYE.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5629 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-23 11:52:11 +00:00
paulc
9c5eacc28f
Emit alerts for SIP and H.323 flood / local congestions.
...
Try to detect early the OpenH323 cleaner overload for outbound calls.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5627 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-19 13:53:54 +00:00
paulc
15e97a941f
Fixed SNMP Counter64 implementation.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5624 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-14 08:39:08 +00:00
marian
cc32394dcc
Moved msg.execute route type config parameter to separate section. Made it configurable for call.execute also. Drop global mutex lock when done using global data.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5622 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-13 11:19:23 +00:00
marian
27887d0faa
Add a configurable route_type parameter if missing when late routing a msg.execute message.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5621 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-13 10:10:33 +00:00
marian
9ad1953fa6
Fixed compile error.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5620 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-13 08:32:24 +00:00
marian
9fab20a109
Always handle MESSAGE method. Route incoming MESSAGE received outside INVITE dialog using call.route and send it using msg.execute. Forward MESSAGE received inside INVITE dialogs to channel peer using chan.text.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5619 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-13 08:31:33 +00:00
marian
e0942e7e65
Changed im.execute relay id. Removed im.route message relay. Route chat using call.route message.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5618 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-13 07:54:00 +00:00
paulc
55c7a8e843
Don't display telnet window size changes in non-debug compile.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5615 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-07 11:53:15 +00:00
paulc
7c39b31458
Fixed warnings - mostly conversions - exposed by Visual C++ compiler.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5614 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-07 11:24:10 +00:00
paulc
e81cbde58e
More fixes related to 32 and 64 bit types usage in JS.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5613 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-07 10:18:23 +00:00
paulc
18ff43d395
Fixed 64 bit types usage in Javascript, was broken on 32 bit machines.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5612 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-07 09:49:52 +00:00