Larry Alkoff
2006-Mar-23 12:18 UTC
[Asterisk-Users] How to create [new_context] in extensions.conf?
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
Luigi Rizzo
2006-Mar-23 13:57 UTC
[Asterisk-Users] How to create [new_context] in extensions.conf?
On Thu, Mar 23, 2006 at 01:18:15PM -0600, 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?manually with an editor ? or i don't understand the question.> 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 > _______________________________________________ > --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
BJ Weschke
2006-Mar-23 14:00 UTC
[Asterisk-Users] How to create [new_context] in extensions.conf?
On 3/23/06, Larry Alkoff <labradley@mindspring.com> 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 >[newcontext] exten => 1234,1,NoOp(this is an application in the context newcontext) [default] ... -- Bird's The Word Technologies, Inc. http://www.btwtech.com/
Aaron Daniel
2006-Mar-23 14:03 UTC
[Asterisk-Users] How to create [new_context] in extensions.conf?
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@shsu.edu (936) 294-4198
Wai Wu
2006-Mar-23 14:21 UTC
[Asterisk-Users] How to create [new_context] in extensions.conf?
Just go the end of extensions.conf and add in the line [new_context]. That's how I have been doing it. -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Larry Alkoff Sent: Thursday, March 23, 2006 2:18 PM To: Asterisk-users Subject: [Asterisk-Users] How to create [new_context] in extensions.conf? 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 _______________________________________________ --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
Jerry Jones
2006-Mar-23 14:44 UTC
[Asterisk-Users] How to create [new_context] in extensions.conf?
You need to create [new_context] in extensions.conf then add the context=new_context to sip.conf so calls from from the sip devices know which context to use. this can be in the general section and apply to all sip devices, or add per device and each can have its own context just adding to sip.conf will not result in a call On Mar 23, 2006, at 1:18 PM, 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 > _______________________________________________ > --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
C F
2006-Mar-23 15:47 UTC
[Asterisk-Users] How to create [new_context] in extensions.conf?
Yes, you just create it. On 3/23/06, Larry Alkoff <labradley@mindspring.com> 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 > _______________________________________________ > --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 >