Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Asterisk RealTime Sippeers, rtcachefriends=yes, phones lose registration


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
caesar at itpscorp.com
Guest





PostPosted: Mon Aug 10, 2015 3:40 pm    Post subject: [asterisk-users] Asterisk RealTime Sippeers, rtcachefriends= Reply with quote

Hello, we have an issue where after a couple of days, a few random phones will lose registration. I don't notice any particular pattern. Out of 200, only about 5-10 will be suffering at any given time and we won't know until the user complains they are not receiving calls. "sip show peers" does not show the phone in the list. I see packets coming into the server, but asterisk is not responding. Rebooting the phone to signal another REGISTER, yields no results. It seems Asterisk simply ignores the packets. I don't see anything in the logs that are relevant during the registration attempt. The only thing that seems to bring the phones instantly online (no matter how long they are in this state) is to run either 'sip reload' (not recommended) or 'sip realtime prune peer XXXX' and then 'sip show peer XXXX load'. This will bring the phone instantly back up and able to receive calls.

I never had this issue with flat files on the same server.


I noticed there was some other threads with similar traits but I don't know if they are related. They were playing with the ignoreregexpire=yes parameter.


I have in the sip.conf file:


rtcachefriends=yes 
rtsavesysname=no 
rtupdate=no
rtautoclear=no 
ignoreregexpire=yes 
Running asterisk 11.12.1


A sample entry in the sippeers table:


INSERT INTO sippeers (name,defaultuser,host,secret,fromdomain,mailbox,context,nat,qualify,directmedia) VALUES ('7293','7293','dynamic','password','ip-of-pbx','7293','from-exten','force_rport,comedia','yes','no');



 Thanks!





Caesar 
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services