[OpenSIPS-Users] Getting NOTIFY on UDP while using transport as TCP

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Jan 7 09:00:55 CET 2016


Hi Surya,

Usually it is an matter of an option in the client - it should be 
automatically set (the TCP option) if the UAC wants to be reached back 
via TCP.

Best regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 07.01.2016 08:31, Suryaveer Chauhan wrote:
> Hi Bogdan,
>
> Sorry, forgot to update the issue.
>
> I was unaware of the option to set the protocol in contact URI. Once I 
> set the protocol to TCP in contact URI, everything went fine.
>
> Thanks,
> Surya
>
> On 6 January 2016 at 04:39, Bogdan-Andrei Iancu <bogdan at opensips.org 
> <mailto:bogdan at opensips.org>> wrote:
>
>     Hi Surya,
>
>     As the NOTIFY is an in-dialog request (for the dialog created by
>     the SUBSCRIBE request), it will be routed by OpenSIPS to the SIP
>     contact advertised in th SUBSCRIBER request - does the SIP URI in
>     the Contact header advertise the TCP transport protocol ?
>
>     Regards,
>
>     Bogdan-Andrei Iancu
>     OpenSIPS Founder and Developer
>     http://www.opensips-solutions.com
>
>     On 22.12.2015 07:27, surya wrote:
>
>         Hi,
>
>
>         I am testing opensips presence server 1.8.3 using sipp. I am
>         using TCP as
>         the transport. When I send SUBSCRIBE, 200 OK is received fine
>         but the NOTIFY
>         is sent on UDP.
>
>         When testing from 2 SIP clients it works fine on TCP. Is there
>         something
>         special to take care while testing TCP from SIPP?
>
>         Below is the command and scenario file.
>         *./sipp 192.168.192.131 -t t1 -sf sn.xml -m 1 -i 192.168.192.128*
>         -------------------------------------------------
>         <?xml version="1.0" encoding="ISO-8859-1" ?>
>         <scenario name="subscribe">
>            <send start_rtd="1">
>                 </send>
>
>            <recv response="200">
>            </recv>
>
>            <recv request="NOTIFY" rtd="1">
>            </recv>
>
>             <send crlf="true">
>                 </send>
>
>         </scenario>
>         -------------------------------------------------
>
>         I am not able to figure out what the problem is. I suspect it
>         is something
>         to do with sipp but not sure.
>         I couldn't find anything on internet, hence, posting here.
>
>         Thanks,
>         Surya
>
>
>
>
>
>         --
>         View this message in context:
>         http://opensips-open-sip-server.1449251.n2.nabble.com/Getting-NOTIFY-on-UDP-while-using-transport-as-TCP-tp7600288.html
>         Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
>         _______________________________________________
>         Users mailing list
>         Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>         http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160107/78035738/attachment-0001.htm>


More information about the Users mailing list