[Freeswitch-users] Transfer A-Leg in a callcenter queue bridged to an agent to another queue
Regis M
regis.freeswitch.org at tornad.net
Wed Sep 18 15:40:09 MSD 2013
You must start a record session on the caller incoming call before sending
it to a queue and remove recording in callcenter configuration.
https://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_record_session
Something like :
<action application="record_session" data="..." />
<action application="callcenter" ....
With this, it's the caller channel which is recorded and not the agent
channel in callcenter.
You call also have IVR choice, etc... if you put it before the IVR.
Regards,
2013/9/18 Mimiko <vbvbrj at gmail.com>
> On 18.09.2013 10:09, Vincent Xia wrote:
> > hi Mimiko, could you post your queue configuration and the dialplan that
> > does the transfer, if possible?
> >
>
> Its rather simple:
> callcenter.conf:
>
> <queue name="que1@$${domain}">
> <param name="strategy" value="longest-idle-agent"/>
> <param name="moh-sound" value="$${hold_music}"/>
> <param name="record-template"
>
> value="$${recordings_dir}/${strftime(%Y-%m)}/${strftime(%Y-%m-%d)}/${strftime(%Y-%m-%d-%H-%M-%S)}.${caller_id_number}.to.${cc_agent}.mp3"/>
> <param name="time-base-score" value="system"/>
> <param name="max-wait-time" value="0"/>
> <param name="max-wait-time-with-no-agent" value="1"/>
> <param name="max-wait-time-with-no-agent-time-reached" value="5"/>
> <param name="tier-rules-apply" value="false"/>
> <param name="tier-rule-wait-second" value="300"/>
> <param name="tier-rule-wait-multiply-level" value="true"/>
> <param name="tier-rule-no-agent-no-wait" value="false"/>
> <param name="discard-abandoned-after" value="60"/>
> <param name="abandoned-resume-allowed" value="true"/>
> </queue>
>
> Dialplan:
> <extension name="que1">
> <condition field="destination_number" expression="^111$"
> break="on-false">
> <action application="set" data="playback_terminators=#"/>
> <action application="playback" data="phrase:intro"/>
> <action application="set" data="hangup_after_bridge=true"/>
> <action application="set" data="RECORD_STEREO=true"/>
> <action application="set" data="record_sample_rate=8000"/>
> <action application="bind_meta_app" data="1 b s
> execute_extension::dx
> XML features"/>
> <action application="callcenter" data="qu1@$${domain}"/>
> <action application="set" data="playback_terminators=#"/>
> <action application="playback"
> data="phrase:no_agents_leave_message"/>
> <action application="answer"/>
> <action application="set" data="skip_greeting=true"/>
> <action application="set" data="skip_instructions=true"/>
> <action application="voicemail" data="default ${domain_name}
> que1"/>
> <action application="hangup"/>
> </condition>
> </extension>
>
> <extension name="dx">
> <condition field="destination_number" expression="^dx$">
> <action application="answer"/>
> <action application="read" data="11 11
> 'tone_stream://%(10000,0,350,440)' digits 5000 #"/>
> <action application="execute_extension" data="is_transfer
> XML features"/>
> </condition>
> </extension>
>
> <extension name="att_xfer">
> <condition field="destination_number" expression="^att_xfer$">
> <action application="read" data="3 4
> 'tone_stream://%(10000,0,350,440)' digits 30000 #"/>
> <action application="set" data="origination_cancel_key=#"/>
> <action application="att_xfer" data="user/${digits}@
> $${domain}"/>
> </condition>
> </extension>
>
> <extension name="is_transfer">
> <condition field="destination_number" expression="^is_transfer$"/>
> <condition field="${digits}" expression="^(\d+)$">
> <action application="transfer" data="-bleg ${digits} XML
> default"/>
> <anti-action application="eval" data="cancel transfer"/>
> </condition>
> </extension>
>
> --
> Mimiko desu.
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130918/a5929216/attachment.html
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list