<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div><span>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. </span></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> On Saturday, August 9, 2014 7:04 PM, Richard Mudgett <rmudgett@digium.com> wrote:<br> </font> </div> <br><br> <div class="y_msg_container"><div id="yiv8945532202"><div><div dir="ltr"><br clear="none"><div
class="yiv8945532202gmail_extra"><br clear="none"><br clear="none"><div class="yiv8945532202gmail_quote">On Sat, Aug 9, 2014 at 5:08 PM, Joseph Towery <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:techyjt@bellsouth.net" target="_blank" href="mailto:techyjt@bellsouth.net">techyjt@bellsouth.net</a>></span> wrote:<br clear="none">
<blockquote class="yiv8945532202gmail_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); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);">
<div>Hello,</div><div><br clear="none"></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 clear="none"></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 clear="none">
</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 clear="none"></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 clear="none"></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 clear="none"></div><div>I checked func_db.c and
the code is in place for DB_DELETE.</div></div></div></blockquote><div><br clear="none"></div><div>DB_DELETE is a function not a dialplan application.<br clear="none"><br clear="none"></div><div>Use:<br clear="none"></div><div>same => n,Set(DB_DELETE(office/${DBKey})=)<div class="yiv8945532202yqt7282822372" id="yiv8945532202yqtfd13472"><br clear="none">
</div></div><div><div class="yiv8945532202yqt7282822372" id="yiv8945532202yqtfd46618">or</div><br clear="none"></div><div>same => n,Set(DELETED_VALUE=${DB_DELETE(office/${DBKey})})<br clear="none"><br clear="none"></div><div>Richard<div class="yiv8945532202yqt7282822372" id="yiv8945532202yqtfd96200"><br clear="none"></div></div></div><div class="yiv8945532202yqt7282822372" id="yiv8945532202yqtfd06479"><br clear="none"></div></div></div></div></div><br><br></div> </div> </div> </div> </div></body></html>