<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Aug 9, 2014 at 5:08 PM, Joseph Towery <span dir="ltr"><<a href="mailto:techyjt@bellsouth.net" target="_blank">techyjt@bellsouth.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:12pt">
<div>Hello,</div><div><br></div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-style:normal;background-color:transparent">
I have Asterisk version: Asterisk SVN-branch-11-r420435</div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-style:normal;background-color:transparent">
<br></div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-style:normal;background-color:transparent">I have the
following code:</div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-style:normal;background-color:transparent"><br>
</div><div style="background-color:transparent">exten => 303,1,NoOp(Dialing ${EXTEN})</div><div style="background-color:transparent"> same => n,NoOp(DBKey = ${DBKey})</div><div style="background-color:transparent">
same => n,DB_DELETE(office/${DBKey}) </div><div style="background-color:transparent"> same => n,Playback(auth-thankyou)</div><div style="background-color:transparent"> same => n,Hangup()</div>
<div style="background-color:transparent"><br></div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-style:normal;background-color:transparent">
And I get the following error:</div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-style:normal;background-color:transparent">
<br></div><div style="color:rgb(0,0,0);font-size:16px;font-family:HelveticaNeue,'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;font-style:normal;background-color:transparent">[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)</div>
<div> == Spawn extension (LocalSets, 303, 3) exited non-zero on 'SIP/0015652CABE8_1-0000006c'</div><div><br></div><div>I checked func_db.c and
the code is in place for DB_DELETE.</div></div></div></blockquote><div><br></div><div>DB_DELETE is a function not a dialplan application.<br><br></div><div>Use:<br></div><div>same => n,Set(DB_DELETE(office/${DBKey})=)<br>
</div><div>or<br></div><div>same => n,Set(DELETED_VALUE=${DB_DELETE(office/${DBKey})})<br><br></div><div>Richard<br></div></div><br></div></div>