Hi, I am using asterisk1.2 In this, my dialplan is going large , so i need to configure this small pieces for this, i did in my extensions.conf when I dial the 123 its not going , means that file is not reading. is there any parameters to add any where ? please tell me this #include is not working ... extensions.conf [general] [global] trunk=zap/g0 #include exten-internal.conf [default] exten => _X.,1,Answer exten => _X.,2,Dial(Zap/g0/999898999,,to) exten => _X.,3,Hangup /etc/asterisk/exten-internal.conf exten => 123,1,Answer exten => 123,2,Dial(SIP/5024,,t) exten => 123,2,Hangup Best Regards, Mahesh Katta *BUZZ**WORKS* Business Services Private Limited BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI 201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, Andheri (E) Mumbai 400069 GSM +91.97029.70779 | Phone +91.22.4229.2634 | Fax +91.22.4229.2634 Web http://www.buzzworks.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110616/83ba28f6/attachment.htm>
On Thu, Jun 16, 2011 at 12:24:15PM +0530, mahesh katta wrote:> Hi, > I am using asterisk1.2 > In this, my dialplan is going large , so i need to configure this small > pieces for this, i did in my extensions.conf > when I dial the 123 its not going , means that file is not reading. is there > any parameters to add any where ? please tell me > this #include is not working ... > > > extensions.conf > [general] > [global] > trunk=zap/g0 > #include exten-internal.conf#include means that the content of the file is added verbatim here. Which means that you added those 'exten' definitions in the [global] section. But that is a special section from which definitions of extensions are not read. Thus the content of the f ile is practically ignored (or generate a parse error. Not really sure).> [default]Place the '#include' line at this line or somewhere below.> exten => _X.,1,Answer > exten => _X.,2,Dial(Zap/g0/999898999,,to) > exten => _X.,3,Hangup > > /etc/asterisk/exten-internal.conf > exten => 123,1,Answer > exten => 123,2,Dial(SIP/5024,,t) > exten => 123,2,HangupThat said: Asterisk 1.2 is an obsolete version. I honestly hope you don't use it for any new installation. If you have a a new installation, please use 1.8 . -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir