Commit Graph

1232 Commits

Author SHA1 Message Date
oana 74aca45854 Added GSM library.
Work in progress on adding Radio Layer 3 message decoders.



git-svn-id: http://voip.null.ro/svn/yate@5692 acf43c95-373e-0410-b603-e72c3f656dc1
2013-12-13 11:27:09 +00:00
marian e6b54d1e4a Fixed debug message.
git-svn-id: http://voip.null.ro/svn/yate@5690 acf43c95-373e-0410-b603-e72c3f656dc1
2013-11-27 14:00:21 +00:00
marian 5878e5b393 Added SIP IPv6 support.
git-svn-id: http://voip.null.ro/svn/yate@5673 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-18 18:30:41 +00:00
marian a308bc5fe5 Handle and set IPv6 addresses in SDP.
git-svn-id: http://voip.null.ro/svn/yate@5672 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-18 18:27:45 +00:00
marian cae104a676 Set scope id when changing rtp addresses to avoid comparison mismatch.
git-svn-id: http://voip.null.ro/svn/yate@5671 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-18 18:22:32 +00:00
marian 69a4fcca27 Added configurable option to disable rtp receiving invalid sequence warn and put a message at level 9 instead.
git-svn-id: http://voip.null.ro/svn/yate@5665 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-10 14:38:42 +00:00
andrei 153334dac8 Fixed un-escape for hex escaped characters.
git-svn-id: http://voip.null.ro/svn/yate@5664 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-10 14:07:56 +00:00
oana c1dcd17eea Bug fix: report parser error when parsing expressions like 'a.' (parsing of field operator without subsequent field name).
Also do not parse fields that do not start with a letter or characters '_'/'$'.



git-svn-id: http://voip.null.ro/svn/yate@5655 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-17 14:34:43 +00:00
marian 0754464000 Fixed bug: freeze sdp session origin address to avoid changing it.
git-svn-id: http://voip.null.ro/svn/yate@5654 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-17 14:17:49 +00:00
paulc 6b39df879d Set the proper current file name when starting to parse a JS file.
Changed a local variable name to avoid hiding a method with same name.


git-svn-id: http://voip.null.ro/svn/yate@5653 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-16 12:55:49 +00:00
oana e51f1d750f Added setText() and setAttributes() functions to XmlElement class.
setText() allows replacing the text of an XmlElement.
setAttributes() allows setting multiple attributes from a NamedList.



git-svn-id: http://voip.null.ro/svn/yate@5650 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-12 08:40:58 +00:00
oana 92a4e809c3 Do not stop resolving a variable until all variable fields have been resolved.
Resolving a variable now returns a container and the rest of fields that are to be applied onto the container. There is one exception to this and that is when a variable was resolved to a string and the last field to be applied is a native string/number field or function.



git-svn-id: http://voip.null.ro/svn/yate@5643 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-10 14:19:05 +00:00
oana 50693ae1cf Fixed compile warnings which appear when compiling with xdebug.
git-svn-id: http://voip.null.ro/svn/yate@5642 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-09 15:26:27 +00:00
marian 647898bf96 Added extra method parameter to allow empty address when creating passtrough sdp, updating sdp and fill rtp params.
git-svn-id: http://voip.null.ro/svn/yate@5637 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-30 15:00:12 +00:00
paulc 2fa3d308ae Allow loading up to 256KB of script.
git-svn-id: http://voip.null.ro/svn/yate@5636 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-30 14:58:25 +00:00
paulc edf693636c Removed a leftover debug message.
git-svn-id: http://voip.null.ro/svn/yate@5635 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-30 12:55:40 +00:00
paulc 81c120bcb7 Fixed some of the cases related to script change detection.
git-svn-id: http://voip.null.ro/svn/yate@5634 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-30 12:53:24 +00:00
paulc cad5b5eb13 Properly dump 64 bit JS values for debugging and tracing.
Made possible to dump the linked code for debugging purpose.
Exposed accessors for more properties.


git-svn-id: http://voip.null.ro/svn/yate@5633 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-30 10:58:23 +00:00
paulc e3592f8081 Expose the sqlEscape() method to Javascript.
git-svn-id: http://voip.null.ro/svn/yate@5632 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-28 13:39:31 +00:00
paulc 0b869b4437 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://voip.null.ro/svn/yate@5631 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-28 13:19:42 +00:00
marian 0c666f5f97 Fixed bug: properly convert pointers.
git-svn-id: http://voip.null.ro/svn/yate@5628 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-22 08:52:09 +00:00
paulc a16ea4be17 Constified XmlElement::getText()
git-svn-id: http://voip.null.ro/svn/yate@5625 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-14 13:33:43 +00:00
paulc 153be3b967 Return string by reference instead of value from ASN.1 library.
Improves performance of SNMP queries.


