Commit graph

5389 commits

Author SHA1 Message Date
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
aeea2a300f Added IPv6 support to rtp channel.
git-svn-id: http://voip.null.ro/svn/yate@5670 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-18 18:20:16 +00:00
marian
51736b46b7 Ignore selected account and protocol when called target contains '/'. Ignore selected account if called target contains '@' or ':'.
git-svn-id: http://voip.null.ro/svn/yate@5669 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-18 15:14:33 +00:00
marian
2de3403cc9 Fixed bug: lock mutex to reset media when processing received BYE.
git-svn-id: http://voip.null.ro/svn/yate@5668 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-17 14:23:55 +00:00
marian
77246079a6 Ignore new data payload notification if the receiver is not initialized.
git-svn-id: http://voip.null.ro/svn/yate@5667 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-17 07:57:48 +00:00
marian
18ae05c63c 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://voip.null.ro/svn/yate@5666 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-11 12:46:20 +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
marian
5d0f4b7135 Always set cause_sip and reason_sip in channel params when processing the sip transaction.
git-svn-id: http://voip.null.ro/svn/yate@5663 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-10 13:18:21 +00:00
marian
fe3c451069 Added extra config and message parameter used to start CDR ring timer when processing a call.progress message.
git-svn-id: http://voip.null.ro/svn/yate@5662 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-10 12:03:38 +00:00
marian
4fc6666d9a Add call to history even if caller party number is empty.
git-svn-id: http://voip.null.ro/svn/yate@5661 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-08 09:21:57 +00:00
paulc
2056cf9469 Properly set DSCP on IPv6 sockets.
git-svn-id: http://voip.null.ro/svn/yate@5660 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-06 18:27:48 +00:00
paulc
0bd11fd838 Added support in Socket and RTP module for setting IP QoS by DSCP keywords.
git-svn-id: http://voip.null.ro/svn/yate@5659 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-03 16:18:41 +00:00
marian
f7ce4a9803 Added extra parameter to NamedList::copySubParams() used when wanting to replace existing parameters instead of adding a new one.
git-svn-id: http://voip.null.ro/svn/yate@5658 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-03 12:42:20 +00:00
marian
135f3c1a6c Added methods used to fill a binary IP address buffer from stringified address.
git-svn-id: http://voip.null.ro/svn/yate@5657 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-01 13:15:30 +00:00
marian
bb49512cd1 Added IPv6 support to SocketAddr and Socket classes.
git-svn-id: http://voip.null.ro/svn/yate@5656 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-30 13:15:59 +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
marian
7b3e7f6c2e Added Hasher.cpp and YSHA256.cpp to Windows build.
git-svn-id: http://voip.null.ro/svn/yate@5652 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-13 13:04:44 +00:00
paulc
18b6c0041d 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://voip.null.ro/svn/yate@5651 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-13 12:43:20 +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
paulc
959dafed80 Prevent the monitoring module from handling all monitor.query at priority 100.
git-svn-id: http://voip.null.ro/svn/yate@5649 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-11 13:01:44 +00:00
paulc
90112ddece Use returned string of monitor.query message if "value" parameter is not set.
Removed an unnecessary string copy.


git-svn-id: http://voip.null.ro/svn/yate@5648 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-11 12:57:08 +00:00
paulc
15908020fd Added a revision to the Windows build.
git-svn-id: http://voip.null.ro/svn/yate@5647 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-11 11:58:01 +00:00
paulc
4bf815b7bd Use the proper method to clear saved media parameters.
git-svn-id: http://voip.null.ro/svn/yate@5646 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-11 11:55:50 +00:00
paulc
89bf29db01 Attempt to revert to previous media if our reINVITE was refused.
git-svn-id: http://voip.null.ro/svn/yate@5645 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-11 11:48:41 +00:00
paulc
0cd904b3d0 Check if the file exists before trying to send a fax.
git-svn-id: http://voip.null.ro/svn/yate@5644 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-11 11:46:51 +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
paulc
c9d215e1dd Handle the "control" command in engine like rmanager does.
This allows other modules to easily perform control operations.


git-svn-id: http://voip.null.ro/svn/yate@5641 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-06 11:07:39 +00:00
paulc
7282f18730 Provide a mapping for SIP 488 code so it propagates correctly.
git-svn-id: http://voip.null.ro/svn/yate@5640 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-03 16:21:23 +00:00
paulc
da947b7370 Make the SVN revision accessible to engine, rmanager, SNMP.
git-svn-id: http://voip.null.ro/svn/yate@5639 acf43c95-373e-0410-b603-e72c3f656dc1
2013-09-03 16:10:18 +00:00
marian
7714eb89e0 Fixed bug: allow empty address (hold) when handling re-invite with rtp forward.
git-svn-id: http://voip.null.ro/svn/yate@5638 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-30 15:01:45 +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
paulc
ffa216965e SQL escape single quote by doubling it instead of preceding with backslash.
git-svn-id: http://voip.null.ro/svn/yate@5630 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-27 19:31:18 +00:00
paulc
bbb4fccc91 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://voip.null.ro/svn/yate@5629 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-23 11:52:11 +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
b23d7782cc 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://voip.null.ro/svn/yate@5627 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-19 13:53:54 +00:00
paulc
1887cf6a0e Make the H.323 channel abort immediately on assertion failure.
The undesired default behavior is to interactively ask what to do.


git-svn-id: http://voip.null.ro/svn/yate@5626 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-19 13:16:29 +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
35345b0104 Fixed SNMP Counter64 implementation.
git-svn-id: http://voip.null.ro/svn/yate@5624 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-14 08:39:08 +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