You set which context will be used in you sip.conf, iax.conf, or zapata.conf 
for the specific channel you are using. For example, my zapata.conf for channel 
25 has context=incoming which means it should go to the context labeled 
incoming in my extensions.conf. My PRI channels (1-23) have context=pri-did, so 
when a call comes in over my PRI, it first goes to the pri-did context in 
extensions.conf.

Adam Collard
President
Digital Telecom of Michigan, Inc.
[EMAIL PROTECTED]
(517) 386-1910 Direct Office
(800) 420-3803 x4101 Office
(517) 766-5902 Fax

-----Original message-----
From: "gc" [EMAIL PROTECTED]
Date: Mon, 28 Aug 2006 07:40:34 -0700
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] Question about context for incoming calls

> I am new to asterisk. After studying the book and the tutorial on the 
> Internet, I am still confued about how to use context for incoming calls. 
> Here is my question:
> If I create s extensions in two different contexts for incoming calls which 
> one will be used? When a call comes in, which context will asterisk use to 
> search the extension match first? 
> 
> Gary
> 



This email may be confidential. Any distribution, use or copying of this email 
or the information it contains by other than an intended recipient is 
unauthorized. If you received this email in error, please advise me (by return 
email or otherwise) immediately.

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