[OpenSIPS-Devel] bug using opensips with TCP

2013-04-03 Thread 汪德奇
hello, opensips develops
 
i install opensips 1.90 on rhel6.3 with tcp support.
but i found a bug when client send message with TCP,.
as following:
 
two clients(A,B) register opensips with TCP.
then A send message to B, with TCP too.
opensips receive package from A in TCP, but it forward the package to B with 
UDP.
i thought it is an bug. because B is waiting for the package in TCP socket.
 
thank you!
 
 
 
 





___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] bug using opensips with TCP

2013-04-03 Thread Bogdan-Andrei Iancu

Hi,

Most probably the B registers (even if via TCP) a contact address which 
has no proto indication (a transport=TCP param), so UDP is by default 
assumed.


Check with opensipsctl ul show to see the registered contact and if 
they have the TCP indication in there.


Regards,

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


On 03/27/2013 10:45 AM, ?? wrote:

hello, opensips develops
i install opensips 1.90 on rhel6.3 with tcp support.
but i found a bug when client send message with TCP,.
as following:
two clients(A,B) register opensips with TCP.
then A send message to B, with TCP too.
opensips receive package from A in TCP, but it forward the package to 
B with UDP.
i thought it is an bug. because B is waiting for the package in TCP 
socket.

thank you!







___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel