[asterisk-users] Asterisk variable for SIP context
    Danny Nicholas 
    danny at debsinc.com
       
    Tue Dec  9 13:24:45 CST 2008
    
    
  
Core show channels will show you this.   Here is an example
 
Channel              Location             State   Application(Data)
Zap/1-1              2975000 at DID_trunk_1: Dialing AppDial((Outgoing Line))
SIP/104-085ff278     2975000 at DLPN_DialPla 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: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] 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
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081209/7df73a4a/attachment.htm 
    
    
More information about the asterisk-users
mailing list