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
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