Commit graph

2702 commits

Author SHA1 Message Date
paulc
25450eaaff Allow server command line options when running in ClientProxy mode.
git-svn-id: http://voip.null.ro/svn/yate@2760 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-14 18:47:06 +00:00
paulc
0212e32bab Added a ClientProxy engine run mode for clients with no local UI.
git-svn-id: http://voip.null.ro/svn/yate@2759 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-14 15:49:20 +00:00
paulc
7f4f0a651a 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://voip.null.ro/svn/yate@2758 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-14 13:33:02 +00:00
maciej
f533d50ac8 utils.outgoing result changed
git-svn-id: http://voip.null.ro/svn/yate@2757 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-13 17:02:55 +00:00
marian
bc49f19075 Disconnect the channel held by a client sound when stop is requested.
git-svn-id: http://voip.null.ro/svn/yate@2756 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-13 13:12:49 +00:00
paulc
5b99334e1d Set the thread name when running under windbg or Visual Studio debugger.
git-svn-id: http://voip.null.ro/svn/yate@2755 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-09 15:34:54 +00:00
marian
2826de569f The file transfer data source is now handling incomplete data forward.
git-svn-id: http://voip.null.ro/svn/yate@2754 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-09 14:37:03 +00:00
marian
da27b641e7 Added flag used to inhibit repeating non fatal socket send error debug message. Use Thread::errorString() instead of strerror().
git-svn-id: http://voip.null.ro/svn/yate@2753 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-09 13:17:08 +00:00
marian
9b913d9ab8 Fixed target and parameters detection when parsing a command execute line. Fixed config param name.
git-svn-id: http://voip.null.ro/svn/yate@2752 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-09 08:40:36 +00:00
marian
c08d4a261d The SOCKS consumer is now returning the number of sent bytes.
git-svn-id: http://voip.null.ro/svn/yate@2751 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-08 11:46:44 +00:00
paulc
1178b6e614 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://voip.null.ro/svn/yate@2750 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-07 15:31:30 +00:00
paulc
c4b6af8c24 Obey expires interval enforced by the SIP registrar.
git-svn-id: http://voip.null.ro/svn/yate@2749 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-07 10:29:32 +00:00
marian
67e56439a6 Drop driver lock before displaying the media set failure message.
git-svn-id: http://voip.null.ro/svn/yate@2748 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-07 07:17:11 +00:00
marian
89f84e8f92 Fixed id match when handling offline contacts.
git-svn-id: http://voip.null.ro/svn/yate@2747 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-07 07:09:14 +00:00
marian
787af2c4f9 Make sure the id contains the endpoint's port before searching for a circuit.
git-svn-id: http://voip.null.ro/svn/yate@2746 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-03 14:02:31 +00:00
paulc
2f1a5ff2f6 Added flags to data forwarded through DataNodes.
The amount of consumed data is returned to the source.


git-svn-id: http://voip.null.ro/svn/yate@2745 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-02 09:24:33 +00:00
marian
e54612df89 Added 'contact' and 'instance' parameters to enqueued msg.execute messages.
git-svn-id: http://voip.null.ro/svn/yate@2744 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-30 14:16:21 +00:00
marian
c7b846ec4f Fixed default logic resource.notify and resource.subscribe handlers: look for 'contact' and 'instance' parameters.
git-svn-id: http://voip.null.ro/svn/yate@2743 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-30 13:41:29 +00:00
marian
4c745afe4d Add module name to enqueued user.notify messages.
git-svn-id: http://voip.null.ro/svn/yate@2742 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-29 09:08:00 +00:00
marian
6050d2d1ab 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://voip.null.ro/svn/yate@2741 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-29 09:06:16 +00:00
paulc
d92348b8a2 New parameter "rtp_localip" overrides configured local RTP address for outbound SIP call legs.
git-svn-id: http://voip.null.ro/svn/yate@2740 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-26 15:33:22 +00:00
paulc
263e2b5862 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://voip.null.ro/svn/yate@2739 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-26 14:40:10 +00:00
paulc
b0ccb30e5e Added "address" and "version" settings so MGCP can become operational even if no RSIP is received.
git-svn-id: http://voip.null.ro/svn/yate@2738 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-25 18:27:24 +00:00
paulc
17bd631324 Added an unified Thread::idle method, use it instead of arbitrary
sleeps.


git-svn-id: http://voip.null.ro/svn/yate@2737 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-24 16:47:29 +00:00
marian
7d87860a33 Added capability to build a stereo DataConsumer.
git-svn-id: http://voip.null.ro/svn/yate@2736 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 16:10:35 +00:00
marian
1e7c2dfc69 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://voip.null.ro/svn/yate@2735 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 16:09:09 +00:00
paulc
774f74c5bd Fixed thread names for the MGCP library and Signalling engine too.
git-svn-id: http://voip.null.ro/svn/yate@2734 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 15:01:10 +00:00
paulc
85ef8e4d49 Changed thread names to be uniform and easily readable.
git-svn-id: http://voip.null.ro/svn/yate@2733 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 14:48:26 +00:00
paulc
0ddb04dcfa Fixed build on Windows, MUTEX_STATIC_UNSAFE handling must be outside the platform specific ifdef.
git-svn-id: http://voip.null.ro/svn/yate@2732 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 13:20:09 +00:00
paulc
eda5dd06ad Documented order of inserting and calling message handlers.
git-svn-id: http://voip.null.ro/svn/yate@2731 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 12:30:47 +00:00
paulc
f99885ef26 Detect prctl availability when configuring.
git-svn-id: http://voip.null.ro/svn/yate@2730 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 12:22:52 +00:00
paulc
134872a9f8 Make use of prctl() if available.
git-svn-id: http://voip.null.ro/svn/yate@2729 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 11:09:38 +00:00
marian
c8b39a97e1 Add an 'in_line' parameter with account name to call.preroute message sent for a session using a client stream.
git-svn-id: http://voip.null.ro/svn/yate@2728 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-20 20:34:34 +00:00
marian
bdcbba2ec8 SOCKSListener is no longer a Runnable descendant.
git-svn-id: http://voip.null.ro/svn/yate@2727 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-19 12:37:19 +00:00
paulc
d095227d30 Fixed more warnings on different platforms.
git-svn-id: http://voip.null.ro/svn/yate@2726 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-19 11:58:33 +00:00
paulc
86ab316486 Two more warning fixes.
git-svn-id: http://voip.null.ro/svn/yate@2725 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-19 11:28:25 +00:00
paulc
eb2a9cd5e0 Fixed warnings and a few minor bugs when compiling on a different architecture.
git-svn-id: http://voip.null.ro/svn/yate@2724 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-19 11:19:20 +00:00
marian
ae477f1184 Utility client channels are now notifying startup/destroyed events.
git-svn-id: http://voip.null.ro/svn/yate@2723 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-19 06:53:44 +00:00
paulc
830baebef4 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://voip.null.ro/svn/yate@2722 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-18 17:44:48 +00:00
paulc
712fda9139 Allow skipping mutex operations until main() on platforms where mutexes
are unsafe in global object constructors.


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


git-svn-id: http://voip.null.ro/svn/yate@2719 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-18 11:41:44 +00:00
paulc
fe7cec640c Added sample PHP external resolver script, allows blacklisting IP addresses of failed SIP gateways.
git-svn-id: http://voip.null.ro/svn/yate@2718 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-17 15:39:17 +00:00
paulc
6dab45edd7 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://voip.null.ro/svn/yate@2717 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-16 16:02:50 +00:00
paulc
372be65a5a Handle a MGCP connection deletion from the gateway.
Fixed span endpoint matching to search all its circuits.


git-svn-id: http://voip.null.ro/svn/yate@2716 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-16 13:47:52 +00:00
marian
179987337b Copy the 'cdrwrite' parameter when starting an outgoing client channel.
git-svn-id: http://voip.null.ro/svn/yate@2715 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-15 15:26:23 +00:00
marian
b3fea7edd8 Fail user.login if a stream was found but is going to be destroyed.
git-svn-id: http://voip.null.ro/svn/yate@2714 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-15 11:46:19 +00:00
marian
9f44358161 Forward presence 'show' to/from resource.notify for client streams.
git-svn-id: http://voip.null.ro/svn/yate@2713 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-15 11:42:01 +00:00
paulc
d93dc49e4e 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://voip.null.ro/svn/yate@2712 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-15 10:38:32 +00:00
paulc
2faafb73d1 Changed the name of the mutex protecting name resolution to reveal its real usage.
git-svn-id: http://voip.null.ro/svn/yate@2711 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-15 04:10:36 +00:00