<DIV>Hi all,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I am new to ser. I am having the common problem where WM(4.7.2009) cannot&nbsp;be authenticated after the digest authentication is turn on. I have search for the solution posted in this forum and tried it but still cant solved it.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I am running ser-0.8.12 on CENTOS.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Please advice.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Regards</DIV>
<DIV>mo</DIV>
<DIV>&nbsp;</DIV>
<DIV>here is my ser.cfg</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>
<P># ----------- global configuration parameters ------------------------</P>
<P># debug=3 # debug level (cmd line: -dddddddddd)</P>
<P># fork=yes</P>
<P># log_stderror=no # (cmd line: -E)</P>
<P>listen=192.168.10.75</P>
<P>alias=server.com</P>
<P>/* Uncomment these lines to enter debugging mode </P>
<P>debug=7</P>
<P>fork=no</P>
<P>log_stderror=yes</P>
<P>*/</P>
<P>check_via=no # (cmd. line: -v)</P>
<P>dns=no # (cmd. line: -r)</P>
<P>rev_dns=no # (cmd. line: -R)</P>
<P># port=5060</P>
<P># children=4</P>
<P>fifo="/tmp/ser_fifo"</P>
<P># ------------------ module loading ----------------------------------</P>
<P># Uncomment this if you want to use SQL database</P>
<P>loadmodule "/usr/lib/ser/modules/mysql.so"</P>
<P>loadmodule "/usr/lib/ser/modules/sl.so"</P>
<P>loadmodule "/usr/lib/ser/modules/tm.so"</P>
<P>loadmodule "/usr/lib/ser/modules/rr.so"</P>
<P>loadmodule "/usr/lib/ser/modules/maxfwd.so"</P>
<P>loadmodule "/usr/lib/ser/modules/usrloc.so"</P>
<P>loadmodule "/usr/lib/ser/modules/registrar.so"</P>
<P># Uncomment this if you want digest authentication</P>
<P># mysql.so must be loaded !</P>
<P>loadmodule "/usr/lib/ser/modules/auth.so"</P>
<P>loadmodule "/usr/lib/ser/modules/auth_db.so"</P>
<P># ----------------- setting module-specific parameters ---------------</P>
<P># -- usrloc params --</P>
<P>#modparam("usrloc", "db_mode", 0)</P>
<P># Uncomment this if you want to use SQL database </P>
<P># for persistent storage and comment the previous line</P>
<P>modparam("usrloc", "db_mode", 2)</P>
<P>modparam("usrloc", "db_url", "sql://ser:heslo@localhost/ser")</P>
<P># -- auth params --</P>
<P>modparam("auth_db", "db_url", "sql://ser:heslo@localhost/ser")</P>
<P># Uncomment if you are using auth module</P>
<P>#</P>
<P>modparam("auth_db", "calculate_ha1", yes)</P>
<P>#</P>
<P># If you set "calculate_ha1" parameter to yes (which true in this config), </P>
<P># uncomment also the following parameter)</P>
<P>#</P>
<P>modparam("auth_db", "password_column", "password")</P>
<P># -- rr params --</P>
<P># add value to ;lr param to make some broken UAs happy</P>
<P>modparam("rr", "enable_full_lr", 1)</P>
<P># ------------------------- request routing logic -------------------</P>
<P># main routing logic</P>
<P>route{</P>
<P># initial sanity checks -- messages with</P>
<P># max_forwards==0, or excessively long requests</P>
<P>if (!mf_process_maxfwd_header("10")) {</P>
<P>sl_send_reply("483","Too Many Hops");</P>
<P>break;</P>
<P>};</P>
<P>if ( msg:len &gt; max_len ) {</P>
<P>sl_send_reply("513", "Message too big");</P>
<P>break;</P>
<P>};</P>
<P># we record-route all messages -- to make sure that</P>
<P># subsequent messages will go through our proxy; that's</P>
<P># particularly good if upstream and downstream entities</P>
<P># use different transport protocol</P>
<P>record_route(); </P>
<P># loose-route processing</P>
<P>if (loose_route()) {</P>
<P>t_relay();</P>
<P>break;</P>
<P>};</P>
<P># if the request is for other domain use UsrLoc</P>
<P># (in case, it does not work, use the following command</P>
<P># with proper names and addresses in it)</P>
<P>if (uri==myself) {</P>
<P>if (method=="REGISTER") {</P>
<P># Uncomment this if you want to use digest authentication</P>
<P>if (!www_authorize("server.com", "subscriber")) {</P>
<P>www_challenge("server.com", "0");</P>
<P>break;</P>
<P>};</P>
<P>save("location");</P>
<P>break;</P>
<P>};</P>
<P># native SIP destinations are handled using our USRLOC DB</P>
<P>if (!lookup("location")) {</P>
<P>sl_send_reply("404", "Not Found");</P>
<P>break;</P>
<P>};</P>
<P>};</P>
<P># forward to current uri now; use stateful forwarding; that</P>
<P># works reliably even if we forward from TCP to UDP</P>
<P>if (!t_relay()) {</P>
<P>sl_reply_error();</P>
<P>};</P>
<P>}</P></FONT></DIV><p>
                <hr size=1>Do you Yahoo!?<br> 
Yahoo! Mail - Find what you need with new enhanced search. <a href="http://us.rd.yahoo.com/evt=29917/*http://info.mail.yahoo.com/mail_250">Learn more.</a>