[Asterisk-Users] astdb entry in sip.conf

Julian Lyndon-Smith asterisk at dotr.com
Thu Jun 1 02:02:23 MST 2006


Err, I'm not trying to write to the db using the dialplan. In sip.conf 
there seems to be the ability to automatically create a db entry on 
startup. The line in sip.conf is

astdb=chan2ext/SIP/grandstream1=1234	; ensures an astDB entry exists

But it doesn't ensure an astDB entry exists :)

Julian.

turby wrote:
> use DBput a DBget  (http://www.voip-info.org/wiki/view/Asterisk+database)
> 
> astdb=chan2ext/SIP/grandstream1=1234 is only variable
> 
> turby 
> 
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Julian
> Lyndon-Smith
> Sent: Thursday, June 01, 2006 9:39 AM
> To: asterisk-users at lists.digium.com
> Subject: [Asterisk-Users] astdb entry in sip.conf
> 
> Using svn trunk, I was trying to see what the astdb entry in the sip.conf
> file does.
> 
> Nothing :)
> 
> I presume that it's meant to create an entry in the astdb.
> 
> so, I have
> 
> astdb=chan2ext/SIP/grandstream1=1234
> 
> in sip.conf
> 
> But database show only gives
> 
> *CLI> database show
> /SIP/Registry/706                                 : 
> 192.168.0.200:5060:3600:706:sip:706 at 192.168.0.200:5060
> /SIP/Registry/731                                 : 
> 192.168.6.156:5060:3600:731:sip:731 at 192.168.6.156:5060
> /dundi/secret                                     : 
> RpC4PXLxxxxxxxxxxxxxxxxxtslY5OZOza7OSws60yzaA
> /dundi/secretexpiry                               : 1149149129
> 
> Do I need to have anything else configured or should I report this as a bug
> ?
> 
> 
> Julian
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 




More information about the asterisk-users mailing list