[Asterisk-Users] getting zap peer of sip channel (solved)

Julian Lyndon-Smith asterisk at dotr.com
Wed Jun 21 04:04:05 MST 2006


Doh, I am so stupid.

The macro is executing in the zap channel !

Julian.

Julian Lyndon-Smith wrote:
> I'm wanting to capture the zap channel that a sip channel has connected to.
> 
> I came across the ${BRIDGEPEER} variable documented on the wiki, and if 
> I show channel SIP/<channel> when a call is connected I can see 
> BRIDGEPEER as one of the channel variables.
> 
> However ${BRIDGEPEER} is not set when I want it: I run a macro when the 
> call has been connected.
> 
> Does anyone have a hint on how to achieve my goal ?
> 
> Many thanks
> 
> Julian
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 




More information about the asterisk-users mailing list