[asterisk-users] Problems with Outbound Calls
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Thu Feb 26 09:07:20 CST 2009
On Thu, Feb 26, 2009 at 11:50:57AM -0200, David fire wrote:
> hi
> you should first solve this
>
> Warning [2630]: config.c:768 process_text_line: Unknown Directive at
> line 231 of /etc/asterisk/../zaptel.conf
In zaptel.conf it is perfectly legal to have lines beginning with a '#'.
With Asterisk '#' is reserved for special directives (currently only
#include and #exec exist).
The asterisk-gui has a script that creates
/etc/asterisk/dahdi_guiread.conf
With the following content (if the system is Zaptel and not DAHDI)
[general]
zaptel
#include "../zaptel.conf"
This makes it simple to read zaptel.conf through the manager interface
of reading Asterisk configuration files. It also has several other
atvantages:
* The user is well aware of its existance if there are any comments in
zaptel.conf (the message pointed out above)
* Its format is not of a real valid configuration file ('zaptel' is a
key without a value), which serves to provides interesting chanlanges
to configuration parser writiers.
* It assumes the Asterisk configuration file sits at /etc/asterisk .
Indeed why even bother with a situation where Asterisk can only read
Zaptel's configuration but not write it?
--
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
More information about the asterisk-users
mailing list