On Sat, Aug 9, 2014 at 5:08 PM, Joseph Towery <[email protected]> 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
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to