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

Jonas Kellens jonas.kellens at telenet.be
Tue Aug 3 03:13:34 CDT 2010


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/20100803/1e97de0b/attachment.htm 


More information about the asterisk-users mailing list