[Asterisk-Users] Nat, SIP, Realtime problem

Kevin P. Fleming kpfleming at digium.com
Tue Feb 14 09:19:24 MST 2006


Hall, Eric M. wrote:

> Asterisk CVS-HEAD dated 2005-08-18
> WhitBox Linux respin 2 
> mysql  Ver 11.18 Distrib 3.23.58
> Cisco 7960G
> 
> We are using the real-time drivers for sip and everything is working
> great.
> They have a few employees that use the phones from home on a RR or DSL
> line.
> The problem is if they make a call everything works great they hang up
> and are able to get inbound calls. If they do not make a call for 5 or
> 10 mins they are unable to get inbound calls. If they dial out again its
> all working for another 5 or 10 mins. This does not happen to all remote
> people just a few.

Using Realtime SIP peers does not allow for "NAT Keepalive" packets to
be sent, so the firewall/NAT devices that those phones are connected to
are closing the SIP port hole after an expiration timeout.

To fix this, you'll need to upgrade to newer Asterisk (you really should
be running 1.2) and use 'realtime caching' for your SIP peers.



More information about the asterisk-users mailing list