<div dir="ltr"><div style>Hi,</div><div style><br></div>exten => _0614.,n,MixMonitor(zap_g2_${EXTEN}_${UNIQUEID}_<b>${CALLER}</b>.wav|av(0}V(0))<br><div><br></div><div style>This should append the caller number in your recorded file name.</div>
<div style><br></div><div style>Ensure that you save the callerid in the variable before you're changing it to MY_CALLERID</div><div style><br></div><div style><br></div><div style><div>exten => _0614.,1,<b>Set(CALLER=${CALLERID(number)})</b><br>
exten => _0614.,n,Set(CALLERID(number)=MY_CALLERID)</div><div>exten => _0614.,n,MixMonitor(zap_g2_${EXTEN}_<b>${CALLER}</b>.wav|av(0}V(0))</div><div>exten => _0614.,n,Set(AUDIOHOOK_INHERIT(MixMonitor)=yes)</div><div>
exten => _0614.,n,Dial(Zap/g2/${EXTEN},30,A(this-call-may-be-monitored-or-recorded)</div><div>exten => _0614.,n,Hangup();</div><div><br></div><div style>Best Regards,</div><div style>Sammy</div><div style><br></div>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 7, 2013 at 8:48 PM, Salaheddine Elharit <span dir="ltr"><<a href="mailto:salah.elharit200@gmail.com" target="_blank">salah.elharit200@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><p class="MsoNormal"></p><p class="MsoNormal"><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif">Hello list</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"><br>
</span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"> i have asterisk 1.4 installed and i
use MixMonitor to save the outbound call like below </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif">exten => _0614.,1,Set(CALLERID(number)=MY_CALLERID)</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif">exten => _0614.,n,MixMonitor(zap_g2_${EXTEN}_${UNIQUEID}.wav|av(0}V(0))</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif">exten =>
_0614.,n,Set(AUDIOHOOK_INHERIT(MixMonitor)=yes)</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif">exten =>
_0614.,n,Dial(Zap/g2/${EXTEN},30,A(this-call-may-be-monitored-or-recorded)</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif">exten => _0614.,n,Hangup();</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif">using this code i can save all outbound calls
begin with 0614 in /var/spool/asterisk/monitor like this
(zap_g2_0614xxxxxx_1360219942.10291.wav)</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif">i use 3 phones sip (222,223,224) and my question how
to save the sip phone with number like that (zap_g2_0614xxxxxx_224) for
example </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt;font-family:Arial,sans-serif"> </span></p>
<p class="MsoNormal"><span style="font-size:12pt;font-family:Arial,sans-serif">thanks and regards </span></p><p></p><div><br></div><div><br></div></div>
<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>