[OpenSIPS-Users] [Presence] How to receive presence NOTIFY over TCP ?

Pascal Maugeri pascal.maugeri at gmail.com
Tue Mar 9 11:03:52 CET 2010


Hi

Using opensips 1.6 we need to have the presence module to send NOTIFY over
TCP rather than UDP when the size of the message is greater than a given
MTU.

We tried to force it sending a SUBSCRIBE with transport=tcp in Contact
header:

SUBSCRIBE sip:echo123 at presence.net <sip%3Aecho123 at presence.net> SIP/2.0
[...]
Contact: <sip:albertd at 10.1.1.24:5233;transport=tcp>
Event: presence


but the NOTIFY messages are sent over UDP (observe the "transport=tcp" in
the request line):

NOTIFY sip:albertd at 10.1.1.24:5233;transport=tcp SIP/2.0
[...]
Contact: <sip:sa at 213.151.105.170:6667>
Subscription-State: active;expires=120
Content-Type: application/pidf+xml
Content-Length: 1254


Could you please let me know what we should do to enable the sending over
TCP ? I don't understand what we're doing wrong.

Cheers
Pascal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100309/cf4c5b8c/attachment.htm 


More information about the Users mailing list