<!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.2716.2200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>OOh, you are absolutely right. I forgot to put the
quote marks on the domain name!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks</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=emil@mkc.co.za href="mailto:emil@mkc.co.za">Emil</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=boman122@yahoo.com
href="mailto:boman122@yahoo.com">Bo</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, March 16, 2003 10:15
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Serusers] SER log</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Hi Bo,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Try this uri=~"xxx.com" or
usr=~"xxx\.com</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Let me know.</FONT></DIV>
<DIV><FONT face=Arial size=2>s </FONT></DIV>
<DIV><FONT face=Arial size=2>E</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=boman122@yahoo.com href="mailto:boman122@yahoo.com">Bo</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=emil@mkc.co.za
href="mailto:emil@mkc.co.za">Emil</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, March 16, 2003 5:10
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Serusers] SER log</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Hi Emil,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>I re-installed the ser-0.8.10-2.i386.rpm on Redhat 8.0. This time with
the<BR>default /usr/local/etc/ser.cfg, SER could start without any problem.
But<BR>when I just changed 'if (uri==mydomain)' to 'if(uri==xxx.com)', it
showed<BR>'ERROR: bad config file (11 errors)'. Is there anything
wrong?<BR></DIV>
<DIV><FONT face=Arial size=2>Thanks</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Bo</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=emil@mkc.co.za href="mailto:emil@mkc.co.za">Emil</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=boman122@yahoo.com
href="mailto:boman122@yahoo.com">Bo</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, March 15, 2003 1:32
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Serusers] SER log</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Hi Bo,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Am running it on RedHat 8.0 and installed it
from the rpm, no problem.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>E</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=boman122@yahoo.com href="mailto:boman122@yahoo.com">Bo</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <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> Saturday, March 15, 2003 1:44
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Serusers] SER
log</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Thanks Emil.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Yes, after I comment the PSTN gateway part,
it worked. Lots of error messages came out during the bootup of the
server. I doubt there must be something wrong with the
re-compilation.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I tried the precomiled version (rpm
package) on Redhat linux 8.0 first. But the server couldn't bootup (it
showed 'Terminated' when booting). Has anyone ever compiled SER on
Redhat 8.0?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Regards</FONT></DIV>
<DIV><FONT face=Arial size=2>Bo</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=emil@mkc.co.za href="mailto:emil@mkc.co.za">Emil</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=boman122@yahoo.com
href="mailto:boman122@yahoo.com">Bo</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, March 14, 2003 6:23
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Serusers] SER
log</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Hi Bo,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Just change the if uri== back to myself
for testing.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Have you tried the precompiled
version?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>When I start the service (service
ser start) on no fork and debug 9 the service should look like it is
hanging, oops and change log_stderror=no to yes.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Tail /var/log/message again and let me
know.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>E</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=boman122@yahoo.com href="mailto:boman122@yahoo.com">Bo</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <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> Saturday, March 15, 2003
1:14 AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Serusers] SER
log</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Hi Emil,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks for your infor.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I tried and it still didn't work. Now I
doubt if the /etc/ser/ser.cfg (see the following) takes effect or
not. I changed the settings and if I ran the server by
command ' # ser ', no problem. But if I ran it like ' # ser -f
ser.cfg ', then it told me</FONT></DIV>
<DIV><FONT face=Arial size=2>ERROR: bad config file (11
errors)</FONT></DIV>
<DIV><FONT face=Arial size=2>Actually I didn't change too much on
the default ser.cfg. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Pls indicate.</FONT></DIV>
<DIV><FONT face=Arial
size=2>_________________________________________________________________________________</FONT></DIV>
<DIV><FONT face=Arial size=2>#<BR># $Id: ser.cfg,v 1.12 2002/10/21
02:40:06 jiri Exp $<BR>#<BR># simple quick-start config
script<BR>#</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2># ----------- global configuration
parameters ------------------------</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2><FONT face=Arial><FONT
color=#ff0000>debug=9</FONT>
# debug level (cmd line: -dddddddddd)<BR><FONT
color=#ff0000>fork=no</FONT><BR>log_stderror=no # (cmd line:
-E)<BR>check_via=no # (cmd. line:
-v)<BR>dns=no
# (cmd. line: -r)<BR>rev_dns=no #
(cmd. line:
-R)<BR>port=5060<BR>children=4<BR>fifo="/tmp/ser_fifo"</FONT></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2># ------------------ module loading
----------------------------------</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2># Uncomment this if you want to use SQL
database<BR>#loadmodule
"//usr/lib/ser/modules/mysql.so"</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>loadmodule
"//usr/lib/ser/modules/sl.so"<BR>loadmodule
"//usr/lib/ser/modules/tm.so"<BR>loadmodule
"//usr/lib/ser/modules/rr.so"<BR>loadmodule
"//usr/lib/ser/modules/maxfwd.so"<BR>loadmodule
"//usr/lib/ser/modules/usrloc.so"<BR>loadmodule
"//usr/lib/ser/modules/registrar.so"</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2># Uncomment this if you want digest
authentication<BR># mysql.so must be loaded !<BR>#loadmodule
"//usr/lib/ser/modules/auth.so"</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2># ----------------- setting
module-specific parameters ---------------</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2># -- usrloc params --</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>modparam("usrloc",
"db_mode", 0)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2># Uncomment this if you want to use SQL
database<BR># for persistent storage and comment the previous
line<BR>#modparam("usrloc", "db_mode", 2)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2># -- auth params --<BR># Uncomment if
you are using auth module<BR>#<BR>#modparam("auth", "secret",
"alsdkhglaksdhfkloiwr")<BR>#modparam("auth", "calculate_ha1",
yes)<BR>#<BR># If you set "calculate_ha1" parameter to yes (which
true in this config),<BR># uncomment also the following
parameter)<BR>#<BR>#modparam("auth", "password_column",
"password")</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2># -------------------------
request routing logic -------------------</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2># main routing logic</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>route{</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2> # initial sanity
checks -- messages
with<BR> # max_forwars==0,
or excessively long
requests<BR> if
(!mf_process_maxfwd_header("10"))
{<BR>
sl_send_reply("483","Too Many
Hops");<BR>
break;<BR>
};<BR> if (len_gt( max_len
))
{<BR>
sl_send_reply("513", "Message too
big");<BR>
break;<BR> };</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2> # Do strict
routing if pre-loaded route headers
present<BR>
rewriteFromRoute();</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2> # if the request
is for other domain use
UsrLoc<BR> # (in case, it
does not work, use the following
command<BR> # with proper
names and addresses in
it)<BR> if (uri==<FONT
color=#ff0000>sip.mycompany.com</FONT>) {</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>
if (method=="REGISTER") {</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2># Uncomment this if you want to use
digest
authentication<BR>#
if (!www_authorize("iptel.org", "subscriber"))
{<BR>#
www_challenge("iptel.org",
"0");<BR>#
break;<BR>#
};</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>
save("location");<BR>
break;<BR>
};</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial color=#ff0000
size=2>
# attempt handoff to
PSTN<BR>
if (uri=~"^sip:[0-9]*@sip.mycompany.com")
{<BR>
log(4, "Forwarding to
PSTN\n");<BR>
forward(X.X.X.X,5060);<BR>
break;<BR>
};</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>
# native SIP destinations are handled using our USRLOC
DB<BR>
if (!lookup("location"))
{<BR>
sl_send_reply("404", "Not
Found");<BR>
break;<BR>
};<BR>
};<BR> # forward to
current uri now<BR> if
(!t_relay())
{<BR>
sl_reply_error();<BR>
};</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>}</FONT></DIV>
<DIV><FONT face=Arial
size=2>_____________________________________________________________________________<BR></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=emil@mkc.co.za href="mailto:emil@mkc.co.za">Emil</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=boman122@yahoo.com href="mailto:boman122@yahoo.com">Bo</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, March 14, 2003
5:43 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Serusers] SER
log</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Hi Bo,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Jan just helped me with a similar
problem.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Debug level = 9 and fork t=
no.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Tail /var/log messages and you will
get plenty of info.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Emil</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=boman122@yahoo.com
href="mailto:boman122@yahoo.com">Bo</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <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> Saturday, March 15,
2003 12:35 AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Serusers] SER
log</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Does anyone have any clue on the
following problem?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I recompiled and installed SER in
Redhat Linux 8.0. Unfortunately I tried all the possible options
(debug level) in the ser.cfg, but the only messages I could see
in the /var/log/messsages are as follows.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Mar 14 17:56:49 dda ser[15303]:
INFO: udp_init: SO_RCVBUF is initially 65535<BR>Mar 14 17:56:49
dda ser[15303]: INFO: udp_init: SO_RCVBUF is finally
262142<BR>Mar 14 17:56:49 dda ser[15303]: INFO: udp_init:
SO_RCVBUF is initially 65535<BR>Mar 14 17:56:49 dda ser[15303]:
INFO: udp_init: SO_RCVBUF is finally 262142<BR>Mar 14 17:56:49
dda ser[15303]: INFO: udp_init: SO_RCVBUF is initially
65535<BR>Mar 14 17:56:49 dda ser[15303]: INFO: udp_init:
SO_RCVBUF is finally 262142<BR>Mar 14 17:56:49 dda ser[15316]:
INFO: fifo process starting: 15316<BR>Mar 14 17:56:49 dda
ser[15316]: SER: open_uac_fifo: fifo server up at
/tmp/ser_fifo...<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>What should I do to see the
detailed debugs?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>Bo</DIV></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></FONT></BODY></HTML>