[asterisk-users] DB_DELETE

Joseph Towery techyjt at bellsouth.net
Sat Aug 9 18:14:02 CDT 2014


Thanks so much.  I should have figured that one out, but references online didn't show the Set command.  Spent 2 hours I will never get back.  


On Saturday, August 9, 2014 7:04 PM, Richard Mudgett <rmudgett at digium.com> wrote:
 







On Sat, Aug 9, 2014 at 5:08 PM, Joseph Towery <techyjt at bellsouth.net> wrote:

Hello,
>
>
>I have Asterisk version: Asterisk SVN-branch-11-r420435
>
>
>I have the following code:
>
>
>exten => 303,1,NoOp(Dialing ${EXTEN})
>        same => n,NoOp(DBKey = ${DBKey})
>        same => n,DB_DELETE(office/${DBKey})  
>        same => n,Playback(auth-thankyou)
>        same => n,Hangup()
>
>
>And I get the following error:
>
>
>[2014-08-09 18:00:30] WARNING[4338][C-00000067]: pbx.c:4869 pbx_extension_helper: No application 'DB_DELETE' for extension (LocalSets, 303, 3)
>  == Spawn extension (LocalSets, 303, 3) exited non-zero on 'SIP/0015652CABE8_1-0000006c'
>
>
>I checked func_db.c and the code is in place for DB_DELETE.

DB_DELETE is a function not a dialplan application.


Use:

same => n,Set(DB_DELETE(office/${DBKey})=)

or

same => n,Set(DELETED_VALUE=${DB_DELETE(office/${DBKey})})


Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140809/8095f45d/attachment.html>


More information about the asterisk-users mailing list