<div dir="ltr"><div><div>I'd recommend trying the support resources for the GUI that is managing your asterisk installation.<br><br></div>This looks like it might be FreePBX dialplan logic to me, Most likely it won't be something that the list will be able to help you modify. <br><br></div><a href="http://community.freepbx.org/">http://community.freepbx.org/</a> is the FreePBX Community support forum.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 13, 2016 at 4:32 PM, Ian Harding <span dir="ltr"><<a href="mailto:ianh@brownpapertickets.com" target="_blank">ianh@brownpapertickets.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This must be something simple.  We have recording starting on all our<br>
inbound calls and it works fine.  I'd like to have the option to stop<br>
recording when transferred to certain extensions.<br>
<br>
I set extension 7077 to "Never" and the log makes it look like the<br>
recording was stopped but it was not.<br>
<br>
Any ideas how to troubleshoot?<br>
<br>
[2016-09-13 14:42:46] VERBOSE[30146][C-0002c851] pbx.c:     -- Executing<br>
[exten@sub-record-check:1] NoOp("SIP/6010-000386f2", "Exten Recording<br>
Check between 6010 and 7077") in new stack<br>
[2016-09-13 14:42:46] VERBOSE[30146][C-0002c851] pbx.c:     -- Executing<br>
[exten@sub-record-check:2] Set("SIP/6010-000386f2", "CALLTYPE=internal")<br>
in new stack<br>
[2016-09-13 14:42:46] VERBOSE[30146][C-0002c851] pbx.c:     -- Executing<br>
[exten@sub-record-check:3] ExecIf("SIP/6010-000386f2",<br>
"0?Set(CALLTYPE=)") in new stack<br>
[2016-09-13 14:42:46] VERBOSE[30146][C-0002c851] pbx.c:     -- Executing<br>
[exten@sub-record-check:4] Set("SIP/6010-000386f2", "CALLEE=never") in<br>
new stack<br>
[2016-09-13 14:42:46] VERBOSE[30146][C-0002c851] pbx.c:     -- Executing<br>
[exten@sub-record-check:5] ExecIf("SIP/6010-000386f2",<br>
"0?Set(CALLEE=dontcare)") in new stack<br>
[2016-09-13 14:42:46] VERBOSE[30146][C-0002c851] pbx.c:     -- Executing<br>
[exten@sub-record-check:6] GotoIf("SIP/6010-000386f2", "0?callee") in<br>
new stack<br>
[2016-09-13 14:42:46] VERBOSE[30146][C-0002c851] pbx.c:     -- Executing<br>
[exten@sub-record-check:7] GotoIf("SIP/6010-000386f2", "0?caller") in<br>
new stack<br>
[2016-09-13 14:42:46] VERBOSE[30146][C-0002c851] pbx.c:     -- Executing<br>
[exten@sub-record-check:8] ExecIf("SIP/6010-000386f2",<br>
"1?Set(CALLER_PRI=0):Set(<wbr>CALLER_PRI=0)") in new stack<br>
[2016-09-13 14:42:46] VERBOSE[30146][C-0002c851] pbx.c:     -- Executing<br>
[exten@sub-record-check:9] ExecIf("SIP/6010-000386f2",<br>
"1?Set(CALLEE_PRI=0):Set(<wbr>CALLEE_PRI=0)") in new stack<br>
[2016-09-13 14:42:46] VERBOSE[30146][C-0002c851] pbx.c:     -- Executing<br>
[exten@sub-record-check:10] GotoIf("SIP/6010-000386f2",<br>
"1?caller:callee") in new stack<br>
[2016-09-13 14:42:46] VERBOSE[30146][C-0002c851] pbx.c:     -- Goto<br>
(sub-record-check,exten,13)<br>
[2016-09-13 14:42:46] VERBOSE[30146][C-0002c851] pbx.c:     -- Executing<br>
[exten@sub-record-check:13] Set("SIP/6010-000386f2", "RECMODE=dontcare")<br>
in new stack<br>
[2016-09-13 14:42:46] VERBOSE[30146][C-0002c851] pbx.c:     -- Executing<br>
[exten@sub-record-check:14] ExecIf("SIP/6010-000386f2",<br>
"0?Set(RECMODE=dontcare)") in new stack<br>
[2016-09-13 14:42:46] VERBOSE[30146][C-0002c851] pbx.c:     -- Executing<br>
[exten@sub-record-check:15] ExecIf("SIP/6010-000386f2",<br>
"1?Set(RECMODE=never)") in new stack<br>
[2016-09-13 14:42:46] VERBOSE[30146][C-0002c851] pbx.c:     -- Executing<br>
[exten@sub-record-check:16] Gosub("SIP/6010-000386f2",<br>
"recordcheck,1(never,internal,<wbr>7077)") in new stack<br>
[2016-09-13 14:42:46] VERBOSE[30146][C-0002c851] pbx.c:     -- Executing<br>
[recordcheck@sub-record-check:<wbr>1] NoOp("SIP/6010-000386f2", "Starting<br>
recording check against never") in new stack<br>
[2016-09-13 14:42:46] VERBOSE[30146][C-0002c851] pbx.c:     -- Executing<br>
[recordcheck@sub-record-check:<wbr>2] Goto("SIP/6010-000386f2", "never") in<br>
new stack<br>
[2016-09-13 14:42:46] VERBOSE[30146][C-0002c851] pbx.c:     -- Goto<br>
(sub-record-check,recordcheck,<wbr>14)<br>
[2016-09-13 14:42:46] VERBOSE[30146][C-0002c851] pbx.c:     -- Executing<br>
[recordcheck@sub-record-check:<wbr>14] Set("SIP/6010-000386f2",<br>
"__REC_POLICY_MODE=NEVER") in new stack<br>
[2016-09-13 14:42:46] VERBOSE[30146][C-0002c851] pbx.c:     -- Executing<br>
[recordcheck@sub-record-check:<wbr>15] Goto("SIP/6010-000386f2", "stoprec")<br>
in new stack<br>
[2016-09-13 14:42:46] VERBOSE[30146][C-0002c851] pbx.c:     -- Goto<br>
(sub-record-check,recordcheck,<wbr>25)<br>
[2016-09-13 14:42:46] VERBOSE[30146][C-0002c851] pbx.c:     -- Executing<br>
[recordcheck@sub-record-check:<wbr>25] NoOp("SIP/6010-000386f2", "Stopping<br>
recording: internal, 7077") in new stack<br>
[2016-09-13 14:42:46] VERBOSE[30146][C-0002c851] pbx.c:     -- Executing<br>
[recordcheck@sub-record-check:<wbr>26] Set("SIP/6010-000386f2",<br>
"__REC_STATUS=STOPPED") in new stack<br>
[2016-09-13 14:42:46] VERBOSE[30146][C-0002c851] pbx.c:     -- Executing<br>
[recordcheck@sub-record-check:<wbr>27] System("SIP/6010-000386f2",<br>
"/var/lib/asterisk/bin/<wbr>stoprecording.php "SIP/6010-000386f2"") in new stack<br>
[2016-09-13 14:42:46] VERBOSE[30146][C-0002c851] pbx.c:     -- Executing<br>
[recordcheck@sub-record-check:<wbr>28] Return("SIP/6010-000386f2", "") in new<br>
stack<br>
[2016-09-13 14:42:46] VERBOSE[30146][C-0002c851] pbx.c:     -- Executing<br>
[exten@sub-record-check:17] Return("SIP/6010-000386f2", "") in new stack<br>
[2016-09-13 14:42:46] VERBOSE[30146][C-0002c851] pbx.c:     -- Executing<br>
[s@macro-exten-vm:7] GotoIf("SIP/6010-000386f2", "1?macrodial") in new stack<br>
[2016-09-13 14:42:46] VERBOSE[30146][C-0002c851] pbx.c:     -- Goto<br>
(macro-exten-vm,s,13)<br>
[2016-09-13 14:42:46] VERBOSE[30146][C-0002c851] pbx.c:     -- Executing<br>
[s@macro-exten-vm:13] GosubIf("SIP/6010-000386f2", "0?clrheader,1()") in<br>
new stack<br>
[2016-09-13 14:42:46] VERBOSE[30146][C-0002c851] pbx.c:     -- Executing<br>
[s@macro-exten-vm:14] Macro("SIP/6010-000386f2", "dial-one,15,Ttr,7077")<br>
in new stack<br>
[2016-09-13 14:42:46] VERBOSE[30146][C-0002c851] pbx.c:     -- Executing<br>
[s@macro-dial-one:1] Set("SIP/6010-000386f2", "DEXTEN=7077") in new stack<br>
[2016-09-13 14:42:46] VERBOSE[30146][C-0002c851] pbx.c:     -- Executing<br>
[s@macro-dial-one:2] Set("SIP/6010-000386f2", "DIALSTATUS_CW=") in new stack<br>
[2016-09-13 14:42:46] VERBOSE[30146][C-0002c851] pbx.c:     -- Executing<br>
[s@macro-dial-one:3] GosubIf("SIP/6010-000386f2", "0?screen,1()") in new<br>
stack<br>
[2016-09-13 14:42:46] VERBOSE[30146][C-0002c851] pbx.c:     -- Executing<br>
[s@macro-dial-one:4] GosubIf("SIP/6010-000386f2", "1?cf,1()") in new stack<br>
[2016-09-13 14:42:46] VERBOSE[30146][C-0002c851] pbx.c:     -- Executing<br>
[cf@macro-dial-one:1] Set("SIP/6010-000386f2", "CFAMPUSER=6010") in new<br>
stack<br>
[2016-09-13 14:42:46] VERBOSE[30146][C-0002c851] pbx.c:     -- Executing<br>
[cf@macro-dial-one:2] ExecIf("SIP/6010-000386f2", "0?Return()") in new stack<br>
<br>
<br>
--<br>
Ian Harding<br>
IT Director<br>
Brown Paper Tickets<br>
1-800-838-3006 ext 7186<br>
<a href="http://www.brownpapertickets.com" rel="noreferrer" target="_blank">http://www.brownpapertickets.<wbr>com</a><br>
<br>
--<br>
______________________________<wbr>______________________________<wbr>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Join the Asterisk Community at the 13th AstriCon, September 27-29, 2016<br>
      <a href="http://www.asterisk.org/community/astricon-user-conference" rel="noreferrer" target="_blank">http://www.asterisk.org/<wbr>community/astricon-user-<wbr>conference</a><br>
<br>
New to Asterisk? Start here:<br>
      <a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/<wbr>wiki/display/AST/Getting+<wbr>Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/<wbr>mailman/listinfo/asterisk-<wbr>users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects.<br>---Heinlein</div>
</div>