The problems we have with Asterisk Realtime:

 

   1. After reload all registrations are void.

   2. Without reload prune does not take effect.

 

Test it in your scenario also.

 

Regards,

Mindaugas Kezys

 

Kolmisoft UAB 

VoIP Billing Solutions

e-mail: [email protected]

URL: http://www.kolmisoft.com

 

From: [email protected] 
[mailto:[email protected]] On Behalf Of jonas kellens
Sent: Tuesday, March 02, 2010 11:44 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] rtcachefriends & qualify

 

Thank you for your answer, Nic.

It seems that by putting rtcachefriend=yes, the qualify works as expected and 
even changes made to my realtime MySQL-DB take affect immediately without the 
need of a reload (I changed the username and name).

However the old username and name are still valuable and using this old 
SIP-user, one can still make outgoing calls. Receiving calls is no longer 
possible :

WARNING[32439]: app_dial.c:1272 dial_exec_full: Unable to create channel of 
type 'SIP' (cause 20 - Unknown)

Adding 'rtautoclear=yes' to sip.conf makes no difference. Changes to 
SIP-account are taken immediately, but the old SIP-credentials are still valid. 
(even after an unregister and re-register)

Only after a "sip reload" I get the notice :

[Mar  2 10:41:03] NOTICE[32498]: chan_sip.c:15889 handle_request_register: 
Registration from '"Gerrie"<sip:[email protected];transport=UDP>' failed 
for '192.168.1.105' - No matching peer found

So a "sip reload" is always necessary to clear the cache ??


Jonas.

On Mon, 2010-03-01 at 14:31 +0000, Nic Colledge wrote: 

Hi,

 

I think so, maybe someone can help clarify this for me also. I have:

rtcachefriends=yes

rtautoclear=yes

in sip.conf and was under the impression that this caches the settings from the 
database until a user unregisters. When they unregister the data is removed 
from the cache (rtautoclear). For me this was a nice compromise.

 

This is from memory but I’m pretty sure I got this from the documentation 
online, if someone can confirm what I’m saying that would be sweet.

 

Thanks.

Nic. 

 
 
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to