[Asterisk-Users] how to delete a key from database in
extensions.conf
Shaun
mailinglists at unix-scripts.com
Thu Jun 8 13:23:58 MST 2006
Thanks, wonder why this wasnt on the
http://www.voip-info.org/wiki/view/Asterisk+functions page...
~Shaun
----- Original Message -----
From: <mgmvoip at mgmvoip.com>
To: <asterisk-users at lists.digium.com>
Cc: "Shaun" <mailinglists at 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
>
More information about the asterisk-users
mailing list