[Freeswitch-users] intercept in fifo queue
Michael Collins
msc at freeswitch.org
Tue Mar 16 14:19:33 PDT 2010
On Mon, Mar 15, 2010 at 1:21 PM, Vladimir Elizarov
<xengelpublicx at gmail.com>wrote:
> Hello.
>
> How can I intercept a fifo? I tried to use the example of intecept
> default dialplan, but in no fifo dialed_extension.
>
Are you trying to intercept the call that is ringing at a FIFO agent's
phone?
-MC
>
> <extension name="operators">
> <condition field="destination_number" expression="^operators$">
> <action application="bind_meta_app" data="2 b s
>
> record_session::/opt/freeswitch/storage/record/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_number}_${caller_id_number}.wav"/>
> <action application="hash"
>
> data="insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number}"/>
> <action application="hash"
> data="insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}"/>
> <action application="set"
> data="called_party_callgroup=${user_data(${dialed_extension}@
> ${domain_name}
> var callgroup)}"/>
> <action application="hash"
> data="insert/${domain_name}-last_dial/${called_party_callgroup}/${uuid}"/>
> <action application="answer"/>
> <action application="playback"
> data="ivr/ivrvoice/razgovor-mozhet-byt-zapisan.wav"/>
> <action application="playback"
> data="ivr/ivr-hold_connect_call.wav"/>
> <action application="set" data="fifo_music=$${hold_music}"/>
> <action application="fifo" data="operators@$${domain} in
> undef"/>
> </condition>
> </extension>
>
> <fifo name="operators@$${domain}" importance="0">
> <member timeout="15" simo="1"
> lag="20">{fifo_caller_exit_key=9,fifo_consumer_exit_key=9}user/100@
> $${domain}</member>
> </fifo>
> </fifos>
> --
> Best regards, Vladimir Elizarov
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100316/68bf728f/attachment-0002.html
More information about the FreeSWITCH-users
mailing list