<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I am trying to record calls on demand both inbound and outbound calls.&nbsp; I can record outbound calls just fine but not inbound calls or calls from an internally between extensions.&nbsp; &nbsp;I am using the latest asterisk 1.8.x certified version.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>On an outbound call I see:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>== Using SIP RTP CoS mark 5<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Called SIP/ BVTrunk /7190000000<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- SIP/BVTrunk-00000163 is making progress passing it to SIP/1010-00000162<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- SIP/BVTrunk-00000163 answered SIP/1010-00000162<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; --&nbsp; Feature Found: apprecord exten: apprecord<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-one-touch-record:1] ExecIf(&quot;SIP/1010-00000162&quot;, &quot;0?Set(THISEXTEN=71900000000)&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-one-touch-record:2] ExecIf(&quot;SIP/1010-00000162&quot;, &quot;1?Set(THISEXTEN=1010)&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-one-touch-record:3] ExecIf(&quot;SIP/1010-00000162&quot;, &quot;0?MacroExit()&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-one-touch-record:4] GotoIf(&quot;SIP/1010-00000162&quot;, &quot;0?stoprec&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-one-touch-record:5] GotoIf(&quot;SIP/1010-00000162&quot;, &quot;0?stopped&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-one-touch-record:6] GotoIf(&quot;SIP/1010-00000162&quot;, &quot;0?recording&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-one-touch-record:7] Set(&quot;SIP/1010-00000162&quot;, &quot;MASTER_CHANNEL(ONETOUCH_REC)=RECORDING&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-one-touch-record:8] Set(&quot;SIP/1010-00000162&quot;, &quot;MASTER_CHANNEL(REC_STATUS)=RECORDING&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-one-touch-record:9] Set(&quot;SIP/1010-00000162&quot;, &quot;AUDIOHOOK_INHERIT(MixMonitor)=yes&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-one-touch-record:10] MixMonitor(&quot;SIP/1010-00000162&quot;, &quot;2012/08/21/out-7190000000-1010-20120821-183119-1345595479.530.wav,a,&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp; == Begin MixMonitor Recording SIP/1010-00000162<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-one-touch-record:11] Set(&quot;SIP/1010-00000162&quot;, &quot;MON_FMT=wav&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-one-touch-record:12] Set(&quot;SIP/1010-00000162&quot;, &quot;MASTER_CHANNEL(CDR(recordingfile))=out-7190000000-1010-20120821-183119-1345595479.530.wav&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-one-touch-record:13] Set(&quot;SIP/1010-00000162&quot;, &quot;MASTER_CHANNEL(ONETOUCH_RECFILE)=out-7190000000-1010-20120821-183119-1345595479.530.wav&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-one-touch-record:14] Playback(&quot;SIP/1010-00000162&quot;, &quot;beep&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- &lt;SIP/1010-00000162&gt; Playing 'beep.ulaw' (language 'en')<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-one-touch-record:15] MacroExit(&quot;SIP/1010-00000162&quot;, &quot;&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Executing [h@macro-dialout-trunk:1] Macro(&quot;SIP/1010-00000162&quot;, &quot;hangupcall,&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-hangupcall:1] GotoIf(&quot;SIP/1010-00000162&quot;, &quot;1?theend&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Goto (macro-hangupcall,s,3)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-hangupcall:3] ExecIf(&quot;SIP/1010-00000162&quot;, &quot;1?Set(CDR(recordingfile)=out-7190000000-1010-20120821-183119-1345595479.530.wav)&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-hangupcall:4] Hangup(&quot;SIP/1010-00000162&quot;, &quot;&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp; == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/1010-00000162' in macro 'hangupcall'<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp; == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/1010-00000162'<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp; == Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on 'SIP/1010-00000162' in macro 'dialout-trunk'<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp; == Spawn extension (from-internal, 7190000000, 6) exited non-zero on 'SIP/1010-00000162'<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp; == MixMonitor close filestream<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp; == End MixMonitor Recording SIP/1010-00000162<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp; == Extension Changed 1010[ext-local] new state Idle for Notify User 1004<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>On inbound calls I see:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>== Using SIP RTP CoS mark 5<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Called SIP/1010<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Connected line update to SIP/ BVTrunk -00000160 prevented.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp; == Extension Changed 1010[ext-local] new state Ringing for Notify User 1004<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- SIP/1010-00000161 is ringing<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Connected line update to SIP/ BVTrunk -00000160 prevented.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- SIP/1010-00000161 answered SIP/ BVTrunk -00000160<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp; == Extension Changed 1010[ext-local] new state InUse for Notify User 1004<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-auto-blkvm:1] Set(&quot;SIP/1010-00000161&quot;, &quot;__MACRO_RESULT=&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-auto-blkvm:2] Macro(&quot;SIP/1010-00000161&quot;, &quot;blkvm-clr,&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-blkvm-clr:1] Set(&quot;SIP/1010-00000161&quot;, &quot;SHARED(BLKVM,SIP/BVTrunk-00000160)=&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-blkvm-clr:2] Set(&quot;SIP/1010-00000161&quot;, &quot;GOSUB_RETVAL=&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-blkvm-clr:3] MacroExit(&quot;SIP/1010-00000161&quot;, &quot;&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-auto-blkvm:3] ExecIf(&quot;SIP/1010-00000161&quot;, &quot;0?Set(MASTER_CHANNEL(CONNECTEDLINE(num))=1010)&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-auto-blkvm:4] ExecIf(&quot;SIP/1010-00000161&quot;, &quot;0?Set(MASTER_CHANNEL(CONNECTEDLINE(name))=Josh Hopkins)&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; --&nbsp; Feature Found: apprecord exten: apprecord<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-one-touch-record:1] ExecIf(&quot;SIP/1010-00000161&quot;, &quot;0?Set(THISEXTEN=1010)&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-one-touch-record:2] ExecIf(&quot;SIP/1010-00000161&quot;, &quot;1?Set(THISEXTEN=1010)&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-one-touch-record:3] ExecIf(&quot;SIP/1010-00000161&quot;, &quot;1?MacroExit()&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Executing [h@macro-dial:1] Macro(&quot;SIP/ BVTrunk -00000160&quot;, &quot;hangupcall&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-hangupcall:1] GotoIf(&quot;SIP/ BVTrunk -00000160&quot;, &quot;1?theend&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Goto (macro-hangupcall,s,3)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-hangupcall:3] ExecIf(&quot;SIP/ BVTrunk -00000160&quot;, &quot;0?Set(CDR(recordingfile)=)&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;&nbsp;&nbsp; -- Executing [s@macro-hangupcall:4] Hangup(&quot;SIP/ BVTrunk -00000160&quot;, &quot;&quot;) in new stack<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp; == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/ BVTrunk -00000160' in macro 'hangupcall'<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp; == Spawn extension (macro-dial, h, 1) exited non-zero on 'SIP/ BVTrunk -00000160'<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp; == Spawn extension (macro-dial, s, 7) exited non-zero on 'SIP/BVTrunk-00000160' in macro 'dial'<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp; == Spawn extension (from-did-direct, 1010, 21) exited non-zero on 'SIP/BVTrunk-00000160'<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp; == Extension Changed 1010[ext-local] new state Idle for Notify User 1004<o:p></o:p></span></p></div></body></html>