<br><br><div class="gmail_quote">On Mon, Mar 15, 2010 at 1:21 PM, Vladimir Elizarov <span dir="ltr">&lt;<a href="mailto:xengelpublicx@gmail.com">xengelpublicx@gmail.com</a>&gt;</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&#39;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>
    &lt;extension name=&quot;operators&quot;&gt;<br>
      &lt;condition field=&quot;destination_number&quot; expression=&quot;^operators$&quot;&gt;<br>
            &lt;action application=&quot;bind_meta_app&quot; data=&quot;2 b s<br>
record_session::/opt/freeswitch/storage/record/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_number}_${caller_id_number}.wav&quot;/&gt;<br>
            &lt;action application=&quot;hash&quot;<br>
data=&quot;insert/${domain_name}-call_return/${dialed_extension}/${caller_id_number}&quot;/&gt;<br>
            &lt;action application=&quot;hash&quot;<br>
data=&quot;insert/${domain_name}-last_dial_ext/${dialed_extension}/${uuid}&quot;/&gt;<br>
            &lt;action application=&quot;set&quot;<br>
data=&quot;called_party_callgroup=${user_data(${dialed_extension}@${domain_name}<br>
var callgroup)}&quot;/&gt;<br>
            &lt;action application=&quot;hash&quot;<br>
data=&quot;insert/${domain_name}-last_dial/${called_party_callgroup}/${uuid}&quot;/&gt;<br>
            &lt;action application=&quot;answer&quot;/&gt;<br>
            &lt;action application=&quot;playback&quot;<br>
data=&quot;ivr/ivrvoice/razgovor-mozhet-byt-zapisan.wav&quot;/&gt;<br>
            &lt;action application=&quot;playback&quot;<br>
data=&quot;ivr/ivr-hold_connect_call.wav&quot;/&gt;<br>
            &lt;action application=&quot;set&quot; data=&quot;fifo_music=$${hold_music}&quot;/&gt;<br>
            &lt;action application=&quot;fifo&quot; data=&quot;operators@$${domain} in undef&quot;/&gt;<br>
      &lt;/condition&gt;<br>
    &lt;/extension&gt;<br>
<br>
    &lt;fifo name=&quot;operators@$${domain}&quot; importance=&quot;0&quot;&gt;<br>
      &lt;member timeout=&quot;15&quot; simo=&quot;1&quot;<br>
lag=&quot;20&quot;&gt;{fifo_caller_exit_key=9,fifo_consumer_exit_key=9}user/100@$${domain}&lt;/member&gt;<br>
    &lt;/fifo&gt;<br>
  &lt;/fifos&gt;<br>
--<br>
Best regards, Vladimir Elizarov<br></blockquote></div><br>