[Freeswitch-users] intercept in fifo queue
Vladimir Elizarov
xengelpublicx at gmail.com
Wed Mar 17 05:22:11 PDT 2010
Yes
On Wed, Mar 17, 2010 at 12:19 AM, Michael Collins <msc at freeswitch.org> wrote:
>
>
> 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
>
>
> _______________________________________________
> 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
>
>
--
Best regards, Vladimir Elizarov
More information about the FreeSWITCH-users
mailing list