[Freeswitch-users] show channels question
Steven Ayre
steveayre at gmail.com
Mon Apr 22 13:53:35 MSD 2013
Tracking call state via ESL events might work better.
On 22 April 2013 08:36, Siri MM <sirimmfs at gmail.com> wrote:
> Hello,
>
> I have a scenario where I first place an incoming call into a FIFO, and then
> pop it out to bridge it to another leg. In a different thread in my
> application, I keep monitoring the channels, to ensure that my own
> application is in sync with whatever is happening within freeswitch. What I
> see is, after the call has been removed from the FIFO, and bridged, show
> channels still reports application as FIFO. This confuses my application, as
> it thinks there should be a call in the FIFO, but when it calls FIFO count,
> the count returned is 0.
>
> My question is, is there a way for me to differentiate, in the show channels
> output, if a call is indeed in a FIFO, or if it has already been popped out
> and bridged? One difference that I see, between the outputs of show channel
> before and after the bridge, is 'callee_direction' - before the call is
> bridged, this is generally blank, but once the call has been bridged, it is
> either SEND or RECV. Can I use this to differentiate between the two?
>
> Thanks!
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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
>
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list