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

Reply via email to