[Freeswitch-users] mod_fifo: agent not ringing

georg at riseup.net georg at riseup.net
Sat Jan 28 22:37:02 MSK 2012


He all,

I'm still quite new to FS, so sorry if this is just a stupid question. I'm
trying to setup a queue with mod_fifo. Really simple, just with two
phones. Idea is that people call a number, hear moh and the two phones are
ringing. If picked up, the call is bridged.

So I tried this:

fifo.con.xml
<configuration name="fifo.conf" description="FIFO Configuration">
  <fifos>
    <fifo name="fifo_kunden at 192.168.1.93" importance="0">
      <member timeout="120" simo="1"
lag="5">{call_timeout=30,fifo_member_wait=nowait}user/10 at 192.168.1.93</member>
      <member timeout="120" simo="1"
lag="5">{call_timeout=30,fifo_member_wait=nowait}user/15 at 192.168.1.93</member>
    </fifo>
  </fifos>
</configuration>

In my public.xml dialplan I put:
<extension name="Local_Extension">
     <condition field="destination_number" expression="^(4930XXXXXXXX)$">
        <action application="transfer" data="fifo_kunden"/>
     </condition>
</extension>

<extension name="fifo_kunden">
    <condition field="destination_number" expression="^fifo_kunden$">
        <action application="answer"/>
        <action application="fifo" data="fifo_kunden at 192.168.1.93 in undef
$${base_dir}/sounds/music/8000/ponce-preludio-in-e-major.wav"/>
    </condition>
</extension>

A caller now hears the music, but the phones aren't ringing (and there are
no error messages about this). I changed the @192.168.1.93 from
@$${domain}, cause FS tried to call for example 12 at a different ip then my
phones are registered. This is, because I've got two ips. One from my
provider, receiving and sending calls there, and 192.168.1.93, where my
phones are registered. Before I changed the @setting, FS gave me an error
that the phone 12 at my-provider-ip is absent, which is true. So I thought I
just have to change the domain setting. What I'm missing here?

Thanks,
Georg




Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list