[asterisk-users] Realtime Peers Disappearing

Steven Ringwald asric at asric.com
Fri Aug 18 11:09:39 MST 2006


Douglas Garstang wrote:
> Can someone tell me what this is about? Asterisk seems to be 'losing' peers. Usually when a peer isn't known (such as when you first start Asterisk), Asterisk will do a database lookup and find the peer, and then seed them.
>
> I tried to dial 3254101, and I get the error below. I ran an ngrep and Asterisk isn't even doing a database query to find the peer. Why would it be doing this? It's almost as if Asterisk is expiring the phone before the phone re-registers. The phone is registering with a 900s expirey period. Asterisk has maxexpirey=3600 and defaultexpiry=900 in sip.conf. When the phone re-registers, Asterisk repopulates the peer with it's IP address.
>
>
> *CLI> 
>     -- Executing Dial("SIP/3254101-6a9f", "SIP/3254103|20|tr") in new stack
> Aug 18 11:59:05 NOTICE[29503]: app_dial.c:1040 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination)
>   == Everyone is busy/congested at this time (1:0/0/1)
>   == Auto fallthrough, channel 'SIP/3254101-6a9f' status is 'CHANUNAVAIL'
>
> *CLI> 
> *CLI> 
> *CLI> sip show peer 3254101
>   

Do you have rtcachefriends=yes and rtupdate=yes set in your sip.conf?

Steve




More information about the asterisk-users mailing list