[Freeswitch-users] call_queu
Archana Venugopan
a.venugopan at mundio.com
Thu Feb 7 17:42:50 MSK 2013
Hi,
I have very basic doubt in call queue and sorry for that query. If I just put the below in dialplan xml and dial say 250 and there is other one who is also dialling 250 will the call be in queue.
In /usr/local/freeswich/conf/autoload_configs, default callcenter.conf.xml file is also present. Please let me know if i have to change anything else too to make call in queue ?
<extension name="call_queue">
<condition field="destination_number" expression="250" break="on-false"/>
<!-- Mon-Fri, 9am-5pm -->
<condition wday="2-6" time-of-day="09:00-17:00" break="on-true">
<!-- limit 3 calls to this destination number per 1 second, otherwise give congestion message -->
<action application="limit" data="hash inbound ${destination_number} 3/1 !NORMAL_CIRCUIT_CONGESTION"/>
<!-- play a message before entering the queue. -->
<action application="playback" data="$${sounds_dir}/greeting.wav"/>
<!-- hangup after successful bridge to agent -->
<action application="set" data="hangup_after_bridge=true"/>
<!-- queue caller -->
<action application="callcenter" data="queue at default"/>
<!-- if no agent was reached and using max-wait-time - send to general voicemail -->
<action application="playback" data="$${sounds_dir}/queue_voicemail.wav"/>
<action application="answer"/>
<action application="set" data="skip_greeting=true"/>
<action application="set" data="skip_instructions=true"/>
<action application="voicemail" data="default voicemail 2001"/>
<action application="hangup"/>
</condition>
<condition>
<action application="limit" data="hash inbound ${destination_number} 3/1 !NORMAL_CIRCUIT_CONGESTION"/>
<!-- outside business hours - play message and send to general voicemail -->
<action application="playback" data="$${sounds_dir}/tod_voicemail.wav"/>
<action application="answer"/>
<action application="set" data="skip_greeting=true"/>
<action application="set" data="skip_instructions=true"/>
<action application="voicemail" data="default voicemail 2001"/>
<action application="hangup"/>
</condition>
</extension>
Regards,
Archana
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130207/8a70488b/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list