<br><br><div class="gmail_quote">On Mon, Mar 15, 2010 at 1:21 PM, Vladimir Elizarov <span dir="ltr"><<a href="mailto:xengelpublicx@gmail.com">xengelpublicx@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello.<br>
<br>
How can I intercept a fifo? I tried to use the example of intecept<br>
default dialplan, but in no fifo dialed_extension.<br></blockquote><div><br>Are you trying to intercept the call that is ringing at a FIFO agent's phone?<br>-MC<br> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
<extension name="operators"><br>
<condition field="destination_number" expression="^operators$"><br>
<action application="bind_meta_app" data="2 b s<br>
record_session::/opt/freeswitch/storage/record/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_number}_${caller_id_number}.wav"/><br>
<action application="hash"<br>
data="insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number}"/><br>
<action application="hash"<br>
data="insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}"/><br>
<action application="set"<br>
data="called_party_callgroup=${user_data(${dialed_extension}@${domain_name}<br>
var callgroup)}"/><br>
<action application="hash"<br>
data="insert/${domain_name}-last_dial/${called_party_callgroup}/${uuid}"/><br>
<action application="answer"/><br>
<action application="playback"<br>
data="ivr/ivrvoice/razgovor-mozhet-byt-zapisan.wav"/><br>
<action application="playback"<br>
data="ivr/ivr-hold_connect_call.wav"/><br>
<action application="set" data="fifo_music=$${hold_music}"/><br>
<action application="fifo" data="operators@$${domain} in undef"/><br>
</condition><br>
</extension><br>
<br>
<fifo name="operators@$${domain}" importance="0"><br>
<member timeout="15" simo="1"<br>
lag="20">{fifo_caller_exit_key=9,fifo_consumer_exit_key=9}user/100@$${domain}</member><br>
</fifo><br>
</fifos><br>
--<br>
Best regards, Vladimir Elizarov<br></blockquote></div><br>