Method 1 was what I had in mind. thanks. I found something along the same lines in fseventlistener.py and fshelper.py. Going to try implementing a queue with that.
Anthony Minessale wrote: > You have a few choices. > > mod_fifo generates events when callers come in an out of the queue. > mod_fifo also supports presence. > > Method 1 (using events) > You can make an event socket application that listens for FIFO events > and keeps track of what FIFOs are currently busy and when there are > people waiting you can have that script generate a call to a group of > SIP phones so when the first one answers, it sends them in as an agent > where they can field the calls. > > Method 2 (using presence) > If you name your queues with the same domain as your SIP phones they can > subscribe to the fifo so when there are people waiting in the fifo a > little light will blink on their phone telling them to press the button > next to the light and field the call. This method is documented in the > default config as the "parking" extension. > > Method 3 (wait) > A community member is working on a companion to mod_fifo to do some of > what you are asking for. > > > > > On Thu, Jul 3, 2008 at 2:38 AM, Faraz R. Khan <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > amazing. Thank you. > > My scenario is somewhat different than this though. This much I > understand and can do with mod_fifo. What I DONT understand is how to > generate the call to agents (my agents do not dial 7010 and wait for the > callers). > > I need the calls to come into the fifo queue, wait there and then be > sent to agents who are free (who have not dialed in, whose phones > are free) > > For operators, sales and support people its unrealisitic to assume that > they stay on with headphones all the times :) They have other work > to do! > > > Anthony Minessale wrote: > > 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 > <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > > <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>> > 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 <http://www.emergen.biz> <http://www.emergen.biz> > > > > > > _______________________________________________ > > Freeswitch-users mailing list > > Freeswitch-users@lists.freeswitch.org > <mailto:Freeswitch-users@lists.freeswitch.org> > > <mailto:Freeswitch-users@lists.freeswitch.org > <mailto:Freeswitch-users@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:[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > <mailto:[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> > > GTALK/JABBER/PAYPAL:[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > <mailto:[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> > > IRC: irc.freenode.net <http://irc.freenode.net> > <http://irc.freenode.net> #freeswitch > > > > FreeSWITCH Developer Conference > > sip:[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > <mailto:[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> > > iax:[EMAIL PROTECTED]/888 > <http://iax:[EMAIL PROTECTED]/888> > > <http://iax:[EMAIL PROTECTED]/888> > > googletalk:[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > <mailto:[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> > > pstn:213-799-1400 > > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Freeswitch-users mailing list > > Freeswitch-users@lists.freeswitch.org > <mailto:Freeswitch-users@lists.freeswitch.org> > > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > > > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > > http://www.freeswitch.org > > -- > Faraz R Khan > Chief Architect > Emergen Consulting Pvt Ltd > +92.21.529.0381 x200 > www.emergen.biz <http://www.emergen.biz> > > > _______________________________________________ > Freeswitch-users mailing list > Freeswitch-users@lists.freeswitch.org > <mailto:Freeswitch-users@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:[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > GTALK/JABBER/PAYPAL:[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch > > FreeSWITCH Developer Conference > sip:[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > iax:[EMAIL PROTECTED]/888 > <http://iax:[EMAIL PROTECTED]/888> > googletalk:[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > pstn:213-799-1400 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Freeswitch-users mailing list > Freeswitch-users@lists.freeswitch.org > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org -- Faraz R Khan Chief Architect Emergen Consulting Pvt Ltd +92.21.529.0381 x200 www.emergen.biz _______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org