On Sat, 14 Jun 2008 07:55:31 +0200, Martin Hoffmann wrote:
x-ser(a)sidell.org wrote:
When I try to have ser check the ser-oob.cfg
configuration file, I get
the following errors:
[root@henry ser]# ser -f /usr/local/etc/ser/ser-oob.cfg -c
0(4979) parse error (143,1-10): syntax error
0(4979) parse error (143,1-10):
ERROR: bad config file (2 errors)
Can you please also post the line in question? There is two versions of
ser-oob.cfg (one for 2.0 and one for CVS head aka 2.1). Both seem not to
have anything offending at line 143 from what I can see.
Hi, Martin.
I think I'm using the ser-oob.cfg from the cvs head. Below is the
group of lines surrounding line 143. Line 143 is "phone2tel=no". The
error occurs with a clean build of ser 2.0 rc1.
Perhaps I should do what you suggest in your earlier message, and use
a recent 2.0 daily snapshot instead.
# $Id: ser-oob.cfg,v 1.1.2.20 2008/06/11 14:53:45 janakj Exp $
...
check_via=no # (cmd. line: -v)
dns=no # (cmd. line: -r)
rev_dns=no # (cmd. line: -R)
#port=5060
#children=4
#user=ser
#group=ser
#disable_core=yes # disables core dumping
open_files_limit=20480 # sets the open file descriptors limit
#mhomed=yes # usefull for multihomed hosts, small
performance
# penalty
disable_tcp=no # be conservative about enabling TCP -- it can
# degrade performance a lot
#tcp_accept_aliases=yes # accepts the tcp alias via option (see NEWS)
phone2tel=no # ignore user=phone in request-URIs --
otherwise
# these URIs would be interpreted as
equivalent
# to TEL URIs, and their lookup would fail in URI
# database
reply_to_via=no
--
Mark