<div dir="ltr"><div>you can try this </div>
<div> </div>
<div><span lang="FR">
<p>exten =&gt; 105,1,MixMonitor(sip_${EXTEN}_${UNIQUEID}.wav|av(0}V(0))</p>
<p>exten =&gt; 105,n,Set(AUDIOHOOK_INHERIT(MixMonitor)=yes)</p>
<p>exten =&gt; 105,n,Dial(SIP/${EXTEN},,KkTt)</p>
<p>exten =&gt; 105,n,Hangup();</p>
<p> </p>
<p>i have add this code in extension.conf and i can record the number and extension in /var/spool/asterisk/monitor</p>
<p>Regards</p></span><br><br></div>
<div class="gmail_quote">2011/5/10 Silver Thorne <span dir="ltr">&lt;<a href="mailto:szilverthorne@gmail.com">szilverthorne@gmail.com</a>&gt;</span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hello Folks;<br><br>I appreciate all of the help so far - thanks.<br><br>Another question: I am using MixMonitor() to record calls and I would like to include the called number/extension in the filename:<br>
<br>In my dialplan, I am able to save the file with the caller id in the filename. However, what I am a little unsure about is the incoming number/called number/extension - passing that information on to part of the filename.<br>
<br>Does anyone follow me?<br><br>Glen<br><br>--<br>_____________________________________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>             <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</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" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div>