<div dir="ltr"><div><div><div><div>You must start a record session on the caller incoming call before sending it to a queue and remove recording in callcenter configuration.<br><br><a href="https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_record_session">https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_record_session</a><br>
<br></div>Something like :<br></div>&lt;action application=&quot;record_session&quot; data=&quot;...&quot; /&gt;<br></div>&lt;action application=&quot;callcenter&quot; ....<br><br></div>With this, it&#39;s the caller channel which is recorded and not the agent channel in callcenter.<br>
You call also have IVR choice, etc... if you put it before the IVR.<br><br>Regards,<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/18 Mimiko <span dir="ltr">&lt;<a href="mailto:vbvbrj@gmail.com" target="_blank">vbvbrj@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 18.09.2013 10:09, Vincent Xia wrote:<br>
&gt; hi Mimiko, could you post your queue configuration and the dialplan that<br>
&gt; does the transfer, if possible?<br>
&gt;<br>
<br>
</div>Its rather simple:<br>
callcenter.conf:<br>
<br>
&lt;queue name=&quot;que1@$${domain}&quot;&gt;<br>
       &lt;param name=&quot;strategy&quot; value=&quot;longest-idle-agent&quot;/&gt;<br>
       &lt;param name=&quot;moh-sound&quot; value=&quot;$${hold_music}&quot;/&gt;<br>
       &lt;param name=&quot;record-template&quot;<br>
value=&quot;$${recordings_dir}/${strftime(%Y-%m)}/${strftime(%Y-%m-%d)}/${strftime(%Y-%m-%d-%H-%M-%S)}.${caller_id_number}.to.${cc_agent}.mp3&quot;/&gt;<br>
       &lt;param name=&quot;time-base-score&quot; value=&quot;system&quot;/&gt;<br>
       &lt;param name=&quot;max-wait-time&quot; value=&quot;0&quot;/&gt;<br>
       &lt;param name=&quot;max-wait-time-with-no-agent&quot; value=&quot;1&quot;/&gt;<br>
       &lt;param name=&quot;max-wait-time-with-no-agent-time-reached&quot; value=&quot;5&quot;/&gt;<br>
       &lt;param name=&quot;tier-rules-apply&quot; value=&quot;false&quot;/&gt;<br>
       &lt;param name=&quot;tier-rule-wait-second&quot; value=&quot;300&quot;/&gt;<br>
       &lt;param name=&quot;tier-rule-wait-multiply-level&quot; value=&quot;true&quot;/&gt;<br>
       &lt;param name=&quot;tier-rule-no-agent-no-wait&quot; value=&quot;false&quot;/&gt;<br>
       &lt;param name=&quot;discard-abandoned-after&quot; value=&quot;60&quot;/&gt;<br>
       &lt;param name=&quot;abandoned-resume-allowed&quot; value=&quot;true&quot;/&gt;<br>
&lt;/queue&gt;<br>
<br>
Dialplan:<br>
&lt;extension name=&quot;que1&quot;&gt;<br>
        &lt;condition field=&quot;destination_number&quot; expression=&quot;^111$&quot; break=&quot;on-false&quot;&gt;<br>
        &lt;action application=&quot;set&quot; data=&quot;playback_terminators=#&quot;/&gt;<br>
        &lt;action application=&quot;playback&quot; data=&quot;phrase:intro&quot;/&gt;<br>
        &lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;<br>
        &lt;action application=&quot;set&quot; data=&quot;RECORD_STEREO=true&quot;/&gt;<br>
        &lt;action application=&quot;set&quot; data=&quot;record_sample_rate=8000&quot;/&gt;<br>
        &lt;action application=&quot;bind_meta_app&quot; data=&quot;1 b s execute_extension::dx<br>
XML features&quot;/&gt;<br>
        &lt;action application=&quot;callcenter&quot; data=&quot;qu1@$${domain}&quot;/&gt;<br>
        &lt;action application=&quot;set&quot; data=&quot;playback_terminators=#&quot;/&gt;<br>
        &lt;action application=&quot;playback&quot; data=&quot;phrase:no_agents_leave_message&quot;/&gt;<br>
        &lt;action application=&quot;answer&quot;/&gt;<br>
        &lt;action application=&quot;set&quot; data=&quot;skip_greeting=true&quot;/&gt;<br>
        &lt;action application=&quot;set&quot; data=&quot;skip_instructions=true&quot;/&gt;<br>
        &lt;action application=&quot;voicemail&quot; data=&quot;default ${domain_name} que1&quot;/&gt;<br>
        &lt;action application=&quot;hangup&quot;/&gt;<br>
        &lt;/condition&gt;<br>
&lt;/extension&gt;<br>
<br>
&lt;extension name=&quot;dx&quot;&gt;<br>
        &lt;condition field=&quot;destination_number&quot; expression=&quot;^dx$&quot;&gt;<br>
                &lt;action application=&quot;answer&quot;/&gt;<br>
                &lt;action application=&quot;read&quot; data=&quot;11 11<br>
&#39;tone_stream://%(10000,0,350,440)&#39; digits 5000 #&quot;/&gt;<br>
                &lt;action application=&quot;execute_extension&quot; data=&quot;is_transfer XML features&quot;/&gt;<br>
        &lt;/condition&gt;<br>
&lt;/extension&gt;<br>
<br>
&lt;extension name=&quot;att_xfer&quot;&gt;<br>
        &lt;condition field=&quot;destination_number&quot; expression=&quot;^att_xfer$&quot;&gt;<br>
                &lt;action application=&quot;read&quot; data=&quot;3 4<br>
&#39;tone_stream://%(10000,0,350,440)&#39; digits 30000 #&quot;/&gt;<br>
                &lt;action application=&quot;set&quot; data=&quot;origination_cancel_key=#&quot;/&gt;<br>
                &lt;action application=&quot;att_xfer&quot; data=&quot;user/${digits}@$${domain}&quot;/&gt;<br>
        &lt;/condition&gt;<br>
&lt;/extension&gt;<br>
<br>
&lt;extension name=&quot;is_transfer&quot;&gt;<br>
        &lt;condition field=&quot;destination_number&quot; expression=&quot;^is_transfer$&quot;/&gt;<br>
        &lt;condition field=&quot;${digits}&quot; expression=&quot;^(\d+)$&quot;&gt;<br>
                &lt;action application=&quot;transfer&quot; data=&quot;-bleg ${digits} XML default&quot;/&gt;<br>
                &lt;anti-action application=&quot;eval&quot; data=&quot;cancel transfer&quot;/&gt;<br>
        &lt;/condition&gt;<br>
&lt;/extension&gt;<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Mimiko desu.<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div>