paulc
bef3f229d0
Added hashing support for MimeSdpBody.
...
Speed up MimeSdpBody::addLine() and made it return the added line.
git-svn-id: http://voip.null.ro/svn/yate@5860 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-02 07:34:19 +00:00
paulc
3f68863afd
Made static String::hash() capable of incremental hashing.
...
git-svn-id: http://voip.null.ro/svn/yate@5859 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-02 07:30:37 +00:00
paulc
a3c3a9be77
Fixed cleanup for TCP connections where same stream is used for In and Out.
...
git-svn-id: http://voip.null.ro/svn/yate@5858 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-30 16:07:15 +00:00
paulc
d7d4f7a20d
Fixed assignment operation changed in Rev. 5856.
...
Report the ExpOperation types in Engine.print_r().
git-svn-id: http://voip.null.ro/svn/yate@5857 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-25 16:04:00 +00:00
oana
c07e3cc6f3
Fix loss of boolean type information through assignment due to changes in commit 5854.
...
Do proper cloning on ExpOperation when resolving fields and do proper detection for number conversion on boolean values.
git-svn-id: http://voip.null.ro/svn/yate@5856 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-25 14:09:32 +00:00
paulc
06353655f8
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://voip.null.ro/svn/yate@5855 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-25 12:27:56 +00:00
oana
48c3ed7154
Do proper number conversion for arithmetic operations.
...
git-svn-id: http://voip.null.ro/svn/yate@5854 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-24 13:36:53 +00:00
paulc
a92946bf0e
Use AC_TRY_LINK to check if the PostgreSQL library is linkable.
...
git-svn-id: http://voip.null.ro/svn/yate@5853 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-24 12:35:11 +00:00
paulc
200931fdfb
Use dpkg-architecture to find multiarch directory name on Debian.
...
git-svn-id: http://voip.null.ro/svn/yate@5852 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-24 12:33:33 +00:00
paulc
d9e8231ae8
Fixed build on 32 bit systems.
...
git-svn-id: http://voip.null.ro/svn/yate@5851 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-23 10:39:35 +00:00
paulc
73a49d139f
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://voip.null.ro/svn/yate@5850 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-23 10:18:21 +00:00
oana
3cafeac432
Bug fix: do proper resolving for null object in object and array initializers.
...
Do not copy the singleton null object, provide a clone instead.
While doing object parameter resolving, do not alter prototypes for frozen objects.
git-svn-id: http://voip.null.ro/svn/yate@5849 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-20 11:27:12 +00:00
paulc
eef0e0f798
Minor typo fix.
...
git-svn-id: http://voip.null.ro/svn/yate@5848 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-18 13:27:27 +00:00
paulc
bde1fa8e54
Added coders for GSM L3 Handover Complete and Handover Failure.
...
git-svn-id: http://voip.null.ro/svn/yate@5847 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-18 08:41:35 +00:00
paulc
303e9abc0e
Allow retrieving and setting more SIP dialog components.
...
git-svn-id: http://voip.null.ro/svn/yate@5846 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-18 08:38:30 +00:00
marian
cfa8ec23c8
Fixed bug: set request uri from connection uri if none given when sending a method.
...
git-svn-id: http://voip.null.ro/svn/yate@5845 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-17 11:52:07 +00:00
paulc
8dd206b9a2
Allow controlling the number of (re)transmission per SIP transaction.
...
git-svn-id: http://voip.null.ro/svn/yate@5844 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-12 09:50:50 +00:00
marian
39cd37a17e
Use a boolean parameter to indicate hexified data in Hasher update and hmac methods.
...
git-svn-id: http://voip.null.ro/svn/yate@5843 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-11 12:59:46 +00:00
marian
2c49317fd0
Added Hasher object exposing Engine Hasher class methods.
...
git-svn-id: http://voip.null.ro/svn/yate@5842 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-11 12:18:01 +00:00
paulc
ecf3477dcb
Generate monotonic per-dialog Command Sequence numbers (CSeq) derived from the global sequence.
...
git-svn-id: http://voip.null.ro/svn/yate@5841 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-11 12:02:40 +00:00
paulc
2d0a99ccb5
Ignore final commas in Array and Object initializers.
...
Handle successive commas in Array initializers by inserting undefined.
git-svn-id: http://voip.null.ro/svn/yate@5840 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-11 10:39:34 +00:00
paulc
a926551c36
Added missing apostrophe in sample user.register query.
...
git-svn-id: http://voip.null.ro/svn/yate@5839 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-10 09:01:03 +00:00
oana
a290f37b09
Replaced commentary with a shorter version.
...
git-svn-id: http://voip.null.ro/svn/yate@5838 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-06 15:02:56 +00:00
oana
6338b40148
Bug fix: avoid returning arbitrary values for functions that have no return value. Return undefined instead.
...
git-svn-id: http://voip.null.ro/svn/yate@5837 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-06 11:57:05 +00:00
marian
9bca484b24
Unlock driver before hangup to avoid deadlock when disconnecting the channel.
...
git-svn-id: http://voip.null.ro/svn/yate@5836 acf43c95-373e-0410-b603-e72c3f656dc1
2014-06-04 08:31:29 +00:00
oana
0cda06eedc
Leave Javascript array data untouched if sorting fails. Slightly optimized the native sort procedure for Javascript array.
...
git-svn-id: http://voip.null.ro/svn/yate@5835 acf43c95-373e-0410-b603-e72c3f656dc1
2014-05-19 15:01:29 +00:00
oana
509ea7fc7b
Bug fix: keep the ObjList autodelete flag when doing ObjList::sort().
...
git-svn-id: http://voip.null.ro/svn/yate@5834 acf43c95-373e-0410-b603-e72c3f656dc1
2014-05-19 14:34:42 +00:00
oana
9d6f42d95b
Bug fix: check that we extract a valid pointer from the stack when running the compare function for Array.sort().
...
This avoids segmentation faults caused by a callback compare function for Array.sort() which doesn't return anything. Instead, signal a runtime error.
git-svn-id: http://voip.null.ro/svn/yate@5833 acf43c95-373e-0410-b603-e72c3f656dc1
2014-05-16 10:40:56 +00:00
marian
254209f3c1
Disable yiaxchan.yate module load in yate-qt4.conf file. Dispatch an engine.command message to load it when making a call using iax or enabling an iax account.
...
git-svn-id: http://voip.null.ro/svn/yate@5832 acf43c95-373e-0410-b603-e72c3f656dc1
2014-05-15 07:35:33 +00:00
marian
e32ebe0ae2
Return null object from XML constructor if parse fails.
...
git-svn-id: http://voip.null.ro/svn/yate@5831 acf43c95-373e-0410-b603-e72c3f656dc1
2014-05-14 09:06:36 +00:00
marian
45b6321104
Added parser method used to obtain a 'null' object reference.
...
git-svn-id: http://voip.null.ro/svn/yate@5830 acf43c95-373e-0410-b603-e72c3f656dc1
2014-05-14 09:05:33 +00:00
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