Core show channels will show you this. Here is an example
Channel Location State Application(Data) Zap/1-1 [EMAIL PROTECTED]: Dialing AppDial((Outgoing Line)) SIP/104-085ff278 [EMAIL PROTECTED] Ring Dial(Zap/g1/ww2975000|60) 2 active channels SIP/104 is making a call on Zap/1 using DLPN_Dialplan1 from the dialplan _____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Sent: Tuesday, December 09, 2008 1:17 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: [asterisk-users] Asterisk variable for SIP context Hi, Say I wanted to know what context a SIP registration is using to dial out in my dialplan, what would I do? For example, I have phones on a "local-calls-only" context (as defined in sip.conf), others in "unrestricted-calls". In my dialplan, I`d like to act on that knowledge. Mike
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
