[Freeswitch-dev] mod_fifo different behaviour on dialing out.

Johny Kadarisman Kwan jkr888 at gmail.com
Wed Apr 2 22:44:13 MSD 2014


I'm  trying to use mod_fifo where Freeswitch will dialout to reach "agent".
but bump with some odd behaviour. Below are scenario that demostrate this
different behaviour  :

ext.5001   -> FS send invite to each destination one by one sequentially
ext.5002   -> FS send invite to all destination simultaneously

I'm looking to use dynamic fifo method as on ext.5002, but wanted FS to do
invite sequentially as on ext.5001.
Is there anything i should do on 5002?

========

    <extension name="fifo_demo">
      <condition field="destination_number" expression="^5001$">
        <action application="set" data="fifo_music=$${hold_music}"/>
                                   <action application="answer"/>
                                    <action application="sleep"
data="1000"/>
                                   <action application="fifo" data="test
in"/>
      </condition>
    </extension>

    <extension name="fifo_demo">
      <condition field="destination_number" expression="^5002$">
        <action application="set" data="fifo_music=$${hold_music}"/>
                                   <action application="answer"/>
                                   <action application="sleep" data="1000"/>
                                   <action application="set"
data="api_result=${fifo_member(add Q8888
{origination_caller_id_number=5555895111,group_confirm_key=1}sofia/gateway/gw1/+11232299975
1 20 20)}"/>
                                   <action application="set"
data="api_result=${fifo_member(add Q8888
{origination_caller_id_number=5555895111,group_confirm_key=1}sofia/gateway/gw1/+11232299976
1 20 20)}"/>
                                   <action application="set"
data="api_result=${fifo_member(add Q8888
{origination_caller_id_number=5555895111,group_confirm_key=1}sofia/gateway/gw1/+11232299977
1 20 20)}"/>
                                   <action application="fifo" data="Q8888
in"/>
      </condition>
    </extension>


================== fifo.conf ========================

<configuration name="fifo.conf" description="FIFO Configuration">
  <settings>
    <param name="delete-all-outbound-member-on-startup" value="false"/>
  </settings>
  <fifos>
    <fifo name="cool_fifo@$${domain}" importance="0">
      <!--<member timeout="60" simo="1"
lag="20">{member_wait=nowait}user/1005@$${domain}</member>-->
    </fifo>
    <fifo name="test" importance="0">
      <member timeout="20" simo="1"
lag="20">{origination_caller_id_number=5555895111,group_confirm_key=1}sofia/gateway/gw1/11232299975</member>
      <member timeout="20" simo="1"
lag="20">{origination_caller_id_number=5555895111,group_confirm_key=1}sofia/gateway/gw1/11237896776</member>
      <member timeout="20" simo="1"
lag="20">{origination_caller_id_number=5555895111,group_confirm_key=1}sofia/gateway/gw1/11232299977</member>
    </fifo>
  </fifos>
</configuration>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20140402/c4151d6f/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-dev mailing list