[Serusers] ser/radius stop accounting and strange suffix in SIPURI

Daniel-Constantin Mierla Daniel-Constantin.Mierla at fokus.fraunhofer.de
Fri Nov 14 11:20:28 CET 2003


Hello,
you don't get the Stop event probably because you don't set the proper 
flag for BYEs. That usually happens if you have block like next one 
before setting the flag:

if (loose_route()) {
t_relay();
break;
};

Best regards,
}Daniel


On 11/14/2003 9:54 AM, Madan wrote:

> Hi,
> I have got ser working with radius,,but there is some issues with 
> accounting part as Stop accounting is not happening..I m attaching the 
> logs of ser and radius, please let me know what is wrong and 
> where...and also there is strange sign of %40 and sip server suffix 
> with the SIP URI..why is this so?
>  
>  
> ----radiuslog---
>  
> rlm_eap: EAP-Message not found
>   modcall[authorize]: module "eap" returns noop for request 0
>     rlm_digest: Converting Digest-Attributes to something sane...
>         Digest-User-Name = "2222"
>         Digest-Realm = "sip.net4india.com"
>         Digest-Nonce = "3fb497f856738fb5660c739a7618531858857d38"
>         Digest-Uri = 
> "sip:sip.net4india.com"-----------------------------------------------//// 
> IS THIS CORRECT??
>         Digest-Method = "REGISTER"
> rad_recv: Accounting-Request packet from host 127.0.0.1:32771, id=24, 
> length=313
>         Acct-Status-Type = Start
>         Service-Type = Sip-Session
>         Sip-Response-Code = 200
>         Sip-Method = 1
>         User-Name = "2222%40sip.net4india.com at sip.net4india.com 
> <mailto:2222 at sip.net4india.com@sip.net4india.com>" ------- 
> ----------//////WHY THERE IS %40 and another suffix here ??
>         Calling-Station-Id = 
> "sip:2222%40sip.net4india.com at sip.net4india.com"
>         Called-Station-Id = "sip:1111 at sip.net4india.com"
>  
> ---- ser logs---
>  
> 1(30633) submit_query(): insert into location 
> (username,contact,expires,q,callid,cseq,replicate,state ) values 
> ('2222 at sip.ne <mailto:%272222 at sip.ne>
> t4india.com','sip:2222%40sip.net4india.com at 202.71.135.212:5060','2003-11-14 
> 14:48:12',0.00      ,'4BB35B97749540DEB1B52BC38E4
> CD838 at sip.net4india.com',11461,0,0 
> <mailto:CD838 at sip.net4india.com%27,11461,0,0>)
>  0(30632) DEBUG: probing packet received
>  0(30632) SIP Request:
>  0(30632)  method:  <REGISTER>
>  0(30632)  uri:     <sip:sip.net4india.com> 
> ---------------------------------------/// SAME PROBLEM HERE AS WELL
> 0(30632) DEBUG : sl_filter_ACK: to late to be a local ACK! 
> -----------------------/// WHY IS THIS COMING???
>
>  0(30632) preparing to run routing scripts...
>  0(30632) DEBUG : is_maxfwd_present: searching for max_forwards header
>  0(30632) parse_headers: flags=128
>  0(30632) DEBUG: add_param: tag=ce0a3d8674924666b210617eff671290
>  0(30632) end of header reached, state=29
>  0(30632) DEBUG: get_hdr_field: <To> [67]; 
> uri=[sip:1111 at sip.net4india.com]
>  0(30632) DEBUG: to body [<sip:1111 at sip.net4india.com>]
>  0(30632) get_hdr_field: cseq <CSeq>: <14668> <ACK>
>  0(30632) DEBUG: is_maxfwd_present: value = 70
>  0(30632) DEBUG: add_param: tag=630752520
>  0(30632) end of header reached, state=29
>  0(30632) lookup(): '' Not found in usrloc
>  0(30632) Warning: sl_send_reply: I won't send a reply for ACK!! 
> ---------------------/// WHY IS THIS COMING???
>  0(30632) receive_msg: cleaning up
>  1(30633) DEBUG: timer routine:1,tl=0x422b422c next=(nil)
>  0(30632) SIP Reply  (status):
>  0(30632)  version: <SIP/2.0>
>  0(30632)  status:  <200>
>  0(30632)  reason:  <OK>
>  0(30632) parse_headers: flags=1
>  0(30632) Found param type 232, <branch> = <z9hG4bK2df7.8c62145
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Serusers mailing list
>serusers at lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
>  
>





More information about the sr-users mailing list