Great, just what I needed. Thanks! Mike
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Fullerton Sent: Tuesday, December 09, 2008 15:06 To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Asterisk variable for SIP context Mike wrote: > 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 > The SIPPEER function should allow you to extract what context is defined in sip.conf. -Dave _______________________________________________ -- 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 _______________________________________________ -- 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
