[Asterisk-Users] getting zap peer of sip channel

Julian Lyndon-Smith asterisk at dotr.com
Wed Jun 21 03:20:55 MST 2006


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



More information about the asterisk-users mailing list