marian
52d07b557d
Fixed debug.
...
git-svn-id: http://voip.null.ro/svn/yate@3131 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-18 14:32:37 +00:00
marian
6f224d983a
Fixed bug: check if the resource is already used by an user when processing a bind request.
...
git-svn-id: http://voip.null.ro/svn/yate@3127 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-17 14:19:15 +00:00
marian
b480d411f0
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://voip.null.ro/svn/yate@3126 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-17 13:06:54 +00:00
paulc
1c9e786a74
Lock the module while accessing or changing SIP dialog information.
...
git-svn-id: http://voip.null.ro/svn/yate@3125 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-12 16:25:37 +00:00
paulc
7a9631dd18
Lock the YateH323Connection while changing the capabilities and fast start channel lists.
...
git-svn-id: http://voip.null.ro/svn/yate@3124 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-12 15:37:41 +00:00
paulc
1767ec3835
In YateH323Connection::OnCleared() clean up the m_chan pointer as suggested by Alain Brassard in Mantis issue #201 .
...
git-svn-id: http://voip.null.ro/svn/yate@3123 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-12 15:35:56 +00:00
paulc
08c5b34be1
Retrieve as strings all MySQL types that cannot hold arbitrary binary data.
...
git-svn-id: http://voip.null.ro/svn/yate@3107 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-04 16:27:27 +00:00
paulc
638ffc277c
Copy RTP stats in SIP to the CDR and to BYE or 200 message.
...
git-svn-id: http://voip.null.ro/svn/yate@3106 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-03 19:05:01 +00:00
marian
5b3d5ec79d
Optionally dump received 'iq' xml string in dispatched jabber.iq message.
...
git-svn-id: http://voip.null.ro/svn/yate@3104 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-03 09:51:02 +00:00
marian
980779ded1
Remember the node where an instance is located.
...
git-svn-id: http://voip.null.ro/svn/yate@3101 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-02 15:18:20 +00:00
paulc
98df7e335f
Preserve the Call-ID across REGISTER messages in a single login session.
...
git-svn-id: http://voip.null.ro/svn/yate@3096 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-23 18:22:59 +00:00
oana
3149b861cd
Added support for Dahdi drivers. Compatibility with Zaptel is maintained.
...
git-svn-id: http://voip.null.ro/svn/yate@3094 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-23 13:50:52 +00:00
paulc
5acd80973a
Re-establish the transport up state whenever we managed to receive a message.
...
git-svn-id: http://voip.null.ro/svn/yate@3093 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-18 17:54:12 +00:00
marian
b8ab2edfa5
Remember directed presence notifications. Automatically notify directed 'offline' presence when an user goes offline without doing it.
...
git-svn-id: http://voip.null.ro/svn/yate@3091 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-18 13:56:12 +00:00
marian
3d07d9cbee
Fixed debug message parameter.
...
git-svn-id: http://voip.null.ro/svn/yate@3090 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-18 13:29:37 +00:00
marian
8630c28ec1
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://voip.null.ro/svn/yate@3085 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-18 11:40:24 +00:00
marian
1ef003f69f
Added user.notify message handler used in client mode to close all channels belonging to an unregistered local account.
...
git-svn-id: http://voip.null.ro/svn/yate@3084 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-16 16:23:28 +00:00
paulc
2b2f7e2380
Use CR LF for multi-line message outputs, fixes telnet and Windows logging.
...
git-svn-id: http://voip.null.ro/svn/yate@3082 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-15 21:07:17 +00:00
paulc
dcaf541c92
The default stream mode is adapted to the type of transport.
...
Constified some methods of the Transport class.
git-svn-id: http://voip.null.ro/svn/yate@3081 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-15 20:57:37 +00:00
paulc
0db9124255
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://voip.null.ro/svn/yate@3076 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-09 20:52:16 +00:00
andrei
50a37a289d
Fixed configuration of Cisco SM module.
...
git-svn-id: http://voip.null.ro/svn/yate@3075 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-08 15:57:32 +00:00
marian
fe684b1fd2
Fixed bug: don't send local user's presence when its subscription request is aproved.
...
git-svn-id: http://voip.null.ro/svn/yate@3074 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-06 23:34:27 +00:00
marian
115558cfb3
Notify presence when a subscription request is aproved by a local user.
...
git-svn-id: http://voip.null.ro/svn/yate@3073 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-06 23:04:07 +00:00
marian
b4cc407b2f
Try harder to set the from attribute of an offline chat before storing it.
...
git-svn-id: http://voip.null.ro/svn/yate@3072 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-05 21:11:05 +00:00
paulc
e04a1ad691
Shortened some expressions, added braces to avoid compiler warnings.
...
git-svn-id: http://voip.null.ro/svn/yate@3070 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-04 12:59:48 +00:00
paulc
2c29e87f01
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://voip.null.ro/svn/yate@3067 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-04 02:01:40 +00:00
paulc
65c7a2da30
Added method to set the desired SCTP protocol payload identification (PPID).
...
git-svn-id: http://voip.null.ro/svn/yate@3066 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-04 01:59:27 +00:00
paulc
8be9e9991a
Add the REGISTER request URI and Call-ID to the user.(un)register messages.
...
git-svn-id: http://voip.null.ro/svn/yate@3063 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-02 23:59:54 +00:00
paulc
580f5c0c9e
Detect if sctp_connectx() has 3 or 4 arguments.
...
git-svn-id: http://voip.null.ro/svn/yate@3059 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-02 16:46:53 +00:00
andrei
ecd075d0ac
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://voip.null.ro/svn/yate@3058 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-02 14:38:12 +00:00
andrei
269ec0618e
Allow configuration of components from message.
...
Configuration of ysigchan is saved to file
git-svn-id: http://voip.null.ro/svn/yate@3056 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-02 13:13:44 +00:00
paulc
102f7af8ef
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://voip.null.ro/svn/yate@3053 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-01 14:44:31 +00:00
marian
564cdb3c26
The jingle module is now handling call.execute with target starting with 'jabber/' in client mode.
...
git-svn-id: http://voip.null.ro/svn/yate@3044 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-28 11:39:36 +00:00
paulc
33a98e83aa
Added Channel::initChan() method to add the channel to the driver explicitely, after the object is fully constructed.
...
git-svn-id: http://voip.null.ro/svn/yate@3033 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-26 10:31:32 +00:00
paulc
8d36138232
Only needs to include yatengine.h, not yatephone.h
...
git-svn-id: http://voip.null.ro/svn/yate@3032 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-26 10:21:30 +00:00
paulc
0a336dee9d
Check if the OpenSSL structure is still valid after getting the mutex lock.
...
git-svn-id: http://voip.null.ro/svn/yate@3030 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-25 16:48:47 +00:00
paulc
2e749967d4
Reference the ExtReceiver just before trying to start it.
...
Prevents crashes and memory corruption caused by race conditions, especially when the script des not start or terminates early.
git-svn-id: http://voip.null.ro/svn/yate@3027 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-17 17:47:01 +00:00
paulc
70f69690c7
Use CallEndpoint::commonMutex() instead of CallFork's private mutex.
...
Prevents deadlocks when trying to lock them in different order.
git-svn-id: http://voip.null.ro/svn/yate@3026 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-17 17:44:35 +00:00
paulc
ac7aedf9ca
Cleanup initial local RTP from circuit and call leg when RTP forward is used.
...
git-svn-id: http://voip.null.ro/svn/yate@3016 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-11 16:21:12 +00:00
paulc
92fb386733
Warn and refuse authentication if the designated password return column is missing from the user.auth result set.
...
git-svn-id: http://voip.null.ro/svn/yate@3008 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-06 12:46:45 +00:00
paulc
0622a2379f
Setting to disable autostart of connections to Postgres servers.
...
git-svn-id: http://voip.null.ro/svn/yate@3005 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-05 12:39:34 +00:00
paulc
60e7a81dd0
Implemented polling of the connection socket to avoid libpq erroring on EAGAIN.
...
git-svn-id: http://voip.null.ro/svn/yate@3004 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-05 12:27:01 +00:00
paulc
3319fb7dfb
Destroy regexroute handlers before locking the mutex to avoid deadlock. Handlers are protected internally.
...
Initialize regexroute variables before installing new handlers.
git-svn-id: http://voip.null.ro/svn/yate@3002 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-04 16:11:48 +00:00
marian
3db96c011c
Notify offline when processing 'unsubscribed' notifications from local users. Notify local resources to remote parties when processing 'subscribed' notifications from local users.
...
git-svn-id: http://voip.null.ro/svn/yate@2999 acf43c95-373e-0410-b603-e72c3f656dc1
2009-12-23 16:58:16 +00:00
paulc
29319c2fab
Call the callConnect() method so the "tonedetect_out" parameter is applied.
...
git-svn-id: http://voip.null.ro/svn/yate@2993 acf43c95-373e-0410-b603-e72c3f656dc1
2009-12-18 19:11:21 +00:00
paulc
74f8eeb558
Generate and apply the simplified "privacy" parameter.
...
git-svn-id: http://voip.null.ro/svn/yate@2992 acf43c95-373e-0410-b603-e72c3f656dc1
2009-12-18 19:10:15 +00:00
paulc
455b6dbf81
Automatically reset the maxcall timer when entering "answered" status.
...
git-svn-id: http://voip.null.ro/svn/yate@2991 acf43c95-373e-0410-b603-e72c3f656dc1
2009-12-18 19:08:41 +00:00
marian
edd9b63274
Add destination instance when sending messages on non c2s streams.
...
git-svn-id: http://voip.null.ro/svn/yate@2988 acf43c95-373e-0410-b603-e72c3f656dc1
2009-12-16 14:45:58 +00:00
marian
2341d1447d
Handle directed chat with resource not found and groupchat/error without full jid target. Store only chat/normal message stanzas in offline messages.
...
git-svn-id: http://voip.null.ro/svn/yate@2987 acf43c95-373e-0410-b603-e72c3f656dc1
2009-12-14 16:51:28 +00:00
marian
c7fd782d0f
Added 'auth' request parameter handled in msg.route message.
...
git-svn-id: http://voip.null.ro/svn/yate@2985 acf43c95-373e-0410-b603-e72c3f656dc1
2009-12-14 16:43:13 +00:00