[asterisk-dev] oej: trunk r128290 - /trunk/channels/chan_sip.c

Russell Bryant russell at digium.com
Sun Jul 6 10:16:54 CDT 2008


On Jul 6, 2008, at 4:05 AM, Johansson Olle E wrote:
> TCP/TLS has the same properties as UDP here. If you have a NAT,
> neither UDP, TCP or TLS can reconnect after a long period of
> downtime. But I fail to see a separate issue for TCP and TLS
> without NAT.


When using TCP or TLS without NAT, you are right, there is a good  
chance that we can reconnect.  However, just because they connected to  
us using TCP, does not mean that they are listening for incoming  
connections.  Also, what port would you use to reconnect?  Should you  
just assume 5060 and hope for the best?  You may not even connect to  
the same peer that you were connected to before.  You can't just use  
the source port from the previous connection like you can with UDP.   
But, please correct me if I'm wrong.  :)

--
Russell Bryant
Senior Software Engineer
Open Source Team Lead
Digium, Inc.







More information about the asterisk-dev mailing list