thx a ton,
i got the stop accounting record being generated however i have few more
questions if you can please clarify them
i m getting this in ser log
Warning: sl_send_reply: I won't send a reply for ACK!!
and in accounting i m getting this, i m using xten softphone and windows
messenger for call tests
why there is %40 and another suffx here?
Sat Nov 15 09:56:40 2003
Acct-Status-Type = Start
Service-Type = Sip-Session
Sip-Response-Code = 200
Sip-Method = 1
User-Name = "2222%40sip.net4india.com(a)sip.net4india.com"
Calling-Station-Id =
"sip:2222%40sip.net4india.com@sip.net4india.com" ---------------------------
---//// why there is %40 and another suffx here?
Called-Station-Id = "sip:1111@sip.net4india.com"
Sip-Translated-Req-ID = "sip:202.71.135.212:8954"
Acct-Session-Id =
"FE9E0408-BA8D-4A4D-8BB0-ED337EA59AE9(a)202.71.135.212"
Sip-To-Tag = "2924fa2e2d794fb59653112764eb5440"
Sip-From-Tag = "3011335414"
Sip-Cseq = "16027"
NAS-IP-Address = 202.71.135.219
NAS-Port = 5060
Acct-Delay-Time = 0
Client-IP-Address = 127.0.0.1
Acct-Unique-Session-Id = "694856a1f39a033f"
Timestamp = 1068870400
Sat Nov 15 09:57:30 2003
Acct-Status-Type = Stop
Service-Type = Sip-Session
Sip-Response-Code = 200
Sip-Method = 8
User-Name = "1111(a)sip.net4india.com"
Calling-Station-Id = "sip:1111@sip.net4india.com"
Called-Station-Id =
"sip:2222%40sip.net4india.com@sip.net4india.com"----------------------------
--//// why there is %40 and another suffx here?
Sip-Translated-Req-ID =
"sip:2222%40sip.net4india.com@202.71.135.212:5060"
Acct-Session-Id =
"FE9E0408-BA8D-4A4D-8BB0-ED337EA59AE9(a)202.71.135.212"
Sip-To-Tag = "3011335414"
Sip-From-Tag = "2924fa2e2d794fb59653112764eb5440"
Sip-Cseq = "1"
NAS-IP-Address = 202.71.135.219
NAS-Port = 5060
Acct-Delay-Time = 0
Client-IP-Address = 127.0.0.1
Acct-Unique-Session-Id = "e521473c6af7df3f"
Timestamp = 1068870450
----- Original Message -----
From: "Daniel-Constantin Mierla"
<Daniel-Constantin.Mierla(a)fokus.fraunhofer.de>
To: "Madan" <madan.r(a)net4india.net>
Cc: <serusers(a)lists.iptel.org>
Sent: Friday, November 14, 2003 3:50 PM
Subject: Re: [Serusers] ser/radius stop accounting and strange suffix in
SIPURI
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(a)sip.net4india.com
> <mailto:2222@sip.net4india.com@sip.net4india.com>" -------
> ----------//////WHY THERE IS %40 and another suffix here ??
> Calling-Station-Id =
> "sip:2222%40sip.net4india.com@sip.net4india.com"
> Called-Station-Id = "sip:1111@sip.net4india.com"
>
> ---- ser logs---
>
> 1(30633) submit_query(): insert into location
> (username,contact,expires,q,callid,cseq,replicate,state ) values
> ('2222(a)sip.ne <mailto:%272222@sip.ne>
>
t4india.com','sip:2222%40sip.net4india.com@202.71.135.212:5060','2003-11-14
14:48:12',0.00 ,'4BB35B97749540DEB1B52BC38E4
CD838(a)sip.net4india.com',11461,0,0
<mailto:CD838@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@sip.net4india.com]
0(30632) DEBUG: to body [<sip:1111@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(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers