paulc
5fdfc4d45a
Return socketError() whenever an error code is stored in the SSL socket.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2776 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-03 09:22:37 +00:00
paulc
57d81711b6
The runtime parameters from Engine::runParams() are expanded in the client greeting string.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2775 acf43c95-373e-0410-b603-e72c3f656dc1
2009-08-02 23:19:52 +00:00
paulc
19ba50d617
Made processing of a circuit event take ownership over the event to be certain who needs to destroy it.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2774 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-28 15:52:18 +00:00
paulc
33cb279ecc
Fixed the way disconnected circuits are reported from MGCP.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2773 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-28 13:04:32 +00:00
marian
00f88238bb
Added capability to forward circuit events upwards to signalling module.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2772 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-28 12:52:13 +00:00
paulc
cf8adabc1d
Implemented basic control operation for SS7 Layer 2.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2771 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-28 10:51:50 +00:00
paulc
6b26ff031a
Added support for issuing generic control operations.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2770 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-27 21:36:02 +00:00
paulc
efab81c1f2
Accept session type "reject" for terminating Jingle version 0 sessions.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2769 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-24 11:38:42 +00:00
paulc
1546f9fbf7
Made XMPP stream terminate if the host address could not be resolved.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2768 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-24 11:07:23 +00:00
paulc
fbfef23187
Accept a Jingle version 0 "relay" transport to override another current candidate.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2767 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-24 10:54:32 +00:00
paulc
1868b6b23e
When checking for prctl() include unistd.h so we pull in sys/cdefs.h
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2766 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-23 13:50:22 +00:00
paulc
97f063c0d1
Use AC_TRY_LINK when looking for pthread_mutex_timedlock and sem_timedwait so we can detect platforms where these are declared but not implemented.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2765 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-23 13:26:48 +00:00
paulc
c7d210b5b7
Call Thread::idle() instead of hand coded sleeps in the SOCKS module.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2764 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-22 17:04:03 +00:00
paulc
ebd41dfaec
Use the platform idle time in various sleeps in SIP and Jabber.
...
Fixed a compiler warning about the copy constructor of Mutex and
Semaphore.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2763 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-22 15:41:28 +00:00
paulc
132976a3ef
Include <time.h> as on some platforms is required for struct timespec.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2762 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-22 13:09:21 +00:00
paulc
a2812051f2
Added Semaphore class, made Mutex derive from (new class) Lockable, made Lock able to get a lock on any Lockable - Mutex or Semaphore.
...
Use pthread_mutex_timedlock and sem_timedwait if available on platform.
Fixed a bug in the IAX channel exposed by Mutex having virtual methods.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2761 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-22 12:57:14 +00:00
paulc
371c004e61
Allow server command line options when running in ClientProxy mode.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2760 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-14 18:47:06 +00:00
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