<!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.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#d8d0c8>
<DIV><BR>> Try to use alias="msa.banfoo.com" (in global configuration
parameters<BR>> section) and "if(uri==myself)" instead of "if
(uri==msa.banfoo.com)". If<BR>> doesn't help, we need to know the final
response you get from SER, is it<BR>> Time out?<BR><BR>Thanks, The alias
didnt fix my problem.<BR><BR>Im not sure but it seems with the config I had sent
earlier, ser is not<BR>running, when I start it and do a "msa# ps ax | grep ser
" I don't get any instances of<BR>SER running, which is always the case when Im
running on the default configuration. The only<BR>changes I make are enabling
the mysql module and the parameters that go with it. when I run it<BR>on debug I
can't see anything that would probably cause a problem. the database
opens<BR>successfully all the modules load. My config looks like the following,
oh Im running this<BR>on freebsd 4.10 stable, and mysql V.5<BR><BR>let me know
if you see anythingi should have a look
at.<BR><BR>##############################################<BR>current ser.cfg
after adding
alias<BR>##############################################<BR>#<BR><BR># $Id:
ser.cfg,v 1.21.4.1 2003/11/10 15:35:15 andrei Exp $<BR><BR>#<BR><BR># simple
quick-start config script<BR><BR>#<BR><BR># ----------- global configuration
parameters ------------------------<BR><BR>#debug=3 # debug level (cmd line:
-dddddddddd)<BR><BR>#fork=yes<BR><BR>#log_stderror=no # (cmd line: -E)<BR><BR>/*
Uncomment these lines to enter debugging
mode<BR><BR>debug=7<BR><BR>fork=no<BR><BR>log_stderror=yes<BR><BR>*/<BR><BR>check_via=no
# (cmd. line: -v)<BR><BR>dns=no # (cmd. line: -r)<BR><BR>rev_dns=no # (cmd.
line:
-R)<BR><BR>#port=5060<BR><BR>#children=4<BR><BR>fifo="/tmp/ser_fifo"<BR><BR>#
------------------ module loading ----------------------------------<BR><BR>#
Uncomment this if you want to use SQL database<BR><BR>loadmodule
"/usr/local/lib/ser/modules/sl.so"<BR><BR>loadmodule
"/usr/local/lib/ser/modules/mysql.so"<BR><BR>loadmodule
"/usr/local/lib/ser/modules/tm.so"<BR><BR>loadmodule
"/usr/local/lib/ser/modules/rr.so"<BR><BR>loadmodule
"/usr/local/lib/ser/modules/maxfwd.so"<BR><BR>loadmodule
"/usr/local/lib/ser/modules/usrloc.so"<BR><BR>loadmodule
"/usr/local/lib/ser/modules/registrar.so"<BR><BR># Uncomment this if you want
digest authentication<BR><BR># mysql.so must be loaded !<BR><BR>loadmodule
"/usr/local/lib/ser/modules/auth.so"<BR><BR>loadmodule
"/usr/local/lib/ser/modules/auth_db.so"<BR><BR># ----------------- setting
module-specific parameters ---------------<BR><BR># -- usrloc params
--<BR><BR>#modparam("usrloc", "db_mode", 0)<BR><BR># Uncomment this if you want
to use SQL database<BR><BR># for persistent storage and comment the previous
line<BR><BR>modparam("usrloc", "db_mode", 2)<BR><BR>modparam("usrloc",
"db_url","sql://ser:heslo@localhost/ser")<BR><BR># -- auth params --<BR><BR>#
Uncomment if you are using auth module<BR><BR>#<BR><BR>modparam("auth_db",
"calculate_ha1", yes)<BR><BR>#<BR><BR># If you set "calculate_ha1" parameter to
yes (which true in this config),<BR><BR># uncomment also the following
parameter)<BR><BR>#<BR><BR>modparam("auth_db", "password_column",
"password")<BR><BR># -- rr params --<BR><BR># add value to ;lr param to make
some broken UAs happy<BR><BR>modparam("rr", "enable_full_lr", 1)<BR><BR>#
------------------------- request routing logic -------------------<BR><BR>#
main routing
logic<BR><BR>alias="banfoo.com"<BR><BR>alias="msa.banfoo.com"<BR><BR>route{<BR><BR>#
initial sanity checks -- messages with<BR><BR># max_forwards==0, or excessively
long requests<BR><BR>if (!mf_process_maxfwd_header("10"))
{<BR><BR>sl_send_reply("483","Too Many Hops");<BR><BR>break;<BR><BR>};<BR><BR>if
( msg:len > max_len ) {<BR><BR>sl_send_reply("513", "Message too
big");<BR><BR>break;<BR><BR>};<BR><BR># we record-route all messages -- to make
sure that<BR><BR># subsequent messages will go through our proxy;
that's<BR><BR># particularly good if upstream and downstream entities<BR><BR>#
use different transport protocol<BR><BR>record_route();<BR><BR># loose-route
processing<BR><BR>if (loose_route())
{<BR><BR>t_relay();<BR><BR>break;<BR><BR>};<BR><BR># if the request is for other
domain use UsrLoc<BR><BR># (in case, it does not work, use the following
command<BR><BR># with proper names and addresses in it)<BR><BR>if (uri==myself)
{<BR><BR>if (method=="REGISTER") {<BR><BR># Uncomment this if you want to use
digest authentication<BR><BR># if (!www_authorize("msa.banfoo.com",
"subscriber")) {<BR><BR># www_challenge("msa.banfoo.com", "0");<BR><BR>#
break;<BR><BR># };<BR><BR>save("location");<BR><BR>break;<BR><BR>};<BR><BR>#
native SIP destinations are handled using our USRLOC DB<BR><BR>if
(!lookup("location")) {<BR><BR>sl_send_reply("404", "Not
Found");<BR><BR>break;<BR><BR>};<BR><BR>};<BR><BR># forward to current uri now;
use stateful forwarding; that<BR><BR># works reliably even if we forward from
TCP to UDP<BR><BR>if (!t_relay())
{<BR><BR>sl_reply_error();<BR><BR>};<BR><BR>}<BR></DIV></BODY></HTML>