[Asterisk-Users] How to create [new_context] in extensions.conf?
Aaron Daniel
amdtech at shsu.edu
Thu Mar 23 14:03:24 MST 2006
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