Julian Lyndon-Smith
2006-Jun-21 03:20 UTC
[Asterisk-Users] getting zap peer of sip channel
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
Julian Lyndon-Smith
2006-Jun-21 04:04 UTC
[Asterisk-Users] getting zap peer of sip channel (solved)
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 > >