No idea, but DIALEDPEERNAME should contain the same value as BRIDGEPEER. Try 
that.
The only difference is that BRIDGEPEER is set slightly later (when the call is 
bridged). 

________________________________

From: [EMAIL PROTECTED] on behalf of Koopmann, Jan-Peter
Sent: Wed 8/2/2006 2:05 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [asterisk-users] cmd DIAL - Who picked up the call?



On Wednesday, August 02, 2006 7:39 PM Vadim Berezniker wrote:

> DIALEDPEERNUMBER contains the exact peer spec for the peer that
> picked up. You can use that.

Consider yourself my hero of the day! That looks VERY promising. It does not 
show the technology so

Dial(SIP/phone_200&Zap/g2/13,,M(getchannel))

will return either phone_200 or g2/13 but I will find a solution for that as 
well I suppose!!! Any idea why BRIDGEPEER is empty here all the time?


Kind regards,
  JP


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


<<winmail.dat>>

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

Reply via email to