[Freeswitch-users] fifo help

Kyle Haefner Kyle.Haefner at colostate.edu
Tue Oct 12 11:19:15 PDT 2010


Hi All,

I'm pretty new to freeswitch :)

I'm trying to set up the following scenario:

1. A caller calls in is greeted by a message that says, "Please hold while
your party is located"
2. The caller is placed on hold
3. An outbound call sequentially rings cell phones through a gateway
4. If a cellphone answers the "agent" must push a digit (to verify they are
not voice mail)
5. If a digit is pushed the agent is connected to the caller

I'm trying to implement this using mod_fifo, however when I add the caller
to the fifo, processing of that extension stops and I can't ever call and
test the cellphone to add them as a member of the fifo.

<context name="custom">
  <extension name="FIFO-Call">
    <condition field="destination_number" expression="^(100)$">
-       <action application="answer"/>
        <action application="playback"
data="/usr/local/freeswitch/sounds/en/us/callie/misc/noc_intro.wav"/>
        <action application="fifo" data="noc_fifo in nowait"/>
        <action application="sleep" data="300"/>
        <action application="set"
data="effective_caller_id_number=${outbound_caller_id_number}"/>
        <action application="set"
data="effective_caller_id_name=${outbound_caller_id_name}"/>
        <action application="set" data="ringback=${us-ring}"/>
        <action application="set" data="call_timeout=60"/>
        <action application="set"
data="group_confirm_file=/usr/local/freeswitch/sounds/en/us/callie/misc/prove_youre_human.wav"/>
        <action application="set" data="group_confirm_key=4"/>
        <action application="set" data="fifo_member(add noc_fifo
{fifo_member_wait=nowait}sofia/custom_dialplan/89883757 at pstn-gateway
:5060)"/>
    </condition>
  </extension>
</context>


Any help would be greatly appreciated!

Kyle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101012/15d5bf7c/attachment.html 


More information about the FreeSWITCH-users mailing list