[Asterisk-Users] How to create [new_context] in extensions.conf?
Larry Alkoff
labradley at mindspring.com
Thu Mar 23 16:39:07 MST 2006
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
>>
>>
>
--
Larry Alkoff N2LA - Austin TX
Using Thunderbird on Slackware Linux
More information about the asterisk-users
mailing list