[asterisk-users] sip.conf register in realtime DB

Jonas Kellens jonas.kellens at telenet.be
Fri Aug 6 03:57:47 CDT 2010


Please can anyone help me with this ?!

I have tried renaming the sip.conf file, or tried including another file 
into sip.conf like sippy.conf and then add sippy.conf => 
mysql,AsteriskDB,ast_config to extconfig.conf but all this is not working.

The only thing that changes something is my example listed below, but 
then I always have that nasty WARNING which I find odd.

I need realtime sip registrations (so without having to do a sip reload).




Kind regards,

Jonas.


On 08/03/2010 10:13 AM, Jonas Kellens wrote:
> Hello list,
>
> scrambling different pieces of info together I've come with the 
> following :
>
> I want to have my "register =>" statements in a MySQL-database, so 
> I've made the following table.
>
> table ast_config :
> id  1
> cat_metric  0
> var_metric  0
> commented  0
> filename  sip.conf
> category  general
> var_name  register
> var_val username:password at sip.provider.net
>
>
> In ext_config (text file) I have :
>
> sipusers => mysql,AsteriskDB,sip_buddies
> sippeers => mysql,AsteriskDB,sip_buddies
> sip.conf => mysql,AsteriskDB,ast_config
>
> In sip.conf (text file) I have also :
>
> sip.conf :
> rtcachefriends=yes             ; Cache realtime friends by adding them 
> to the internal list
>                                 ; just like friends added from the 
> config file only on a
>                                 ; as-needed basis? (yes|no)
>
>
> After a reload I noticed that the registration came through when I 
> executed "sip show registrations". This realtime works.
> But I then get a lot of the following messages :
> /
> [Aug  2 20:05:05] WARNING[29850]: chan_sip.c:18187 build_peer: Qualify 
> is incompatible with dynamic uncached realtime.  Please either turn 
> rtcachefriends on or turn qualify off on peer 'user2'
> [Aug  2 20:05:05] WARNING[29850]: chan_sip.c:18187 build_peer: Qualify 
> is incompatible with dynamic uncached realtime.  Please either turn 
> rtcachefriends on or turn qualify off on peer 'user2'/
>
>
> rtcachefriends is turned on (see above)
> qualify is on on every peer (and I want it to stay that way)
>
>
>
> Can anyone tell me what I need to configure to get a 100% working 
> example ?!
>
>
>
> Kind regards,
>
> Jonas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100806/76613411/attachment.htm 


More information about the asterisk-users mailing list