John Fraizer
2004-Feb-23 16:03 UTC
[Asterisk-Users] Nested include statements in extensions.conf?
Is it possible to have nested include statements in iax.conf? Example: [access-1] ; Can only use resouces in this context. [access-2] ;can use resources in this context and access-1 include => level-1 [access-3] ;can use resources in all three contexts. include => level-2 If we can't do this, would someone be interested in writing a patch so it is possible? It sure would help clean up some very messy extensions.conf files. John
I'm tring to register my ATA to * and I getting the following message: Feb 23 18:13:04 NOTICE[1125329600]: chan_sip.c:5405 handle_request: Registration from '<sip:404@xxx.xxx.xxx.xxx user=phone>' failed for 'xxx.xxx.xxx.xxx' I don't know what's wrong an why it register as user=phone??? Coul some one help me!!!! Thanks Erick
Philipp von Klitzing
2004-Feb-23 17:52 UTC
[Asterisk-Users] Nested include statements in extensions.conf?
Hi!> Is it possible to have nested include statements in iax.conf? > Example:Why don't you simply test this yourself and report your findings?> [access-1] > ; Can only use resouces in this context. > > [access-2] > ;can use resources in this context and access-1 > include => level-1 > > [access-3] > ;can use resources in all three contexts. > include => level-2Cheers, Philipp
Sean Cheesman
2004-Feb-23 19:18 UTC
[Asterisk-Users] Nested include statements in extensions.conf?
If you don't like smart-assed replies, I'd recommend you try to answer your own questions first. It is a very easy thing to test. As a matter of fact, the demo config files do exactly this. No one here is out to slam you personally. Don't take it that way. As a matter of fact, everyone is here to help each other. All we ask is that you try to help yourself first, then post along with what your problem is, what you tried, and any relevant errors you received in your test. I don't think that's asking too much.... Sean -----Original Message----- From: John Fraizer [mailto:tvo@enterzone.net] Sent: Monday, February 23, 2004 9:04 PM To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] Nested include statements in extensions.conf? Philipp von Klitzing wrote:> Hi! > > >>Is it possible to have nested include statements in iax.conf? >>Example: > > > Why don't you simply test this yourself and report your findings? > >OK. The reason I asked was for an answer, not a smart-assed reply. If you don't know, don't bother answering. I'll be sure to send the same type of reply to the next question I see from you to the list. Now, for those of you who were wondering the same thing, yes - you can nest includes. John _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users