git-svn-id: http://voip.null.ro/svn/yate@5623 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-14 08:38:40 +00:00
paulc c572fbbce3 Fixed warnings - mostly conversions - exposed by Visual C++ compiler.
git-svn-id: http://voip.null.ro/svn/yate@5614 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-07 11:24:10 +00:00
paulc 751937b0ec More fixes related to 32 and 64 bit types usage in JS.
git-svn-id: http://voip.null.ro/svn/yate@5613 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-07 10:18:23 +00:00
paulc e498bdc20f Fixed 64 bit types usage in Javascript, was broken on 32 bit machines.
git-svn-id: http://voip.null.ro/svn/yate@5612 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-07 09:49:52 +00:00
paulc 86ef36ca7f Separated 32 and 64 bit constructors and assignments for String.
git-svn-id: http://voip.null.ro/svn/yate@5611 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 15:42:44 +00:00
paulc 18e10bfd69 Changed license terms in each source file to reference an external file.
git-svn-id: http://voip.null.ro/svn/yate@5609 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 13:38:10 +00:00
marian 51406e17e2 Notify SDPSession descendents before dispatching chan.rtp. Improved debug.
git-svn-id: http://voip.null.ro/svn/yate@5607 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 08:35:00 +00:00
marian c9257c678e Propagate non-retryable send errors to transaction. Terminate outgoing transactions in Trying state if first send attempt failed. Reset failed message party otherwise.
git-svn-id: http://voip.null.ro/svn/yate@5599 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-02 10:01:39 +00:00
paulc a19f534767 Added unHexify version that automatically detects separator presence.
git-svn-id: http://voip.null.ro/svn/yate@5596 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-01 14:52:52 +00:00
marian 73a20bf4d4 Warn if failed to send RTP/RTCP data.
git-svn-id: http://voip.null.ro/svn/yate@5595 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-01 13:44:59 +00:00
oana f132e90ed2 Improved speed of appending parsed operator codes to the operator codes list.
git-svn-id: http://voip.null.ro/svn/yate@5593 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-01 07:34:21 +00:00
paulc ebbdc98816 Ignore To tags in 100 answers, they are not supposed to establish a dialog.
git-svn-id: http://voip.null.ro/svn/yate@5587 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-18 12:55:01 +00:00
oana 1c5160f54d Resolve fields on expressions/non-objects also.
git-svn-id: http://voip.null.ro/svn/yate@5586 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-17 14:47:33 +00:00
oana 53834559a2 Fix Array.pop() implementation in order to properly return objects.
Also, when building constant objects or array, set their name according to internal convention.



git-svn-id: http://voip.null.ro/svn/yate@5585 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-17 11:02:25 +00:00
oana 91a8e2e62d Bug fix: don't allow enumeration of the length property in Array.
Properly handle assignments to the Array.length property: if set to a value smaller than the previous length value, destroy all objects found at indexes greater than length.



git-svn-id: http://voip.null.ro/svn/yate@5584 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-16 13:47:17 +00:00
oana 20ed4703b8 Fixed constructors for constant objects and arrays, avoid enumeration of prototype methods.
git-svn-id: http://voip.null.ro/svn/yate@5581 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-15 11:26:02 +00:00
oana e0eb48805e Also update array length when assigning values through the array subscript operator.
git-svn-id: http://voip.null.ro/svn/yate@5580 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-11 13:25:09 +00:00
marian 81a49d562b Fixed bug: the 'mode' attribute of ilbc payload overrides the 'ptime' SDP line.
git-svn-id: http://voip.null.ro/svn/yate@5576 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-09 09:40:06 +00:00
paulc 22dcf9f53e Use Alarm() in places that could prevent normal operation.
This allows sending SNMP traps when parts of the service become non-operational.


git-svn-id: http://voip.null.ro/svn/yate@5569 acf43c95-373e-0410-b603-e72c3f656dc1
2013-07-08 12:21:26 +00:00
marian a222834104 Added support to negotiate gsm half rate on iax.
git-svn-id: http://voip.null.ro/svn/yate@5554 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-25 13:21:29 +00:00
marian 035e118599 Fixed bug: avoid rejecting a call when a full Voice frame is received before processing Accept.
git-svn-id: http://voip.null.ro/svn/yate@5551 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-24 09:13:17 +00:00
marian 3d86aa22d7 Added support for multiple iax listeners.
git-svn-id: http://voip.null.ro/svn/yate@5550 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-20 13:50:39 +00:00
marian 1135306cda Fixed race condition when (re)setting connection transaction pointer.
git-svn-id: http://voip.null.ro/svn/yate@5546 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-14 14:54:22 +00:00
marian dcada3a196 Added option to use efficient trunking: a transaction can now send trunking data only if the number of calls using the trunk is greater then 1.
git-svn-id: http://voip.null.ro/svn/yate@5544 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-14 12:31:31 +00:00
oana edd8dc5642 Bug fix: when encoding a long ASN.1 tag, insert it at the beginning of the payload, not at the end.
git-svn-id: http://voip.null.ro/svn/yate@5543 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-13 13:59:33 +00:00
marian 38225640c2 Allow trunking parameters set in 'user.login' to override configured. Allow trunking out to be enabled in 'user.login'.
git-svn-id: http://voip.null.ro/svn/yate@5542 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-13 10:28:53 +00:00
marian f40f6abec0 Made sent challenge timeout interval configurable. Improved debug.
git-svn-id: http://voip.null.ro/svn/yate@5540 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-12 13:47:13 +00:00
marian eade500180 Fixed transaction timeout when waiting for terminate. improved debug.
git-svn-id: http://voip.null.ro/svn/yate@5539 acf43c95-373e-0410-b603-e72c3f656dc1
2013-06-12 12:17:20 +00:00