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:[email protected]
+972-50-7952406 mailto:[email protected]
http://www.xorcom.com iax:[email protected]/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