yes you are right. You should put it before calling in the queue. Set monitor filename as you want. Also you can set directory in the filename here too. So when the queu is triggered and mixmonitor starts it'll use that filename and record inot the file.<div>
<br><br><div class="gmail_quote">On Sat, Sep 24, 2011 at 2:08 AM, bilal ghayyad <span dir="ltr"><<a href="mailto:bilmar_gh@yahoo.com">bilmar_gh@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi All;<br>
<br>
I noticed in the queues.conf the configuration for recording the calls in the queuing, and regarding to the filename (or any other parameter), it is written that I can determine the filename using the command:<br>
<br>
Set(MONITOR_FILENAME=foo)<br>
<br>
<br>
But it should be called from the dialing plan, but really i did not understand how to call it from the dialing plan.<br>
<br>
Well, for example this is my dialing plan to route for the queuing, how I can set the filename:<br>
<br>
[CustomerSupport]<br>
<br>
include => Internal<br>
<br>
exten => s,1,Queue(CustomerSupport,t,,,120)<br>
exten => s,2,Macro(voicemail,SIP/reception)<br>
<br>
By the way, I need in the filename to appear the following:<br>
The SIP username for the IP Phone that the call is routed for it<br>
The calling number<br>
The Time of the call<br>
<br>
Actually for the outbound recording, I am using the below command (I mentioned it to declare the time format I am using and to declare how the filename to be named):<br>
<br>
exten => _9ZXXXXXXXX,1,MixMonitor(${CHANNEL}${EXTEN:1}${STRFTIME(${EPOCH},,%Y%m%d%H%M%S)}.wav)<br>
<br>
So I hope if someone can help me to write the Set(MONITOR_FILENAME=foo) in a way to acheive same format the filename of the recorded outgoing calls (in addition that until now I am not able to know where I have to place the Set(MONITOR_FILENAME=foo).<br>
<br>
<br>
For example, should I place it as following:<br>
exten => s,1,Set(MONITOR_FILENAME=.................)<br>
exten => s,2,Queue(CustomerSupport,t,,,120)<br>
exten => s,3,Macro(voicemail,SIP/reception)<br>
<br>
Appreciate if someone help me plz.<br>
Regards<br>
Bilal<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>