[asterisk-users] #include filename
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 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] #include filename
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,Hangup That 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.co...@xorcom.com +972-50-7952406 mailto:tzafrir.co...@xorcom.com http://www.xorcom.com iax:gu...@local.xorcom.com/tzafrir -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users