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
paulc
22b648f58b
Workaround for very old init systems that do not define the "warning" function.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5821 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-14 08:49:12 +00:00
paulc
b7d52b62ae
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://yate.null.ro/svn/yate/trunk@5820 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-10 13:05:37 +00:00
oana
0b7aacf102
Added discrimination between boolean and integer values.
...
Return proper results for typeof and toString() calls for boolean values.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5819 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-09 13:52:54 +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
oana
952e3d4a9d
Changed pkg-config detection for OpenSSL support: check only if linker flags are non-empty.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5817 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-07 13:49:39 +00:00
paulc
079333da8b
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://yate.null.ro/svn/yate/trunk@5816 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-04 09:14:04 +00:00
paulc
3e29286042
When building a default SIP domain from local address include port if not 5060.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5815 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-02 11:23:58 +00:00
paulc
7892b8f590
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://yate.null.ro/svn/yate/trunk@5814 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-02 09:56:09 +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
410dd9a8c6
Fixed the type of the result of Array.indexOf(), must be number.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5812 acf43c95-373e-0410-b603-e72c3f656dc1
2014-04-01 13:25:17 +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
paulc
2207398b6c
Fixed base64 line breaking at a length.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5806 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-26 10:05:03 +00:00
marian
50eb96f454
Prepare ougoing xml's buffer before adding it to queue to reduce stream mutex contention.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5805 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-21 09:23:00 +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
6c1f5b7bd1
Bumped version to 5.2.1 devel.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5803 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-17 11:39:19 +00:00
paulc
9a06495a30
Bumped version, 5.2 release.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5801 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-17 10:27:07 +00:00
oana
63a85d3bf2
Fixed implementation of Array.splice() and Array.slice() functions.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5800 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-14 16:08:31 +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
paulc
fca0d0f1d9
Fixed a memory leak in JS Array.concat(Array), wrapper object was not destroyed.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5798 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-14 10:35:29 +00:00
oana
3f359c0a11
Use new JsArray constructor in the implementation of Array methods.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5797 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-14 10:09:15 +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
marian
3d904f9579
Set svn eol property to native.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5794 acf43c95-373e-0410-b603-e72c3f656dc1
2014-03-05 12:53:47 +00:00
oana
3144b3563f
Fixed documentation comment.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5793 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-28 11:55:58 +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
b0b2021a27
Added proper constructor for JS Array object.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5789 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-26 12:25:53 +00:00
paulc
3669db3d7b
Correctly parse numbers with sign, in that case sthe sign is not an unary operator.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5788 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-26 12:25:13 +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
63bd81f41e
Force a counter switch when initializing a plugin so its threads inherit the proper counter.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5786 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-24 13:40:55 +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
ed9f8d7707
Added separate object counter for worker threads.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5784 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-24 12:46:39 +00:00
marian
6565a427ff
Properly skip one UTF-8 instead of C char.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5783 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-21 13:32:11 +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
11a07cc613
Added object counter for main engine thread.
...
Fixed counter allocation reentrancy problem.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5780 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-19 11:40:50 +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
3de7a9b86d
Properly append new row in Array::addRow(), check if entries exist.
...
Fixes bug #110
git-svn-id: http://yate.null.ro/svn/yate/trunk@5778 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-13 10:54:00 +00:00
paulc
6be6a2385f
Enable the Eliza chat bot in rmanager in the sample Javascript config file.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5777 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-12 13:02:49 +00:00
paulc
2168f4286d
Bumped version to 5.1.1 devel.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5776 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-11 14:36:17 +00:00
paulc
828f83b604
Bumped revision in Windows.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5774 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-11 12:45:40 +00:00
paulc
ebd530e42d
Check if parameters are defined instead of interpreting as booleans.
...
Fixes bug #359 "Yate.pm removes '0' values from all (even not handled) messages".
Patch by Vasily i. Redkin <vir@ctm.ru>
git-svn-id: http://yate.null.ro/svn/yate/trunk@5773 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-11 12:43:20 +00:00
paulc
480c8d88c9
Added back install of Yate.pm accidentally removed by Rev 5771.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5772 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-11 12:34:17 +00:00
paulc
fc6d082bd4
Echo.sh needs to be executable.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5771 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-10 16:55:59 +00:00