Commit Graph

5400 Commits

Author SHA1 Message Date
andrei 62ac9491ca Updated TDM driver to work with wanpipe 7.0.5.
git-svn-id: http://voip.null.ro/svn/yate@5684 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-30 08:43:17 +00:00
oana 2c9b0b6bfc Added ObjList::setUnique() to uniquely set an object in the list. If the object is not already present in the list, it appends it to the list.
Inlined NamedList::setParam(NamedString*) which now uses ObjList::setUnique().
Only iterate once over parameter list when trying to set a parameter in a NamedList with name and value.



git-svn-id: http://voip.null.ro/svn/yate@5683 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-29 12:04:03 +00:00
paulc e9ee659b75 Changed icon images depth to 24 bits so they don't look jagged when resized.
git-svn-id: http://voip.null.ro/svn/yate@5682 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-25 08:23:52 +00:00
marian e93f346209 Safely set and use the reason string.
git-svn-id: http://voip.null.ro/svn/yate@5681 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-22 09:01:57 +00:00
marian 7cacd6fd74 Safely reset media in hangup.
git-svn-id: http://voip.null.ro/svn/yate@5680 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-22 08:13:00 +00:00
marian 666807f64c Avoid race while processing secondary transaction events.
git-svn-id: http://voip.null.ro/svn/yate@5679 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-22 08:04:22 +00:00
paulc 599c5057e1 Bumped version to 5.0.1 development.
git-svn-id: http://voip.null.ro/svn/yate@5678 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-20 19:06:38 +00:00
paulc 4b57a8d1c8 Bumped version to 5.0.0 release.
git-svn-id: http://voip.null.ro/svn/yate@5676 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-20 18:24:41 +00:00
paulc 5824496d61 Added larger size images in icon.
git-svn-id: http://voip.null.ro/svn/yate@5675 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-20 17:51:46 +00:00
paulc b093c6f71e Fixed some Windows build dependencies and packaging problems.
git-svn-id: http://voip.null.ro/svn/yate@5674 acf43c95-373e-0410-b603-e72c3f656dc1
2013-10-19 18:24:36 +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 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