paulc
53262ef06c
Fixes a warning caused on some versions of MySQL.
...
git-svn-id: http://voip.null.ro/svn/yate@5829 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-29 13:23:18 +00:00
paulc
a521d5429b
Bumped version to 5.3.1 devel.
...
git-svn-id: http://voip.null.ro/svn/yate@5828 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-28 08:35:41 +00:00
paulc
4d45396ac5
Bumped version to 5.3.0 release.
...
git-svn-id: http://voip.null.ro/svn/yate@5826 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-25 13:43:10 +00:00
oana
5704c84662
Added support for Javascript RegExp constructor from string.
...
git-svn-id: http://voip.null.ro/svn/yate@5825 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-18 13:37:49 +00:00
paulc
d2da267b16
Added support to generate systemd based RPMs on systems that support it.
...
git-svn-id: http://voip.null.ro/svn/yate@5824 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-17 15:35:21 +00:00
andrei
23d7083a0e
Removed unnecessary debug messages.
...
git-svn-id: http://voip.null.ro/svn/yate@5823 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-17 07:40:37 +00:00
paulc
dacd9ac9e4
Added "yate-config --revision" and made version available in main and modules Makefile.
...
git-svn-id: http://voip.null.ro/svn/yate@5822 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-15 09:57:15 +00:00
paulc
d4fa6502a3
Workaround for very old init systems that do not define the "warning" function.
...
git-svn-id: http://voip.null.ro/svn/yate@5821 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-14 08:49:12 +00:00
paulc
07797754e5
On "start" command check for Yate process by PID file, warn if already running.
...
Added "force-start" for those who want to override any checks.
git-svn-id: http://voip.null.ro/svn/yate@5820 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-10 13:05:37 +00:00
oana
82d4ffb659
Added discrimination between boolean and integer values.
...
Return proper results for typeof and toString() calls for boolean values.
git-svn-id: http://voip.null.ro/svn/yate@5819 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-09 13:52:54 +00:00
marian
62c4420180
Added help for 'external' command.
...
git-svn-id: http://voip.null.ro/svn/yate@5818 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-09 09:36:06 +00:00
oana
7965d7e006
Changed pkg-config detection for OpenSSL support: check only if linker flags are non-empty.
...
git-svn-id: http://voip.null.ro/svn/yate@5817 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-07 13:49:39 +00:00
paulc
4de603cda1
Force a (last) peer ID cache flush when a Channel is disconnected.
...
This fixes stale "peerid" and "lastpeerid" parameters when a channel is reconnected to another channel that happens to be allocated at the same address in memory.
git-svn-id: http://voip.null.ro/svn/yate@5816 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-04 09:14:04 +00:00
paulc
7e19a2d834
When building a default SIP domain from local address include port if not 5060.
...
git-svn-id: http://voip.null.ro/svn/yate@5815 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-02 11:23:58 +00:00
paulc
a859689d87
Made Base64 decoding check for non-zero bits after the last octet, those indicate truncation.
...
Reduced the Base64 error logging level to INFO, it returns the error to caller anyway.
git-svn-id: http://voip.null.ro/svn/yate@5814 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-02 09:56:09 +00:00
paulc
3ae29071ea
Copy the custom username from the "username" parameter of user.auth message.
...
git-svn-id: http://voip.null.ro/svn/yate@5813 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-01 16:50:12 +00:00
paulc
33b29c43ae
Fixed the type of the result of Array.indexOf(), must be number.
...
git-svn-id: http://voip.null.ro/svn/yate@5812 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-01 13:25:17 +00:00
paulc
6e84797148
Added objects and methods for accessing COnfiguration files from Javascript.
...
git-svn-id: http://voip.null.ro/svn/yate@5811 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-01 11:27:51 +00:00
paulc
abd8063fb1
Support for custom SIP bodies in call related messages.
...
Multipart MIME bodies are created as needed.
git-svn-id: http://voip.null.ro/svn/yate@5810 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-01 07:59:03 +00:00
paulc
6721b68b18
Handle the "noautoauth" error in calls as well.
...
git-svn-id: http://voip.null.ro/svn/yate@5809 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-28 14:05:37 +00:00
paulc
64d1cd734d
Make "caller", "callername" and "called" available in user.auth for generic SIP messages.
...
git-svn-id: http://voip.null.ro/svn/yate@5808 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-28 12:51:39 +00:00
paulc
faa3e6c09c
Added Base64 handling methods to Javascript.
...
git-svn-id: http://voip.null.ro/svn/yate@5807 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-26 10:45:01 +00:00
paulc
c43dc9d05a
Fixed base64 line breaking at a length.
...
git-svn-id: http://voip.null.ro/svn/yate@5806 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-26 10:05:03 +00:00
marian
25a56eee52
Prepare ougoing xml's buffer before adding it to queue to reduce stream mutex contention.
...
git-svn-id: http://voip.null.ro/svn/yate@5805 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-21 09:23:00 +00:00
marian
dca22eab93
Fixed bug: properly initialize class member from constructor parameter.
...
git-svn-id: http://voip.null.ro/svn/yate@5804 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-20 11:24:32 +00:00
paulc
1796029c49
Bumped version to 5.2.1 devel.
...
git-svn-id: http://voip.null.ro/svn/yate@5803 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-17 11:39:19 +00:00
paulc
3ab23faa9a
Bumped version, 5.2 release.
...
git-svn-id: http://voip.null.ro/svn/yate@5801 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-17 10:27:07 +00:00
oana
dd1431e232
Fixed implementation of Array.splice() and Array.slice() functions.
...
git-svn-id: http://voip.null.ro/svn/yate@5800 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-14 16:08:31 +00:00
paulc
f869586d43
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://voip.null.ro/svn/yate@5799 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-14 14:45:41 +00:00
paulc
8b3c72b516
Fixed a memory leak in JS Array.concat(Array), wrapper object was not destroyed.
...
git-svn-id: http://voip.null.ro/svn/yate@5798 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-14 10:35:29 +00:00
oana
87d7e161ea
Use new JsArray constructor in the implementation of Array methods.
...
git-svn-id: http://voip.null.ro/svn/yate@5797 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-14 10:09:15 +00:00
oana
785ea24117
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://voip.null.ro/svn/yate@5796 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-13 13:10:56 +00:00
oana
6b21aa39a8
Use the proper letter cases for the AudioToolbox framework. Fixes linking issues on Mac OS X case sensitive filesystem.
...
git-svn-id: http://voip.null.ro/svn/yate@5795 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-07 11:43:53 +00:00
marian
d2ce1b028b
Set svn eol property to native.
...
git-svn-id: http://voip.null.ro/svn/yate@5794 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-05 12:53:47 +00:00
oana
851f1a98b1
Fixed documentation comment.
...
git-svn-id: http://voip.null.ro/svn/yate@5793 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-28 11:55:58 +00:00
paulc
31cd2df05e
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://voip.null.ro/svn/yate@5792 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-26 16:45:23 +00:00
paulc
5256f1c92e
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://voip.null.ro/svn/yate@5791 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-26 14:57:57 +00:00
paulc
d94456c115
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://voip.null.ro/svn/yate@5790 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-26 14:51:15 +00:00
paulc
42f71895c5
Added proper constructor for JS Array object.
...
git-svn-id: http://voip.null.ro/svn/yate@5789 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-26 12:25:53 +00:00
paulc
072f8d720c
Correctly parse numbers with sign, in that case sthe sign is not an unary operator.
...
git-svn-id: http://voip.null.ro/svn/yate@5788 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-26 12:25:13 +00:00
paulc
1a3be7c1ee
Properly count signaling objects created by a factory.
...
git-svn-id: http://voip.null.ro/svn/yate@5787 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-24 13:50:58 +00:00
paulc
fddc96792d
Force a counter switch when initializing a plugin so its threads inherit the proper counter.
...
git-svn-id: http://voip.null.ro/svn/yate@5786 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-24 13:40:55 +00:00
paulc
ae7d54cfb4
Properly count objects created in the monitoring alarm hook.
...
git-svn-id: http://voip.null.ro/svn/yate@5785 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-24 12:47:41 +00:00
paulc
5706618b46
Added separate object counter for worker threads.
...
git-svn-id: http://voip.null.ro/svn/yate@5784 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-24 12:46:39 +00:00
marian
bc73d69c1b
Properly skip one UTF-8 instead of C char.
...
git-svn-id: http://voip.null.ro/svn/yate@5783 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-21 13:32:11 +00:00
paulc
dc626bf2e0
Added "meminfo" command in rmanager to display memory allocator stats when mallinfo() is available.
...
git-svn-id: http://voip.null.ro/svn/yate@5782 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-21 09:28:44 +00:00
paulc
5ae6c77efa
Count circuit alocated objects in the plugin creating them.
...
git-svn-id: http://voip.null.ro/svn/yate@5781 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-19 11:43:04 +00:00
paulc
7e7339dea6
Added object counter for main engine thread.
...
Fixed counter allocation reentrancy problem.
git-svn-id: http://voip.null.ro/svn/yate@5780 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-19 11:40:50 +00:00
paulc
44ddd83b8f
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://voip.null.ro/svn/yate@5779 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-18 14:01:57 +00:00
paulc
7b65e9296e
Properly append new row in Array::addRow(), check if entries exist.
...
Fixes bug #110
git-svn-id: http://voip.null.ro/svn/yate@5778 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-13 10:54:00 +00:00