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

2006-06-21 Thread Julian Lyndon-Smith
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/ when a call is connected

[Asterisk-Users] getting zap peer of sip channel

2006-06-21 Thread Julian Lyndon-Smith
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/ when a call is connected I can see BRIDGEPEER as one of the channel variables. However ${BRIDGEPEER} is not set when I want i