<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><action application="record_session" data="..." /><br></div><action application="callcenter" ....<br><br></div>With this, it'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"><<a href="mailto:vbvbrj@gmail.com" target="_blank">vbvbrj@gmail.com</a>></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>
> hi Mimiko, could you post your queue configuration and the dialplan that<br>
> does the transfer, if possible?<br>
><br>
<br>
</div>Its rather simple:<br>
callcenter.conf:<br>
<br>
<queue name="que1@$${domain}"><br>
<param name="strategy" value="longest-idle-agent"/><br>
<param name="moh-sound" value="$${hold_music}"/><br>
<param name="record-template"<br>
value="$${recordings_dir}/${strftime(%Y-%m)}/${strftime(%Y-%m-%d)}/${strftime(%Y-%m-%d-%H-%M-%S)}.${caller_id_number}.to.${cc_agent}.mp3"/><br>
<param name="time-base-score" value="system"/><br>
<param name="max-wait-time" value="0"/><br>
<param name="max-wait-time-with-no-agent" value="1"/><br>
<param name="max-wait-time-with-no-agent-time-reached" value="5"/><br>
<param name="tier-rules-apply" value="false"/><br>
<param name="tier-rule-wait-second" value="300"/><br>
<param name="tier-rule-wait-multiply-level" value="true"/><br>
<param name="tier-rule-no-agent-no-wait" value="false"/><br>
<param name="discard-abandoned-after" value="60"/><br>
<param name="abandoned-resume-allowed" value="true"/><br>
</queue><br>
<br>
Dialplan:<br>
<extension name="que1"><br>
<condition field="destination_number" expression="^111$" break="on-false"><br>
<action application="set" data="playback_terminators=#"/><br>
<action application="playback" data="phrase:intro"/><br>
<action application="set" data="hangup_after_bridge=true"/><br>
<action application="set" data="RECORD_STEREO=true"/><br>
<action application="set" data="record_sample_rate=8000"/><br>
<action application="bind_meta_app" data="1 b s execute_extension::dx<br>
XML features"/><br>
<action application="callcenter" data="qu1@$${domain}"/><br>
<action application="set" data="playback_terminators=#"/><br>
<action application="playback" data="phrase:no_agents_leave_message"/><br>
<action application="answer"/><br>
<action application="set" data="skip_greeting=true"/><br>
<action application="set" data="skip_instructions=true"/><br>
<action application="voicemail" data="default ${domain_name} que1"/><br>
<action application="hangup"/><br>
</condition><br>
</extension><br>
<br>
<extension name="dx"><br>
<condition field="destination_number" expression="^dx$"><br>
<action application="answer"/><br>
<action application="read" data="11 11<br>
'tone_stream://%(10000,0,350,440)' digits 5000 #"/><br>
<action application="execute_extension" data="is_transfer XML features"/><br>
</condition><br>
</extension><br>
<br>
<extension name="att_xfer"><br>
<condition field="destination_number" expression="^att_xfer$"><br>
<action application="read" data="3 4<br>
'tone_stream://%(10000,0,350,440)' digits 30000 #"/><br>
<action application="set" data="origination_cancel_key=#"/><br>
<action application="att_xfer" data="user/${digits}@$${domain}"/><br>
</condition><br>
</extension><br>
<br>
<extension name="is_transfer"><br>
<condition field="destination_number" expression="^is_transfer$"/><br>
<condition field="${digits}" expression="^(\d+)$"><br>
<action application="transfer" data="-bleg ${digits} XML default"/><br>
<anti-action application="eval" data="cancel transfer"/><br>
</condition><br>
</extension><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>