[asterisk-users] AMI getting related channels in Ringing state

Daniel Tryba daniel at tryba.nl
Wed Oct 6 08:14:51 CDT 2010


On Wed, Oct 06, 2010 at 01:56:55PM +0200, Daniel Tryba wrote:
> Issuing the AMI Status command results in a list of active channels. But
> how to figure out which channels are related before the call is
> answered?

CoreShowChannels gives a little bit of extra data in the originator
channel:

Application: Dial
ApplicationData: SIP/922

This makes finding the actual ringing SIP device fun when the incoming
channel dials a Local/999 at default device. And doesn't give any usefull
hint when the incoming channel doesn't use Dial but e.g. Queue.

-- 

   Daniel Tryba



More information about the asterisk-users mailing list