Hi,
I am facing some problem with DBdel it says Error deleting key from
database. Please let me know whats going wrong.
here is the syntax what iam using
exten => _*73.,1,DBdel(CF/${EXTEN:3})
thanks
Somesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20050719/ad02a718/attachment.htm
What is the CLI output you getting? On 7/19/05, someshwarak <someshwarak@tataelxsi.co.in> wrote:> > Hi, > > I am facing some problem with DBdel it says Error deleting key from > database. Please let me know whats going wrong. > here is the syntax what iam using > exten => _*73.,1,DBdel(CF/${EXTEN:3}) > > thanks > Somesh > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > >
> I am facing some problem with DBdel it says Error deleting key from > database. Please let me know whats going wrong. > here is the syntax what iam using > exten => _*73.,1,DBdel(CF/${EXTEN:3})Just a guess but, maybe the key does not exist ?
Hi,
Exactly the key is not there in the database.
Sorry to bother. I have used now
exten => _*73.,DBdel(CF/${CALLERIDNUM})
and its working .
Actually DBput will store both key and value. And DBdel will work by
deleting the key not by the value. I tried deleting by value and is not
working.
May be its good if we have also an option to delete by value. So that both
can be tried.
thanks for your promt response
Somesh
-----Original Message-----
From: Time Bandit [mailto:timebandit001@gmail.com]
Sent: Wednesday, July 20, 2005 1:28 AM
To: someshwarak@tataelxsi.co.in; Asterisk Users Mailing List -
Non-Commercial Discussion
Subject: Re: [Asterisk-Users]Help DBdel is not working.
> I am facing some problem with DBdel it says Error deleting key from
> database. Please let me know whats going wrong.
> here is the syntax what iam using
> exten => _*73.,1,DBdel(CF/${EXTEN:3})
Just a guess but, maybe the key does not exist ?