[Freeswitch-dev] mod_fifo different behaviour on dialing out.
Brian West
brian at freeswitch.org
Thu Apr 3 06:25:45 MSD 2014
If you’re going to use group confirm key you should probably use group_confirm_file too.
--
Brian West
brian at freeswitch.org
FreeSWITCH Solutions, LLC
PO BOX 2531
Brookfield, WI 53008-2531
Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST
iNUM: +883 5100 1420 9001
ISN: 410*543
Skype:briankwest
PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED)
On Apr 2, 2014, at 1:44 PM, Johny Kadarisman Kwan <jkr888 at gmail.com> wrote:
> 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>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20140402/423a3818/attachment-0001.bin
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-dev
mailing list