Commit graph

1554 commits

Author SHA1 Message Date
paulc
aaeed9c8be Emit a BYE only if we have a SIP dialog - either early or established.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3175 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-08 22:49:58 +00:00
paulc
8145b0fe96 Store initially guessed local address, re-register only if it changed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3172 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-07 11:27:30 +00:00
paulc
9eb8e98bd5 Use a binary semaphore to wait for messages to be handled by external modules.
Reduces the CPU load when there are many scripts handling messages.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3169 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-06 11:13:47 +00:00
paulc
4fc31e8bd4 Allow specifying a PSTN trunk circuit number offset
git-svn-id: http://yate.null.ro/svn/yate/trunk@3168 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-05 21:55:59 +00:00
oana
b75984f171 Added sample rate control to the audio module for Mac OS X.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3166 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-02 14:48:04 +00:00
paulc
13f64f0306 Added names to codec translator factories to aid in debugging.
Try all possible formats when attempting to crate a new chain.
Fixes some missing conversions like speex/32000<->slin.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3165 acf43c95-373e-0410-b603-e72c3f656dc1
2010-04-02 14:28:27 +00:00
paulc
f4537ba165 Added basic sample rate control in the DirectSound module, removed chunk and buffer settings as they must be computed from rate.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3164 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-31 13:53:44 +00:00
paulc
245cd8d3ae Added basic sample rate control in ALSA, OSS, conference and MOH.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3161 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-30 15:06:50 +00:00
paulc
2a9862c9d7 Fixed the SVN properties of coreaudio.cpp
git-svn-id: http://yate.null.ro/svn/yate/trunk@3160 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-30 13:43:00 +00:00
oana
2b92a31841 Audio support for Mac OS X added.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3154 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-30 12:12:32 +00:00
oana
51b082375f Yate has been ported on Mac OS X.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3153 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-30 11:49:43 +00:00
marian
428653c665 Fixed jingle channel hangup reason (avoid setting it to failure when session termination reason is missing).
git-svn-id: http://yate.null.ro/svn/yate/trunk@3152 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-29 10:08:51 +00:00
marian
acee06f53d Added jingle channel option used to ignore Yate running mode.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3151 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-29 10:00:01 +00:00
paulc
c7fff8a612 Create jabber and qt4 modules directory when installing on systems whose install does not suport the -D option.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3146 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-25 16:16:41 +00:00
paulc
2c886a779d Make Qt4 autoconf detected variables available to custom targets by copying them to make variables.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3145 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-24 16:54:24 +00:00
paulc
15904daef1 Reorder libraries so that Yate libraries and modules can be linked using --as-needed avoiding underlinking or overlinking.
Reported by Mandriva (bug report #206).


git-svn-id: http://yate.null.ro/svn/yate/trunk@3143 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-24 13:46:12 +00:00
marian
5621a88ebb Fixed debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3131 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-18 14:32:37 +00:00
marian
c34ac0af90 Fixed bug: check if the resource is already used by an user when processing a bind request.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3127 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-17 14:19:15 +00:00
marian
cba07a3ca3 Fixed deadlock: outgoing jabber stream id is now checked by the engine event processor to avoid locking engine's stream list(s) while the stream is locked.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3126 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-17 13:06:54 +00:00
paulc
ebaec41257 Lock the module while accessing or changing SIP dialog information.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3125 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-12 16:25:37 +00:00
paulc
0d2aa26761 Lock the YateH323Connection while changing the capabilities and fast start channel lists.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3124 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-12 15:37:41 +00:00
paulc
118d800e9b In YateH323Connection::OnCleared() clean up the m_chan pointer as suggested by Alain Brassard in Mantis issue #201.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3123 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-12 15:35:56 +00:00
paulc
702c8f7bbc Retrieve as strings all MySQL types that cannot hold arbitrary binary data.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3107 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-04 16:27:27 +00:00
paulc
6e3c0407d0 Copy RTP stats in SIP to the CDR and to BYE or 200 message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3106 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-03 19:05:01 +00:00
marian
1b5c9878ec Optionally dump received 'iq' xml string in dispatched jabber.iq message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3104 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-03 09:51:02 +00:00
marian
b92560f83c Remember the node where an instance is located.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3101 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-02 15:18:20 +00:00
paulc
ccdfe0c691 Preserve the Call-ID across REGISTER messages in a single login session.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3096 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-23 18:22:59 +00:00
oana
7073af1da6 Added support for Dahdi drivers. Compatibility with Zaptel is maintained.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3094 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-23 13:50:52 +00:00
paulc
c19b5a879c Re-establish the transport up state whenever we managed to receive a message.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3093 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-18 17:54:12 +00:00
marian
47069df618 Remember directed presence notifications. Automatically notify directed 'offline' presence when an user goes offline without doing it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3091 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-18 13:56:12 +00:00
marian
c66fd49dba Fixed debug message parameter.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3090 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-18 13:29:37 +00:00
marian
69e15604d0 Implemented support for multiple remote domains on incoming s2s streams. Implemented XEP 0185 and 0220. Added module option and stream flag used to disable RFC3920 features advertising on incoming s2s streams.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3085 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-18 11:40:24 +00:00
marian
5178d6b092 Added user.notify message handler used in client mode to close all channels belonging to an unregistered local account.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3084 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-16 16:23:28 +00:00
paulc
ebd4da0abb Use CR LF for multi-line message outputs, fixes telnet and Windows logging.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3082 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-15 21:07:17 +00:00
paulc
073da8a75c The default stream mode is adapted to the type of transport.
Constified some methods of the Transport class.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3081 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-15 20:57:37 +00:00
paulc
b70b1c09fa The MGCP-CA module needs to be early init as the endpoint must be set up when ysigchan or analog need to create circuits.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3076 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-09 20:52:16 +00:00
andrei
2a09d213c3 Fixed configuration of Cisco SM module.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3075 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-08 15:57:32 +00:00
marian
b032a29f44 Fixed bug: don't send local user's presence when its subscription request is aproved.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3074 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-06 23:34:27 +00:00
marian
8e37ef56c5 Notify presence when a subscription request is aproved by a local user.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3073 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-06 23:04:07 +00:00
marian
916730a921 Try harder to set the from attribute of an offline chat before storing it.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3072 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-05 21:11:05 +00:00
paulc
d28e562062 Shortened some expressions, added braces to avoid compiler warnings.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3070 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-04 12:59:48 +00:00
paulc
c1e8fe9e8b Set the proper PPID for M2PA, propagate to SCTP socket.
Fixed order of sequence numbers in M2PA.
Fixed the insertion/removal of priority octet in M2PA transport.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3067 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-04 02:01:40 +00:00
paulc
a2fb02ff9e Added method to set the desired SCTP protocol payload identification (PPID).
git-svn-id: http://yate.null.ro/svn/yate/trunk@3066 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-04 01:59:27 +00:00
paulc
b6885511ef Add the REGISTER request URI and Call-ID to the user.(un)register messages.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3063 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-02 23:59:54 +00:00
paulc
22813941da Detect if sctp_connectx() has 3 or 4 arguments.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3059 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-02 16:46:53 +00:00
andrei
91ec0a8770 Added generic support for SS7 SIGTRAN protocol stack.
Added SCTP sockets support based on Linux Kernel SCTP.
Added SS7 Sigtran M2PA protocol support.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3058 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-02 14:38:12 +00:00
andrei
e8a73fee97 Allow configuration of components from message.
Configuration of ysigchan is saved to file


git-svn-id: http://yate.null.ro/svn/yate/trunk@3056 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-02 13:13:44 +00:00
paulc
21c25c00d7 Use PThread::WaitForTermination() to wait for call proxy thread, avoid 100% CPU load if call takes long to set up.
Give names to PWLib threads to aid in debugging.


git-svn-id: http://yate.null.ro/svn/yate/trunk@3053 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-01 14:44:31 +00:00
marian
91f9b41323 The jingle module is now handling call.execute with target starting with 'jabber/' in client mode.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3044 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-28 11:39:36 +00:00
paulc
6eeb68bb1a Added Channel::initChan() method to add the channel to the driver explicitely, after the object is fully constructed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3033 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-26 10:31:32 +00:00