[Home]

Summary:ASTERISK-14414: Transport (TCP/UDP) not used correctly
Reporter:dimitripietro (dimitripietro)Labels:
Date Opened:2009-07-04 22:49:07Date Closed:2009-07-14 09:43:24
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/TCP-TLS
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:If i set :

tcpenable=no

And in the Polcyom config files I set the tranport type to TCPpreferred (tcp but then upd if tcp is unavaible). Everything thing work correctly.

But if I set :
tcpenable=yes
tcpbindaddr=0.0.0.0

but I'm my peer definition I set tranport=upd.

The phone still register correctly as per the polycom phone (in TCP !) but Asterisk is complaining :
[2009-07-04 23:44:58] NOTICE[14075]: chan_sip.c:18600 handle_request_register: Registration from '<sip:239@xxx.xxxx.ca>' failed for 'xx.xxx.xxx.xxx' - Device not configured to use this transport type



****** ADDITIONAL INFORMATION ******

sip show peer 239 show :
Transport    : UDP
Reg. Contact : sip:239@XXX.XXX.X.XXX;transport=tcp

Then the phone can do outgoing call (which are in tcp) but doesn't accept incoming call because asterisk is talking in UPD
Comments:By: David Vossel (dvossel) 2009-07-14 09:43:23

Significant changes have been made to the transport implementation.  I believe this has already been resolved in the svn branch of 1.6.0.  Feel free to reopen if you still have trouble after checking out the latest 1.6.0 branch code.