[asterisk-users] Get calling channel before pickup

Eric "ManxPower" Wieling eric at fnords.org
Mon Jun 4 16:08:09 CDT 2007


Marcus Carlson wrote:

> Is it possible to get the remote channelname that will be bridged when 
> the call is answered, only having the channel that is in the Ring(ing) 
> state? As far as I can see no variable seems to fit when doing the show 
> channel command.
> 
> I want to be able to redirect/manipulate an incoming call before it gets 
> answered/bridged, but to do that I have to now which channel to use.
> 
> Is there a way? Prefarably using manager API.

Asterisk does not know which of the several devices you are calling will 
pick up.

Dial(SIP/1234&Zap/7&IAX2/fred/555)




More information about the asterisk-users mailing list