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

Michael Collins msc at freeswitch.org
Wed Sep 7 21:37:34 MSD 2011


You can check what's happening in the fifo with the "fifo count <fifo_name>"
http://wiki.freeswitch.org/wiki/Mod_fifo#count

-MC

On Tue, Sep 6, 2011 at 3:11 AM, Silvio Escher <sescher_ml at omeco.de> wrote:

> 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
>
>
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110907/b5bfdef4/attachment.html 


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