Commit Graph

2815 Commits

Author SHA1 Message Date
paulc 400653ffc0 Key ^O provides handy cycling of output and debug modes in rmanager.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2826 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-07 22:15:42 +00:00
paulc 1992d83a3c Print the count of forcibly finalized records before doing it as it may take a long time to complete.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2825 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-07 21:22:33 +00:00
paulc 4f0c854312 Use the newly added SIPDialog methods.
Identify the dialogs RFC 3261 style (only by Call-ID, From-tag, To-tag) ignoring the From-URI and To-URI.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2824 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-06 15:00:22 +00:00
paulc 7ba9fb751c Fixed documentation generating comments for SIP classes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2823 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-06 14:58:18 +00:00
paulc 9fa5281f19 Added new methods to SIPDialog to compare only callid and tags (RFC 3261) and to retrieve the From and To URI or tags depending on direction.
Documented members of SIPDialog.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2822 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-06 14:50:36 +00:00
oana 237a6d136f MySQL connection pool implemented per database account. The "database" message parameter "results" has changed its meaning. For this, please check documentation.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2821 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-03 14:58:57 +00:00
paulc 7fae35c2e8 Added handy PlayDTMF method and table operation n IVR library.
Added example of use of dtmf operation in a IVR sample.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2820 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-02 14:18:58 +00:00
paulc 19b55b1c37 Try to find Fedora-style moc-qt4 in PATH before falling back to moc.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2819 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-01 17:21:13 +00:00
paulc 22cf311a50 Fixed a few bugs introduced by Rev. 2805: Clear the data endpoints when the transport info changes, use the proper default audio formats when none specified.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2818 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-01 15:18:21 +00:00
paulc eeafea378b Prevent the escaping of user-unreserved characters (RFC 3261 25.1 Page 222) when building the user part of SIP From and Contact.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2817 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-01 14:42:28 +00:00
paulc 655783fb6b String::uriEscape() takes an extra optional parameter with characters that should not be escaped, for specific cases when a protocol makes some characters unreserved.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2816 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-01 14:32:00 +00:00
paulc 2f23277a38 Added missing documentation generating comment for a parameter.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2815 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-01 10:12:43 +00:00
andrei 46e4363b26 Appended configuration parameters when building SignallingCircuitSpan
git-svn-id: http://yate.null.ro/svn/yate/trunk@2814 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-01 08:34:14 +00:00
paulc c7278f4eb4 Merge the parent provided parameters to the config file section.
Display parameters used to create the SLT if compiled in DEBUG mode.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2813 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-31 14:44:39 +00:00
paulc 5d8ff98ac0 Copy configuration subparameters to the child components.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2812 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-31 14:43:22 +00:00
paulc bdbbbc5076 Added NamedList constructor and method to copy subparameters from another list.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2811 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-31 13:36:37 +00:00
paulc 6738d7bce0 Added configuration parameter "autostart" so MTP2, MTP3 and Cisco SLT may be inhibited at startup.
Fixed the way Cisco SLT notifies the MTP3 about alignment status changes.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2810 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-26 15:58:50 +00:00
andrei 67c8395ce6 Used Socket::invalidHandle() in tdm device constructor
git-svn-id: http://yate.null.ro/svn/yate/trunk@2809 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-26 10:45:38 +00:00
andrei 7a988e6955 Fixed bug: close tdm device when destroyed. Use Socket::invalidHandle() for invalid device handle. Changed debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2808 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-26 09:35:32 +00:00
paulc ed4762b3f7 Fixed the component name matching in control operations.
Implemented control of MTP3 with notification to Layer 4 about operational changes caused by management inhibiting.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2807 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-25 21:07:34 +00:00
paulc a695b1e0e8 Added the new libysdp to Visual Studio build.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2806 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-24 14:06:42 +00:00
paulc 063f155ef1 Use the new SDP library in SIP and MGCP.
The PSTN channel can negotiate RTP forwarding if the circuits are terminated on a MGCP gateway.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2805 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-24 12:09:34 +00:00
paulc 3d1283260e Added separate library for interpreting lines of a SDP.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2804 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-24 11:58:41 +00:00
paulc c41229b2a4 Circuit parameters can be set from a NamedList attached to the "circuit_parameters" parameter.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2803 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-24 11:56:27 +00:00
paulc 192bb438fe Added methods to get a boolean or integer parameter of a circuit.
Added const method to get a const span from a circuit.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2802 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-24 11:54:54 +00:00
paulc 11e9fe6e76 Added a method to retrieve a desired body type from a possibly multipart MIME body.
Fixed spelling of "retrieve" in several places.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2801 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-23 19:48:17 +00:00
paulc d183c3cea2 Create and populate the call.preroute message in the call constructor, use saved message to start routing.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2800 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-20 14:25:24 +00:00
paulc efad31061c Copy the packet data and append extra zeros for CRC before sending to Zaptel.
Altering a const buffer is a serious violation of the calling convention.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2799 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-20 12:40:58 +00:00
paulc 5e9911c6e6 For debugging purposes added a count of threads trying to lock a mutex, display number of waiting threads in failure messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2798 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-19 16:27:48 +00:00
paulc a2881258bc Once a thread was started for an external module let it do the destruction in its cleanup, only unuse() if thread failed to start.
Bug report and solution by Allan.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2797 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-19 13:55:22 +00:00
paulc 16c5905559 Fixed the reference counting of Semaphore internal implementation.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2796 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-18 15:32:06 +00:00
paulc 05ef31e6b7 Added parameter "queuetime" for the CDR builder to know how long a call waited in a queue.
All calls in a queue can be dropped by specifying queuename/* as id.
A call to a "single" type queue is dropped when its operator call fails.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2795 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-18 14:55:25 +00:00
paulc 6fafa9bf1e Fixed the way the remote MTP2 is disconnected.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2794 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-14 18:15:04 +00:00
paulc b0c5266bd6 Added new setting "prerouteall" to bypass context and caller check.
Documented the other global settings in section [priorities].


git-svn-id: http://yate.null.ro/svn/yate/trunk@2793 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-14 16:27:46 +00:00
paulc 88543f0ef0 Process a 2xx answer to a forked SIP call after changing the disalog tag to match.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2792 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-14 12:52:40 +00:00
paulc a2835ec68d Added separate method to actually process a SIP message after identifying its transaction.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2791 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-14 12:51:05 +00:00
paulc df88815dfe Transmit the internally generated 408 answer, prevent the stack from immediately cleaning up the transaction.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2790 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-14 11:34:04 +00:00
paulc 44056a68db Copy the "maxlen" and "notify" parameters to the conference recording call leg.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2789 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-13 11:57:24 +00:00
paulc 8020ea08ab In the outbound SIP call legs put the generated Call-ID in chan.startup to be available for CDR building.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2788 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-13 11:39:44 +00:00
paulc 800c9fd8b2 When masquerading a call.answered message change the status but don't call status() that would set the isAnswered() flag and prevent a call.answered in the other direction from working.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2787 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-12 15:31:05 +00:00
paulc e9aafe7511 Added code and setting to prevent rebuilding the RTP when only the remote port has changed in the SDP offer.
This can prevent a neverending sequence of reINVITEs, each end trying to adjust to the changes of the other.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2786 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-12 15:18:36 +00:00
paulc 3a5ce90b25 Remember the WaveConsumer that must be disconnected, remove it from the proper consumer, call record or peer record.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2785 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-12 14:09:32 +00:00
paulc b25e9349fd Fixed entering the proving period.
Fixed synchronization of FIB.
Added a T2 timer - just a mild warning, Yate keeps trying.
Added several abnormality generation controls for making tests.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2784 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-11 21:57:56 +00:00
paulc e8647298c3 Fixed the location where the User Part type and cause are written in an UPU.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2783 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-11 15:45:48 +00:00
paulc e65e785b74 The rmanager control message can have an arbitrary number of parameters.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2782 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-11 14:29:07 +00:00
paulc d140bd069d Improved RUDP debugging messages to include controlling session name.
The default RUDP sequence number is now random.
Preliminary support for RUDP v1 and version guessing from SYN length.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2781 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-11 13:46:05 +00:00
paulc aefe3765e9 Added methods to get and set at once multiple parameters of a circuit.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2780 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-07 09:46:55 +00:00
paulc de014141dd Detect EOF condition on socket.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2779 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-03 10:26:42 +00:00
paulc 935d62a35d Fixed Socket::canRetry() on Windows.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2778 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-03 10:26:02 +00:00
paulc b9a7958137 Create PDB for debug versions of dynamic libraries.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2777 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-03 10:25:01 +00:00