[Asterisk-Users] How to create [new_context] in extensions.conf?

Aaron Daniel amdtech at shsu.edu
Thu Mar 23 18:09:12 MST 2006


Did you reload the dialplan in the CLI?  I think it's extensions reload. 
That'll refresh your settings... If that doesn't work, post your dialplan 
so we can see what's going on :)

Aaron

On Thu, 23 Mar 2006, Larry Alkoff wrote:

> That's how I _thought_ it worked but extens in such a created [context_name] 
> are not seen or used by Asterisk to dial out.
>
> There is something missing.
>
> Larry
>
> Aaron Daniel wrote:
>> Yes.
>> 
>> Just create a context that you want the phones to dial from in 
>> extensions.conf.
>> 
>> [context_name]
>> exten => 1234,1,Dial(SIP/1234)
>> exten => 1234,2,Hangup
>> 
>> Once you have that, just change the context = line to read "context = 
>> context_name" and the phone will use that context for outgoing calls :)
>> 
>> Aaron
>> 
>> On Thu, 23 Mar 2006, Larry Alkoff wrote:
>> 
>>> It _appears_ that the only way to create valid [context] is by a
>>> context = line in sip.conf.
>>> 
>>> Is there another way to create a [new_context] in extensions.conf so I can 
>>> dial from it?
>>> 
>>> Right now most of my extens are in [default] and I'd like to avoid that.
>>> 
>>> Larry
>>> 
>>> 
>> 
>
>
>

-- 
Aaron Daniel
Computer Systems Technician
Sam Houston State University
amdtech at shsu.edu
(936) 294-4198



More information about the asterisk-users mailing list