<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>hi kofi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>were you able to run and test my config file? any
developments? :)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>much thanks.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>chris</FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=chris@fivestartel.com href="mailto:chris@fivestartel.com">chris</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=kofi@radiocomplex.com
href="mailto:kofi@radiocomplex.com">Kofi Obiri-Yeboah</A> ; <A
title=serusers@lists.iptel.org
href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, July 27, 2005 11:46
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Serusers] serctll add
error</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>hi kofi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>i did commented out the listen=IP line. but i
gives me the same error. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>ERROR: bad config file (1 errors)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>by the way, when i tried the hello_world.cfg from
onsip i did not encountered any problem and ser was able to run.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>thnks kofi, i will wait for you reply next
week.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>chris.</FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=kofi@radiocomplex.com href="mailto:kofi@radiocomplex.com">Kofi
Obiri-Yeboah</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=chris@fivestartel.com
href="mailto:chris@fivestartel.com">chris</A> ; <A title=serusers@lists.iptel.org
href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, July 27, 2005 11:19
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [Serusers] serctll add
error</DIV>
<DIV><BR></DIV>
<DIV><SPAN class=522251103-27072005><FONT face=Arial color=#0000ff
size=2>Chris,</FONT></SPAN></DIV>
<DIV><SPAN class=522251103-27072005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=522251103-27072005></SPAN><SPAN
class=522251103-27072005><FONT face=Arial color=#0000ff size=2>I will
run your config file over the weekend and will get back to you.
</FONT></SPAN></DIV>
<DIV><SPAN class=522251103-27072005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=522251103-27072005><FONT face=Arial color=#0000ff
size=2>Clearly that fact that you are receiving a bad config file error is
an indication that there is a problem. Could you please comment out the
listen=IP address line and rerun ?????? </FONT></SPAN></DIV>
<DIV><SPAN class=522251103-27072005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=522251103-27072005><FONT face=Arial color=#0000ff
size=2>KOFI</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> chris
[mailto:chris@fivestartel.com]<BR><B>Sent:</B> Tuesday, July 26, 2005
10:19 AM<BR><B>To:</B> Kofi Obiri-Yeboah;
serusers@lists.iptel.org<BR><B>Subject:</B> Re: [Serusers] serctll add
error<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>hi kofi, </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>attached is my ser.cfg i got this sample
script from onsip.org getting started doc. this is
their auth-mysql.3.05.cfg sample script, i just change the IP address
on the listen variable. running using this cfg file leads me to an
error.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>ERROR: bad config file (1
errors)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>maybe u can help me fix this. i have no idea
how i can give you more details on the error cause that is the only
line the system gives me.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>thnks.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>debug=3<BR>fork=yes<BR>log_stderror=no</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>listen=203.115.128.41
# put your server IP address here<BR>port=5060<BR>children=4</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>dns=no<BR>rev_dns=no</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>fifo="/tmp/ser_fifo"<BR>fifo_db_url="mysql://ser:heslo@localhost/ser"</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>loadmodule
"/usr/local/lib/ser/modules/mysql.so"<BR>loadmodule
"/usr/local/lib/ser/modules/sl.so"<BR>loadmodule
"/usr/local/lib/ser/modules/tm.so"<BR>loadmodule
"/usr/local/lib/ser/modules/rr.so"<BR>loadmodule
"/usr/local/lib/ser/modules/maxfwd.so"<BR>loadmodule
"/usr/local/lib/ser/modules/usrloc.so"<BR>loadmodule
"/usr/local/lib/ser/modules/registrar.so"<BR>loadmodule
"/usr/local/lib/ser/modules/auth.so"<BR>loadmodule
"/usr/local/lib/ser/modules/auth_db.so"<BR>loadmodule
"/usr/local/lib/ser/modules/uri_db.so"</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>modparam("auth_db|uri_db|usrloc", "db_url",
"mysql://ser:heslo@localhost/ser")<BR>modparam("auth_db", "calculate_ha1",
1)<BR>modparam("auth_db", "password_column",
"password")<BR>modparam("usrloc", "db_mode", 2)<BR>modparam("rr",
"enable_full_lr", 1)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>route {</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> #
-----------------------------------------------------------------<BR> #
Sanity Check Section<BR> #
-----------------------------------------------------------------<BR> if
(!mf_process_maxfwd_header("10")) {<BR> sl_send_reply("483",
"Too Many Hops");<BR> break;<BR> };</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> if (msg:len > max_len)
{<BR> sl_send_reply("513", "Message
Overflow");<BR> break;<BR> };</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> #
-----------------------------------------------------------------<BR> #
Record Route Section<BR> #
-----------------------------------------------------------------<BR> if
(method!="REGISTER")
{<BR> record_route();<BR> };</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> #
-----------------------------------------------------------------<BR> #
Loose Route Section<BR> #
-----------------------------------------------------------------<BR> if
(loose_route())
{<BR> route(1);<BR> break;<BR> };</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> #
-----------------------------------------------------------------<BR> #
Call Type Processing Section<BR> #
-----------------------------------------------------------------<BR> if
(uri!=myself)
{<BR> route(1);<BR> break;<BR> };</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> if (uri==myself) {<BR> if
(method=="INVITE")
{<BR> route(3);<BR> break;<BR> }
else if (method=="REGISTER")
{<BR> route(2);<BR> break;<BR> };</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2> lookup("aliases");<BR> if (uri!=myself)
{<BR> route(1);<BR> break;<BR> };</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> if (!lookup("location"))
{<BR> sl_send_reply("404", "User Not
Found");<BR> break;<BR> };</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2> route(1);<BR> };<BR>}</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>route[1] {</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> #
-----------------------------------------------------------------<BR> #
Default Message Handler<BR> #
-----------------------------------------------------------------<BR> if
(!t_relay())
{<BR> sl_reply_error();<BR> };<BR>}</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>route[2] {</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> #
-----------------------------------------------------------------<BR> #
REGISTER Message Handler<BR> #
----------------------------------------------------------------<BR> sl_send_reply("100",
"Trying");<BR> </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> if (!www_authorize("","subscriber"))
{<BR> www_challenge("","0");<BR> break;<BR> };</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> if (!check_to())
{<BR> sl_send_reply("401",
"Unauthorized");<BR> break;<BR> };</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> consume_credentials();</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> if (!save("location"))
{<BR> sl_reply_error();<BR> };<BR>}</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>route[3] {<BR> #
-----------------------------------------------------------------<BR> #
INVITE Message Handler<BR> #
-----------------------------------------------------------------<BR> if
(!proxy_authorize("","subscriber"))
{<BR> proxy_challenge("","0");<BR> break;<BR> }
else if (!check_from()) {<BR> sl_send_reply("403", "Use
From=ID");<BR> break;<BR> };</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2> consume_credentials();</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> lookup("aliases");<BR> if
(uri!=myself)
{<BR> route(1);<BR> break;<BR> };</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> if (!lookup("location"))
{<BR> sl_send_reply("404", "User Not
Found");<BR> break;<BR> };</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> route(1);<BR>}</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=kofi@radiocomplex.com href="mailto:kofi@radiocomplex.com">Kofi
Obiri-Yeboah</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=chris@fivestartel.com
href="mailto:chris@fivestartel.com">chris</A> ; <A
title=serusers@lists.iptel.org
href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, July 26, 2005 11:39
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [Serusers] serctll add
error</DIV>
<DIV><BR></DIV>
<DIV><SPAN class=215023915-26072005><FONT face=Arial color=#0000ff
size=2>please send your config file</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> chris
[mailto:chris@fivestartel.com]<BR><B>Sent:</B> Tuesday, July 26, 2005
6:34 AM<BR><B>To:</B> Kofi Obiri-Yeboah; <A
href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</A><BR><B>Subject:</B>
Re: [Serusers] serctll add error<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>i still got the same error</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>bash-2.05# serctl add 1001 1001 <A
href="mailto:chris@yahoo.com">chris@yahoo.com</A><BR>awk: syntax error
near line 1<BR>awk: bailing out near line 1<BR>awk: syntax error near
line 1<BR>awk: bailing out near line 1<BR>HA1 calculation
failed<BR>bash-2.05#<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>pls. advise on how to fix
this.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>thnks.</DIV></FONT>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=kofi@radiocomplex.com
href="mailto:kofi@radiocomplex.com">Kofi Obiri-Yeboah</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=chris@fivestartel.com
href="mailto:chris@fivestartel.com">chris</A> ; <A
title=serusers@lists.iptel.org
href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, July 26, 2005
8:06 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [Serusers] serctll
add error</DIV>
<DIV><BR></DIV>
<DIV><SPAN class=105520212-26072005><FONT face=Arial color=#0000ff
size=2>syntax is <username> <password> <email
address></FONT></SPAN></DIV>
<DIV><SPAN class=105520212-26072005><FONT face=Arial color=#0000ff
size=2>you have a typo in the email address use "@" instead of
"2" </FONT></SPAN></DIV>
<DIV><SPAN class=105520212-26072005><FONT face=Arial color=#0000ff
size=2>use shift-2 before yahoo.com</FONT></SPAN></DIV>
<DIV><SPAN class=105520212-26072005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=105520212-26072005><FONT face=Arial color=#0000ff
size=2>HTH</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> <A
href="mailto:serusers-bounces@iptel.org">serusers-bounces@lists.iptel.org</A>
[mailto:serusers-bounces@lists.iptel.org]<B>On Behalf Of
</B>chris<BR><B>Sent:</B> Tuesday, July 26, 2005 12:58
AM<BR><B>To:</B> <A
href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</A><BR><B>Subject:</B>
[Serusers] serctll add error<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>hello</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>i tried running serctl add 1001 1001
chris_cleofe2yahoo.com</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>but i got this error:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>awk: syntax error near line 1<BR>awk:
bailing out near line 1<BR>awk: syntax error near line 1<BR>awk:
bailing out near line 1<BR>HA1 calculation failed</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>pls advise.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>thnks.</DIV>
<DIV><BR></DIV></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></FONT></BODY></HTML>