<DIV>Seems some problem with dns resolution, or conflict b/w fqdn of ser and dns_query_reply for domain</DIV>
<DIV>Can connect calls using </DIV>
<DIV><A href="mailto:xxxx@sip.abc.com">xxxx@sip.abc.com</A> and <A href="mailto:xxxx@sip.xyz.com">xxxx@sip.xyz.com</A></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>JF<BR><BR><B><I>John Foster &lt;jfoste2003@yahoo.com&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<DIV>Thanx Jan, worked with "" instead of realm in authorize n challenge..</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Appreciate ur help.</DIV>
<DIV>&nbsp;</DIV>
<DIV>(any comment on my next mail about two different VoIP domains)</DIV>
<DIV>JF<BR><BR><B><I>Jan Janak &lt;jan@iptel.org&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">I.e. if your message contains foo.bar in From/To (depending on the<BR>message) then make sure you have either "foo.bar" as the first parameter<BR>of *_authorize and *_challenge functions. Or you can also use empty<BR>string, in that case the parameter will be extracted from the SIP<BR>message.<BR><BR>Jan.<BR><BR>On 04-10 10:54, Jan Janak wrote:<BR>&gt; Hello,<BR>&gt; <BR>&gt; make sure that digest realm parameter and From/To domain are same.<BR>&gt; <BR>&gt; Jan.<BR>&gt; <BR>&gt; On 03-10 22:37, John Foster wrote:<BR>&gt; &gt; Hi Jan,<BR>&gt; &gt; <BR>&gt; &gt; Already gone through this, did exactly the same, radiusclient is installed n configured, While m geting an error in debug of ser, that is <BR>&gt; &gt; <BR>&gt; &gt; 15(26965) check_nonce(): comparing [3f7e23177ff358f48050c11e7540943971b73f02] and [3f7e23177ff358f48050c11e7540943971b73f02]<BR>&gt; &gt; 15(26965) authori ze():
 Credentials realm and URI host do not match<BR>&gt; &gt; 15(26965) build_auth_hf(): 'WWW-Authenticate: Digest realm="cooking.com.pk", nonce="3f7e23177ff358f48050c11e7540943971b73f02"<BR>&gt; &gt; <BR>&gt; &gt; While ser conf is fine enough, pasted below.<BR>&gt; &gt; alias="cooking.com.pk"<BR>&gt; &gt; # ------------------ module loading ----------------------------------<BR>&gt; &gt; # Uncomment this if you want to use SQL database<BR>&gt; &gt; loadmodule "/usr/local/lib/ser/modules/mysql.so"<BR>&gt; &gt; loadmodule "/usr/local/lib/ser/modules/sl.so"<BR>&gt; &gt; loadmodule "/usr/local/lib/ser/modules/tm.so"<BR>&gt; &gt; loadmodule "/usr/local/lib/ser/modules/rr.so"<BR>&gt; &gt; loadmodule "/usr/local/lib/ser/modules/maxfwd.so"<BR>&gt; &gt; loadmodule "/usr/local/lib/ser/modules/usrloc.so"<BR>&gt; &gt; loadmodule "/usr/local/lib/ser/modules/registrar.so"<BR>&gt; &gt; # Uncomment this if you want digest authentication<BR>&gt; &gt; # mysql.so must be loaded !<BR>&gt; &gt; loa dmodule
 "/usr/local/lib/ser/modules/auth.so"<BR>&gt; &gt; loadmodule "/usr/local/lib/ser/modules/auth_radius.so"<BR>&gt; &gt; # ----------------- setting module-specific parameters ---------------<BR>&gt; &gt; # -- usrloc params --<BR>&gt; &gt; #modparam("usrloc", "db_mode", 0)<BR>&gt; &gt; # Uncomment this if you want to use SQL database<BR>&gt; &gt; # for persistent storage and comment the previous line<BR>&gt; &gt; modparam("usrloc", "db_mode", 2)<BR>&gt; &gt; # -- auth params --<BR>&gt; &gt; # Uncomment if you are using auth module<BR>&gt; &gt; #<BR>&gt; &gt; #modparam("auth_db", "calculate_ha1", yes)<BR>&gt; &gt; modparam("auth_radius", "radius_config", "/usr/local/etc/radiusclient/radiusclient.conf")<BR>&gt; &gt; #<BR>&gt; &gt; # If you set "calculate_ha1" parameter to yes (which true in this config),<BR>&gt; &gt; # uncomment also the following parameter)<BR>&gt; &gt; #<BR>&gt; &gt; #modparam("auth_db", "password_column", "password")<BR>&gt; &gt; modparam("auth_radius",
 "service_type", 15)<BR>&gt; &gt; # -- rr params --<BR>&gt; &gt; # add value to ;lr param to make some broken UAs happy<BR>&gt; &gt; modparam("rr", "enable_full_lr", 1)<BR>&gt; &gt; # ------------------------- request routing logic -------------------<BR>&gt; &gt; # main routing logic<BR>&gt; &gt; route{<BR>&gt; &gt; # initial sanity checks -- messages with<BR>&gt; &gt; # max_forwards==0, or excessively long requests<BR>&gt; &gt; if (!mf_process_maxfwd_header("10")) {<BR>&gt; &gt; sl_send_reply("483","Too Many Hops....:(");<BR>&gt; &gt; break;<BR>&gt; &gt; };<BR>&gt; &gt; if (len_gt( max_len )) {<BR>&gt; &gt; sl_send_reply("513", "Message too big");<BR>&gt; &gt; break;<BR>&gt; &gt; };<BR>&gt; &gt; # we record-route all messages -- to make sure that<BR>&gt; &gt; # subsequent messages will go through our proxy; that's<BR>&gt; &gt; # particularly good if upstream and downstream entities<BR>&gt; &gt; # use different transport protocol<BR>&gt; &gt; record_route();<BR>&gt; &gt; #
 loose-route processing<BR>&gt; &gt; if (loose_route()) {<BR>&gt; &gt; t_relay();<BR>&gt; &gt; break;<BR>&gt; &gt; };<BR>&gt; &gt; # if the request is for other domain use UsrLoc<BR>&gt; &gt; # (in case, it does not work, use the following command<BR>&gt; &gt; # with proper names and addresses in it)<BR>&gt; &gt; if (uri=~"voice.cooking.com.pk") {<BR>&gt; &gt; if (method=="REGISTER") {<BR>&gt; &gt; # Uncomment this if you want to use digest authentication<BR>&gt; &gt; if (!radius_www_authorize("cooking.com.pk")) {<BR>&gt; &gt; www_challenge("cooking.com.pk", "0");<BR>&gt; &gt; break;<BR>&gt; &gt; };<BR>&gt; &gt; save("location");<BR>&gt; &gt; break;<BR>&gt; &gt; };<BR>&gt; &gt; # native SIP destinations are handled using our USRLOC DB<BR>&gt; &gt; if (!lookup("location")) {<BR>&gt; &gt; sl_send_reply("404", "Not Found....!!!");<BR>&gt; &gt; break;<BR>&gt; &gt; };<BR>&gt; &gt; };<BR>&gt; &gt; # forward to current uri now; use stateful forwarding; that<BR>&gt; &gt; # works reli ably
 even if we forward from TCP to UDP<BR>&gt; &gt; if (!t_relay()) {<BR>&gt; &gt; sl_reply_error();<BR>&gt; &gt; };<BR>&gt; &gt; }<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; Seems some minor mistake.., As no request is being sent to radius, ngrep shows nothing for that.... <BR>&gt; &gt; <BR>&gt; &gt; JF<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; Jan Janak <JAN@IPTEL.ORG>wrote:<BR>&gt; &gt; See http://iptel.org/ser/ser_radius.html<BR>&gt; &gt; <BR>&gt; &gt; Jan.<BR>&gt; &gt; <BR>&gt; &gt; On 03-10 03:47, John Foster wrote:<BR>&gt; &gt; &gt; Hi <BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt; I m using RADIATOR with ser0.8.11, while ser is running it doesnt send req to radius, following are snapd of log generated at ser (ngrep o/p)<BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt; #<BR>&gt; &gt; &gt; U 202.133.64.66:5060 -&gt; 202.133.64.71:5060<BR>&gt; &gt; &gt; REGISTER sip:voice.cooking.com.pk SIP/2.0..Via: SIP/2.0/UDP 202.133.64.66;branch=z9hG4bKnp1730137267-43b5a45e202.133.64.6<BR>&gt; &gt; &gt; 6..Fro m:
 ;tag=671fccba..To: ..Call-ID: 1969536413-43c1d03<BR>&gt; &gt; &gt; a@1969536416-43c1d037..Contact: ;expires=600;q=0.500..Expires: 600..CSeq: 22 REGISTER..Content-<BR>&gt; &gt; &gt; Length: 0..User-Agent: Ahead SIPPS IP Phone Version 2.0.42.13....<BR>&gt; &gt; &gt; #<BR>&gt; &gt; &gt; U 202.133.64.71:5060 -&gt; 202.133.64.66:5060<BR>&gt; &gt; &gt; SIP/2.0 401 Unauthorized..Via: SIP/2.0/UDP 202.133.64.66;branch=z9hG4bKnp1730137267-43b5a45e202.133.64.66..From: &gt; ;tag=671fccba..To"&gt;21@voice.cooking.com.pk&gt;;tag=671fccba..To: ;tag=b27e1a1d33761e85846fc98f5f3a7e58.bdca..Ca<BR>&gt; &gt; &gt; ll-ID: 1969536413-43c1d03a@1969536416-43c1d037..CSeq: 22 REGISTER..WWW-Authenticate: Digest realm="cooking.com.pk", nonce<BR>&gt; &gt; &gt; ="3f7d19d62902cb25358e2c666df77d1369d90974"..Server: Sip EXpress router (0.8.11 (i386/linux))..Content-Length: 0..Warning<BR>&gt; &gt; &gt; : 392 202.133.64.71:5060 "Noisy feedback tells: pid=13339 req_src_ip=202.133.64.66 req_src_port=5060
 in_uri=sip:voice.co<BR>&gt; &gt; &gt; oking.com.pk out_uri=sip:voice.cooking.com.pk via_cnt==1"....<BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt; While here is my ser.cfg<BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt; # mysql.so must be loaded !<BR>&gt; &gt; &gt; loadmodule "/usr/local/lib/ser/modules/auth.so"<BR>&gt; &gt; &gt; loadmodule "/usr/local/lib/ser/modules/auth_radius.so"<BR>&gt; &gt; &gt; # ----------------- setting module-specific parameters ---------------<BR>&gt; &gt; &gt; # -- usrloc params --<BR>&gt; &gt; &gt; #modparam("usrloc", "db_mode", 0)<BR>&gt; &gt; &gt; # Uncomment this if you want to use SQL database<BR>&gt; &gt; &gt; # for persistent storage and comment the previous line<BR>&gt; &gt; &gt; modparam("usrloc", "db_mode", 2)<BR>&gt; &gt; &gt; # -- auth params --<BR>&gt; &gt; &gt; # Uncomment if you are using auth module<BR>&gt; &gt; &gt; #<BR>&gt; &gt; &gt; #modparam("auth_dbs", "calculate_ha1", yes)<BR>&gt; &gt; &gt; modparam("auth_radius", "radius_con fig",
 "/usr/local/etc/radiusclient/radiusclient.conf")<BR>&gt; &gt; &gt; #<BR>&gt; &gt; &gt; # If you set "calculate_ha1" parameter to yes (which true in this config),<BR>&gt; &gt; &gt; # uncomment also the following parameter)<BR>&gt; &gt; &gt; #<BR>&gt; &gt; &gt; #modparam("auth_db", "password_column", "password")<BR>&gt; &gt; &gt; modparam("auth_radius", "service_type", 15)<BR>&gt; &gt; &gt; :<BR>&gt; &gt; &gt; :<BR>&gt; &gt; &gt; :<BR>&gt; &gt; &gt; :<BR>&gt; &gt; &gt; # Uncomment this if you want to use digest authentication<BR>&gt; &gt; &gt; if (!radius_www_authorize("cooking.com.pk")) {<BR>&gt; &gt; &gt; www_challenge("cooking.com.pk", "0");<BR>&gt; &gt; &gt; break;<BR>&gt; &gt; &gt; };<BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt; Any hint?<BR>&gt; &gt; &gt; JF<BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt; ---------------------------------<BR>&gt; &gt; &gt; Do you Yahoo!?<BR>&gt; &gt; &gt; The New Yahoo! Shopping - with improved produ ct
 search<BR>&gt; &gt; &gt; _______________________________________________<BR>&gt; &gt; &gt; Serusers mailing list<BR>&gt; &gt; &gt; serusers@lists.iptel.org<BR>&gt; &gt; &gt; http://lists.iptel.org/mailman/listinfo/serusers<BR>&gt; &gt; <BR>&gt; &gt; <BR>&gt; &gt; ---------------------------------<BR>&gt; &gt; Do you Yahoo!?<BR>&gt; &gt; The New Yahoo! Shopping - with improved product search<BR>&gt; <BR>&gt; _______________________________________________<BR>&gt; Serhelp mailing list<BR>&gt; serhelp@lists.iptel.org<BR>&gt; http://lists.iptel.org/mailman/listinfo/serhelp</BLOCKQUOTE>
<P>
<HR SIZE=1>
Do you Yahoo!?<BR><A href="http://shopping.yahoo.com/?__yltc=s%3A150000443%2Cd%3A22708228%2Cslk%3Atext%2Csec%3Amail">The New Yahoo! Shopping</A> - with improved product search_______________________________________________<BR>Serusers mailing list<BR>serusers@lists.iptel.org<BR>http://lists.iptel.org/mailman/listinfo/serusers<BR></BLOCKQUOTE><p><hr SIZE=1>
Do you Yahoo!?<br>
<a href="http://shopping.yahoo.com/?__yltc=s%3A150000443%2Cd%3A22708228%2Cslk%3Atext%2Csec%3Amail">The New Yahoo! Shopping</a> - with improved product search