[Freeswitch-users] Using Mod_fifo

Michael Collins mcollins at fcnetwork.com
Sat Jul 5 00:24:14 PDT 2008


Sorry I've been slacking, but I finally got this one wikified:

http://wiki.freeswitch.org/wiki/Mod_fifo#Agent.2FCaller_Example

 

-MC

 

________________________________

From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of
Anthony Minessale
Sent: Wednesday, July 02, 2008 9:03 AM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] Using Mod_fifo

 

if you add these 2 extensions: 7010 will be for agents who will hear
music till someone calls
and 7011 will be the customer who will hear hold music until an agent is
free.

  <extension name="test">
      <condition field="destination_number" expression="^7010$">
        <action application="set" data="fifo_music=$${hold_music}"/>
        <action application="answer"/>
        <action application="fifo" data="myq out wait"/>
      </condition>
    </extension>

    <extension name="test">
      <condition field="destination_number" expression="^7011$">
        <action application="set" data="$${hold_music}"/>
        <action application="answer"/>
        <action application="fifo" data="myq in"/>
      </condition>
    </extension>





On Wed, Jul 2, 2008 at 1:05 AM, Faraz R. Khan <faraz.khan at emergen.biz>
wrote:

Is there any example on how to use mod_fifo?

I am trying to implement a call centre queue as follows (much like
Asterisk queues) :

Inbound call-> press 0 for operator -> mod_fifo -> 3 agents of whom any
one can get the call (doing round robin or whatever)

I checked out:
http://wiki.freeswitch.org/wiki/Mod_fifo

I understand how to park the call, I understand how to retrieve the call
from the fifo- but I dont understand how this will happen automatically.
Is the expected way to write some kind of JS to run periodically, check
if any of the 3 specified agents are free and send them (originate) to
the fifo 'pop' extension?

Pointers would be appreciated! If anyone has sample JS to do something
close to the above it would give me a great headstart.

Thanks!

--
Faraz R Khan
Chief Architect
Emergen Consulting Pvt Ltd
+92.21.529.0381 x200
www.emergen.biz


_______________________________________________
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




-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com
<mailto:MSN%3Aanthony_minessale at hotmail.com> 
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
<mailto:PAYPAL%3Aanthony.minessale at gmail.com> 
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
<mailto:sip%3A888 at conference.freeswitch.org> 
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org
<mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org> 
pstn:213-799-1400 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080705/91af2501/attachment-0002.html 


More information about the FreeSWITCH-users mailing list