sorry but how do you know the warning is from an # ?<br><br>he only post this from zaptel.conf<br><br>
span = 1,1,0,esf,b8zs<br>
bchan = 1-23<br>
dchan = 24<br>
loadzone = jp<br>
defaultzone = jp<br><br>David<br><br><div class="gmail_quote">2009/2/26 Tzafrir Cohen <span dir="ltr"><<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Thu, Feb 26, 2009 at 11:50:57AM -0200, David fire wrote:<br>
> hi<br>
> you should first solve this<br>
><br>
> Warning [2630]: config.c:768 process_text_line: Unknown Directive at<br>
> line 231 of /etc/asterisk/../zaptel.conf<br>
<br>
</div>In zaptel.conf it is perfectly legal to have lines beginning with a '#'.<br>
With Asterisk '#' is reserved for special directives (currently only<br>
#include and #exec exist).<br>
<br>
The asterisk-gui has a script that creates<br>
<br>
/etc/asterisk/dahdi_guiread.conf<br>
<br>
With the following content (if the system is Zaptel and not DAHDI)<br>
<br>
[general]<br>
zaptel<br>
#include "../zaptel.conf"<br>
<br>
This makes it simple to read zaptel.conf through the manager interface<br>
of reading Asterisk configuration files. It also has several other<br>
atvantages:<br>
<br>
* The user is well aware of its existance if there are any comments in<br>
zaptel.conf (the message pointed out above)<br>
* Its format is not of a real valid configuration file ('zaptel' is a<br>
key without a value), which serves to provides interesting chanlanges<br>
to configuration parser writiers.<br>
* It assumes the Asterisk configuration file sits at /etc/asterisk .<br>
Indeed why even bother with a situation where Asterisk can only read<br>
Zaptel's configuration but not write it?<br>
<font color="#888888"><br>
--<br>
Tzafrir Cohen<br>
icq#16849755 <a href="mailto:jabber%3Atzafrir.cohen@xorcom.com">jabber:tzafrir.cohen@xorcom.com</a><br>
<a href="ada://+972-50-7952406" id="dyn">+972-50-7952406</a> mailto:<a href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a><br>
<a href="http://www.xorcom.com" target="_blank">http://www.xorcom.com</a> <a href="http://iax:guest@local.xorcom.com/tzafrir" target="_blank">iax:guest@local.xorcom.com/tzafrir</a><br>
</font><div><div></div><div class="Wj3C7c"><br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br> (\__/) <br>(='.'=)This is Bunny. Copy and paste bunny into your <br>(")_(")signature to help him gain world domination. <br><br>