Shaun
2006-Jun-08 01:16 UTC
[Asterisk-Users] how to delete a key from database in extensions.conf
I can set a family/key=value just fine, but how can i delete it? exten => _200,1,AgentCallbackLogin(||${CALLERIDNUM}@default) exten => _200,2,Set(DB(AgentsMAP/${CALLERIDNUM})=${AGENTBYCALLERID_${CALLERIDNUM}}) exten => _200,3,Hangup exten => _201,1,AgentCallbackLogin(||) exten => _201,2,Set(DB(AgentsMAP/${CALLERIDNUM})=) exten => _201,3,Hangup -- ~Shaun
Doug Lytle
2006-Jun-08 02:36 UTC
[Asterisk-Users] how to delete a key from database in extensions.conf
Shaun wrote:> I can set a family/key=value just fine, but how can i delete it? > >http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+DBdel -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
Christophorus Laube
2006-Jun-08 02:49 UTC
[Asterisk-Users] how to delete a key from database in extensions.conf
"show application DBdel" on the CLI. OK this is deprecated but it still works. Maybe asterisk gives you hints what do use now. Doug Lytle schrieb:> Shaun wrote: > >> I can set a family/key=value just fine, but how can i delete it? >> >> > > http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+DBdel > > > -- Ben Franklin quote: "Those who would give up Essential Liberty to > purchase a little Temporary Safety, deserve neither Liberty nor Safety." > > _______________________________________________ > --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 >-------------- next part -------------- A non-text attachment was scrubbed... Name: bob.vcf Type: text/x-vcard Size: 296 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20060608/1321e06b/bob.vcf
Shaun
2006-Jun-08 13:23 UTC
[Asterisk-Users] how to delete a key from database in extensions.conf
Thanks, wonder why this wasnt on the http://www.voip-info.org/wiki/view/Asterisk+functions page... ~Shaun ----- Original Message ----- From: <mgmvoip@mgmvoip.com> To: <asterisk-users@lists.digium.com> Cc: "Shaun" <mailinglists@unix-scripts.com> Sent: Thursday, June 08, 2006 8:25 AM Subject: Re: [Asterisk-Users] how to delete a key from database in extensions.conf>> I can set a family/key=value just fine, but how can i delete it? >> >> exten => _200,1,AgentCallbackLogin(||${CALLERIDNUM}@default) >> exten => >> _200,2,Set(DB(AgentsMAP/${CALLERIDNUM})=${AGENTBYCALLERID_${CALLERIDNUM}}) >> exten => _200,3,Hangup >> exten => _201,1,AgentCallbackLogin(||) >> exten => _201,2,Set(DB(AgentsMAP/${CALLERIDNUM})=) >> exten => _201,3,Hangup > exten => _300,1,DBdel(AgentsMAP/${CALLERIDNUM}) > from the dialplan when the agent dials 300 or > *CLI>database del AgentsMAP "the_callerid_number" > > Benchev >