Commit Graph

2698 Commits

Author SHA1 Message Date
paulc fe9c1c1c98 Added a ClientProxy engine run mode for clients with no local UI.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2759 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-14 15:49:20 +00:00
paulc b4d67b1951 Backstep when a jump is needed in the handler list since the scanning loop will move to the next handler.
Should fix some hard to explain missed handler calls.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2758 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-14 13:33:02 +00:00
maciej b439bf13ba utils.outgoing result changed
git-svn-id: http://yate.null.ro/svn/yate/trunk@2757 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-13 17:02:55 +00:00
marian 81a65e0524 Disconnect the channel held by a client sound when stop is requested.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2756 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-13 13:12:49 +00:00
paulc 259f204d39 Set the thread name when running under windbg or Visual Studio debugger.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2755 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-09 15:34:54 +00:00
marian 4850f9077d The file transfer data source is now handling incomplete data forward.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2754 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-09 14:37:03 +00:00
marian 13b7fcbb27 Added flag used to inhibit repeating non fatal socket send error debug message. Use Thread::errorString() instead of strerror().
git-svn-id: http://yate.null.ro/svn/yate/trunk@2753 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-09 13:17:08 +00:00
marian 7c44035dfc Fixed target and parameters detection when parsing a command execute line. Fixed config param name.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2752 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-09 08:40:36 +00:00
marian d1ac03c5f7 The SOCKS consumer is now returning the number of sent bytes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2751 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-08 11:46:44 +00:00
paulc 0fa67c2703 Separated repeated tones from one-shots that can only be used in a TempSource.
Added a tone/callwaiting (tone/cw) one-shot tone.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2750 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-07 15:31:30 +00:00
paulc aae55c9a65 Obey expires interval enforced by the SIP registrar.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2749 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-07 10:29:32 +00:00
marian 402fbf2d1f Drop driver lock before displaying the media set failure message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2748 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-07 07:17:11 +00:00
marian 3db701bda5 Fixed id match when handling offline contacts.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2747 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-07 07:09:14 +00:00
marian b39261de15 Make sure the id contains the endpoint's port before searching for a circuit.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2746 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-03 14:02:31 +00:00
paulc 8520218d2d Added flags to data forwarded through DataNodes.
The amount of consumed data is returned to the source.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2745 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-02 09:24:33 +00:00
marian db25093aa1 Added 'contact' and 'instance' parameters to enqueued msg.execute messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2744 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-30 14:16:21 +00:00
marian a1bb51dc49 Fixed default logic resource.notify and resource.subscribe handlers: look for 'contact' and 'instance' parameters.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2743 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-30 13:41:29 +00:00
marian d1c0316a19 Add module name to enqueued user.notify messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2742 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-29 09:08:00 +00:00
marian 4b13584816 Always add a 'contact' parameter containing the sender's bare jid to enqueued resource.notify messages. Add a 'roster'='true' to resource.notify messages sent for roster changes and an 'instance' one containing the resource for presence messages. Look for 'contact' and 'instance' parameters when handling resource.notify messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2741 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-29 09:06:16 +00:00
paulc 70445d56b6 New parameter "rtp_localip" overrides configured local RTP address for outbound SIP call legs.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2740 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-26 15:33:22 +00:00
paulc 20710f4fa9 Decode generically known but unhandled ISUP messages that have only optional parameters.
Build a list of unhandled message parameters.
Decode MCID request and response parameter flags.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2739 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-26 14:40:10 +00:00
paulc a0821950c3 Added "address" and "version" settings so MGCP can become operational even if no RSIP is received.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2738 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-25 18:27:24 +00:00
paulc f4b1496a46 Added an unified Thread::idle method, use it instead of arbitrary
sleeps.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2737 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-24 16:47:29 +00:00
marian 4081e49a24 Added capability to build a stereo DataConsumer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2736 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 16:10:35 +00:00
marian 8a5c553fd9 Client sounds can now carry a stereo parameter. This parameter is forwarded by utility client channels in the chan.attach message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2735 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 16:09:09 +00:00
paulc d31c7b4076 Fixed thread names for the MGCP library and Signalling engine too.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2734 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 15:01:10 +00:00
paulc 5499650213 Changed thread names to be uniform and easily readable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2733 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 14:48:26 +00:00
paulc 46761a8933 Fixed build on Windows, MUTEX_STATIC_UNSAFE handling must be outside the platform specific ifdef.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2732 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 13:20:09 +00:00
paulc fa955b9342 Documented order of inserting and calling message handlers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2731 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 12:30:47 +00:00
paulc f17d89f159 Detect prctl availability when configuring.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2730 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 12:22:52 +00:00
paulc c0eec08096 Make use of prctl() if available.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2729 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 11:09:38 +00:00
marian 3033dbb105 Add an 'in_line' parameter with account name to call.preroute message sent for a session using a client stream.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2728 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-20 20:34:34 +00:00
marian 6df4323a48 SOCKSListener is no longer a Runnable descendant.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2727 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-19 12:37:19 +00:00
paulc c23251c4d0 Fixed more warnings on different platforms.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2726 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-19 11:58:33 +00:00
paulc ddcb309e01 Two more warning fixes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2725 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-19 11:28:25 +00:00
paulc 65fa4adbd4 Fixed warnings and a few minor bugs when compiling on a different architecture.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2724 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-19 11:19:20 +00:00
marian b2f419a6b5 Utility client channels are now notifying startup/destroyed events.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2723 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-19 06:53:44 +00:00
paulc bad4b42a73 Added engine config section so individual modules that depend on buggy
libraries are never unloaded from memory, only finalized if possible.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2722 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-18 17:44:48 +00:00
paulc a6a9d71e8f Allow skipping mutex operations until main() on platforms where mutexes
are unsafe in global object constructors.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2721 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-18 12:21:23 +00:00
paulc d32ef480a0 Added possibility to disable unloading in modules at build time.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2720 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-18 11:54:07 +00:00
paulc fc2b3d5e2e Thread support for systems without inherited scheduling and/or thread
cancelling.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2719 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-18 11:41:44 +00:00
paulc a41297889b Added sample PHP external resolver script, allows blacklisting IP addresses of failed SIP gateways.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2718 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-17 15:39:17 +00:00
paulc e4bb7cac09 Added capability to issue a DLCX to clear all connections when becoming operational.
Each remote endpoint has its connections cleared when recovering from error.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2717 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-16 16:02:50 +00:00
paulc 087d8bf25b Handle a MGCP connection deletion from the gateway.
Fixed span endpoint matching to search all its circuits.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2716 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-16 13:47:52 +00:00
marian 2bc53a4f23 Copy the 'cdrwrite' parameter when starting an outgoing client channel.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2715 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-15 15:26:23 +00:00
marian 58deec4684 Fail user.login if a stream was found but is going to be destroyed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2714 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-15 11:46:19 +00:00
marian e9fe9cae41 Forward presence 'show' to/from resource.notify for client streams.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2713 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-15 11:42:01 +00:00
paulc 27ec0b5013 Added method to add a compact circuit range to an existing range.
In ysigchan status a suffix of /* or /all shows the state of all circuits of the trunk.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2712 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-15 10:38:32 +00:00
paulc a68b1553c0 Changed the name of the mutex protecting name resolution to reveal its real usage.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2711 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-15 04:10:36 +00:00
paulc 99e02ed75a Do not report a warning if there are 16 NULs or less at the end of a MIME body, assume it's some sort of padding.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2710 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-14 21:19:00 +00:00