Hi, I am trying to write an event listener that can record the time when a FIFO consumer rejoins the queue after the caller hangs up. Tracing through all the event traffic, I notice that there is FIFO-Action= consumer_start, consumer_stop, and consumer_pop, but there isn't one that indicates that the consumer rejoins the queue after the caller hangs up. Is there anyway I can detect this particular event? Thanks for your help. Woody
On Nov 10, 2008, at 7:25 AM, Woody Dickson wrote:
Hi,
I am trying to write an event listener that can record the time when a FIFO consumer rejoins the queue after the caller hangs up. Tracing through all the event traffic, I notice that there is FIFO- Action= consumer_start, consumer_stop, and consumer_pop, but there isn't one that indicates that the consumer rejoins the queue after the caller hangs up. Is there anyway I can detect this particular event?
If there isn't currently an event, one would need to be added to mod_fifo.c. Patches can be be submitted at http://jira.freeswitch.org Miike
There are two more actions, I know because I sent the patch for them, there are "consumer_reentrance" and "consumer_wrapup", for knowing when the consumer enters wrapup, and also when he reenters the queue. As far as I recall they were added to the trunk some time ago. Bye. Cesar Cepeda.
-----Mensaje original----- De: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch- users-bounces@lists.freeswitch.org] En nombre de Michael Jerris Enviado el: Monday, November 10, 2008 9:11 AM Para: freeswitch-users@lists.freeswitch.org Asunto: Re: [Freeswitch-users] Question about FIFO event
On Nov 10, 2008, at 7:25 AM, Woody Dickson wrote:
Hi,
I am trying to write an event listener that can record the time when a FIFO consumer rejoins the queue after the caller hangs up. Tracing through all the event traffic, I notice that there is FIFO- Action= consumer_start, consumer_stop, and consumer_pop, but there isn't one that indicates that the consumer rejoins the queue after the caller hangs up. Is there anyway I can detect this particular event?
If there isn't currently an event, one would need to be added to mod_fifo.c. Patches can be be submitted at http://jira.freeswitch.org
Miike
_______________________________________________ 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
Mike, If Cesar already have the patch, I don't need to re-invent the wheel anymore. Otherwise, I will try to write one myself. Cesar, Would you please send me a copy of your patch? Thanks, Woody On Mon, Nov 10, 2008 at 11:46 PM, Cesar Cepeda <cesar@auronix.com> wrote:
There are two more actions, I know because I sent the patch for them, there are "consumer_reentrance" and "consumer_wrapup", for knowing when the consumer enters wrapup, and also when he reenters the queue. As far as I recall they were added to the trunk some time ago.
Bye.
Cesar Cepeda.
-----Mensaje original----- De: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch- users-bounces@lists.freeswitch.org] En nombre de Michael Jerris Enviado el: Monday, November 10, 2008 9:11 AM Para: freeswitch-users@lists.freeswitch.org Asunto: Re: [Freeswitch-users] Question about FIFO event
On Nov 10, 2008, at 7:25 AM, Woody Dickson wrote:
Hi,
I am trying to write an event listener that can record the time when a FIFO consumer rejoins the queue after the caller hangs up. Tracing through all the event traffic, I notice that there is FIFO- Action= consumer_start, consumer_stop, and consumer_pop, but there isn't one that indicates that the consumer rejoins the queue after the caller hangs up. Is there anyway I can detect this particular event?
If there isn't currently an event, one would need to be added to mod_fifo.c. Patches can be be submitted at http://jira.freeswitch.org
Miike
_______________________________________________ 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
_______________________________________________ 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
You can put your patch up on jira.freeswitch.org /b On Nov 10, 2008, at 9:01 PM, Juan Backson wrote:
Mike,
If Cesar already have the patch, I don't need to re-invent the wheel anymore. Otherwise, I will try to write one myself.
Cesar, Would you please send me a copy of your patch?
Thanks, Woody
My patch was added to the trunk weeks ago. Download the latest version of mod_fifo and you will see it. The event fifo::info with action=consumer_reentrance is fired just as the consumer leaves wrapup iff he entered the fifo in wait mode and has not hung his call. It is around line 133x Bye. Cesar Cepeda.
-----Mensaje original----- De: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch- users-bounces@lists.freeswitch.org] En nombre de Brian West Enviado el: Monday, November 10, 2008 9:08 PM Para: freeswitch-users@lists.freeswitch.org Asunto: Re: [Freeswitch-users] Question about FIFO event
You can put your patch up on jira.freeswitch.org
/b
On Nov 10, 2008, at 9:01 PM, Juan Backson wrote:
Mike,
If Cesar already have the patch, I don't need to re-invent the wheel anymore. Otherwise, I will try to write one myself.
Cesar, Would you please send me a copy of your patch?
Thanks, Woody
_______________________________________________ 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
participants (5)
-
Brian West
-
Cesar Cepeda
-
Juan Backson
-
Michael Jerris
-
Woody Dickson