t_uac_dlg and tcp socket

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

t_uac_dlg and tcp socket

Dani Popa
Hi,

t_uac_dlg with socket 'tcp:x.x.x.x' should work ?

When i try to use t_uac_dlg with socket 'tcp:x.x.x.x'  i see that the SIP message is sent over udp. 

Thanks
--
Dani Popa

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: t_uac_dlg and tcp socket

Bogdan-Andrei Iancu-2
Hi Dani,

The socket you set may be ignore if not compatible from proto perspective with the protocol required by the SIP destination (RURI or DU). If the RURI requires UDP (has no ";transport=tcp" in it) and the socket is TCP, the socket info will be discarded and a new sock will be searched.

So, try to put the "transport=tcp" in your next hop URI.

Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 27.02.2015 23:18, Dani Popa wrote:
Hi,

t_uac_dlg with socket 'tcp:x.x.x.x' should work ?

When i try to use t_uac_dlg with socket 'tcp:x.x.x.x'  i see that the SIP message is sent over udp. 

Thanks
--
Dani Popa


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: t_uac_dlg and tcp socket

Dani Popa
Hi,

It works like a charm!

Thanks,
Dani

On Sat, Feb 28, 2015 at 2:25 AM, Bogdan-Andrei Iancu <[hidden email]> wrote:
Hi Dani,

The socket you set may be ignore if not compatible from proto perspective with the protocol required by the SIP destination (RURI or DU). If the RURI requires UDP (has no ";transport=tcp" in it) and the socket is TCP, the socket info will be discarded and a new sock will be searched.

So, try to put the "transport=tcp" in your next hop URI.

Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 27.02.2015 23:18, Dani Popa wrote:
Hi,

t_uac_dlg with socket 'tcp:x.x.x.x' should work ?

When i try to use t_uac_dlg with socket 'tcp:x.x.x.x'  i see that the SIP message is sent over udp. 

Thanks
--
Dani Popa


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




--
Dani Popa

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users