[Freeswitch-users] mod_fifo to Voicemail if there's no "agents"

Silvio Escher sescher_ml at omeco.de
Tue Sep 6 14:11:26 MSD 2011


Hi there,

ive following in my public dp:

<extension name="zentrale_fifo">
<condition field="destination_number" expression="^zentrale_fifo$">
<action application="set" data="fifo_music=intro_und_schleife.wav"/>
<action application="answer"/>
<action application="set" data="fifo_orbit_exten=zentrale_voicemail:30"/>
<action application="fifo" data="zentrale_fifo in"/>
</condition>
</extension>

<extension name="Zentrale">
<condition field="${sip_to_user}" expression="^0631680350$" break="on-false"/>
<condition wday="2-6" hour="9-16"> # zeit geht bis 59
<action application="transfer" data="zentrale_fifo XML public"/>
<anti-action application="answer"/>
<anti-action application="sleep" data="1500"/>
<anti-action application="playback" data="niemand_da_zeit.wav"/>
<anti-action application="sleep" data="1000"/>
<anti-action application="hangup" data="NO_ANSWER"/>
</condition>
</extension>

and iam adding Members to the fifo at runtime ( during *extension or an daily reset by cron )

./fs_cli -x "fifo_member add zentrale_fifo user/26"
or
./fs_cli -x "fifo_member del zentrale_fifo user/26"

Everything works fine beside the little issue that if theres no Member/Agent in the fifo - the Call 
is just also waiting 30 seconds till transfered to voicemail.

I noticed that with fifo list zentrale_fifo iam able to get an Memberlist ( fifo count just shows me 
0 Members - dunno why - bug ? ) - but iam unsure how to process further.

Whats the ideal Solution to get an Caller directly to the Voicemail when no Member/Agent is in the 
called Fifo ?

Best Regards,
Silvio

-- 
Silvio Escher
omeco GmbH




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