<HTML >
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">

                                                                <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-16">
<META HTTP-EQUIV="EXPIRES" CONTENT="0">
<META HTTP-EQUIV="EXPIRESABSOLUTE" CONTENT="Tue, 01 Jun 1999 12:00:00 GMT">
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="PRIVATE">
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">


<META content="MSHTML 6.00.2900.2838" name=GENERATOR></HEAD>
                                                        <BODY bgColor=#ffffff>
                                                                <DIV>
<DIV dir=ltr align=left><SPAN class=257563113-01062006><FONT face=Arial 
color=#0000ff size=2>Hi,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=257563113-01062006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=257563113-01062006><FONT face=Arial 
color=#0000ff size=2>I succeeded in sending radius start/stop packets to my 
Radius server.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=257563113-01062006><FONT face=Arial 
color=#0000ff size=2>But I saw a problem when the hanging up party is different 
from the calling party.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=257563113-01062006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=257563113-01062006><FONT face=Arial 
color=#0000ff size=2>In the following radius start/stop pair <A 
href="mailto:200000900568888885@sip.test.net">200000900568888885</A>&nbsp;calls 
200000900569871112 but 200000900569871112 is hanging up. So the BYE message is 
sent from 200000900569871112.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=257563113-01062006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=257563113-01062006><FONT face=Arial 
color=#0000ff size=2>How can I solve this problem so that calling party is same 
for both radius start stop messages ?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=257563113-01062006><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=257563113-01062006><FONT face=Arial 
color=#0000ff size=2>Thu Jun&nbsp; 1 16:29:11 
2006<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Acct-Session-Id = 
"c73bf2494104ba79ZTdhMWJjNTYwYmMyM2E1ZjFmZWZhMDAyYWVjYzNmNjM."<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Gric-Timezone = 1714959921<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Ascend-PRI-Number-Type = 577334379<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Ascend-Route-IP = 1936289850<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Gric-Roaming-Server-Id = "INVITE"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Ascend-Calling-Subadddress = 
"sip:200000900569871112@192.168.1.23:16634;rinstance=388dfcffc2868d87;transport=udp"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Gric-Request-Type = 1664561715<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Ascend-Route-IPX = 577334379<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Ascend-Callback-Delay = 3277318212<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Acct-Status-Type = Start<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Service-Type = 15<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; User-Name = "<A 
href="mailto:200000900568888885@sip.test.net">200000900568888885@sip.test.net</A>"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
NAS-Port = 5060<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Acct-Delay-Time = 
0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAS-IP-Address = 
193.243.202.99<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Timestamp = 
1149168551</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=257563113-01062006><FONT face=Arial 
color=#0000ff size=2>Thu Jun&nbsp; 1 16:29:13 
2006<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Acct-Session-Id = 
"c73bf2494104ba79ZTdhMWJjNTYwYmMyM2E1ZjFmZWZhMDAyYWVjYzNmNjM."<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Gric-Timezone = 1664561715<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Ascend-PRI-Number-Type = 577334379<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Ascend-Route-IP = 1936289850<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Gric-Roaming-Server-Id = "BYE"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Ascend-Calling-Subadddress = 
"sip:200000900568888885@192.168.1.28:16934"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Gric-Request-Type = 1714959921<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Ascend-Route-IPX = 577334379<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Ascend-Callback-Delay = 1432970919<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Acct-Status-Type = Stop<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Service-Type = 15<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; User-Name = "<A 
href="mailto:200000900569871112@sip.test.net">200000900569871112@sip.test.net</A>"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
NAS-Port = 5060<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Acct-Delay-Time = 
0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAS-IP-Address = 
193.243.202.99<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Timestamp = 
1149168553<BR></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=257563113-01062006><FONT face=Arial 
color=#0000ff size=2>Regards,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=257563113-01062006><FONT face=Arial 
color=#0000ff size=2>ilker</DIV></FONT></SPAN><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sip [mailto:sip@arcdiv.com] 
<BR><B>Sent:</B> Thursday, June 01, 2006 1:10 AM<BR><B>To:</B> &#304;lker Aktuna 
(Ko&#231;.net); serusers@iptel.org<BR><B>Subject:</B> RE: [Serusers] Radius 
accounting howto<BR></FONT><BR></DIV>
<DIV></DIV><FONT size=2>The purpose of the module is to take care of that all 
for you.&nbsp; I'm afraid I don't use the acc_radius module as I don't honestly 
see the point in separating out each and every logging function into separate 
modules (talk about backward thinking).&nbsp; I still use the older acc module 
compiled with radius support. <BR><BR>The code block I sent you is all that's 
necessary for the logging of start/stop requests. <BR><BR>N. 
<BR><BR><BR>[UTF-8?]<B>On Wed, 31 May 2006 19:47:50 +0300, &#196;&#176;lker Aktuna 
\(Ko&#195;&#167;.net\) wrote</B> <BR>&gt; <FONT face=Arial color=#0000ff size=2><SPAN 
class=172584516-31052006>I tried that configuration. I get no errors but also no 
radius packet is created/sent.</SPAN></FONT> <BR>&gt; <FONT face=Arial 
color=#0000ff size=2><SPAN class=172584516-31052006>after setting the flag by 
"setflag()" command , do I have to enter another command to send the accounting 
packet for that marked message ?</SPAN></FONT> <BR>&gt; <FONT face=Arial 
color=#0000ff size=2><SPAN class=172584516-31052006></SPAN></FONT>&nbsp; 
<BR>&gt; <FONT face=Arial color=#0000ff size=2><SPAN 
class=172584516-31052006>Thanks,</SPAN></FONT> <BR>&gt; <FONT face=Arial 
color=#0000ff size=2><SPAN class=172584516-31052006>ilker</SPAN></FONT> <BR>&gt; 
<BR>&gt; 
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> serusers-bounces@lists.iptel.org 
[mailto:serusers-bounces@lists.iptel.org] <B>On Behalf Of </B>&#304;lker Aktuna 
(Ko&#231;.net) <BR>&gt; <B>Sent:</B> Wednesday, May 31, 2006 5:26 PM <BR>&gt; 
<B>To:</B> sip; serusers@iptel.org <BR>&gt; <B>Subject:</B> RE: [Serusers] 
Radius accounting howto <BR>&gt; </FONT><BR>&gt; <BR>&gt; <SPAN 
class=040222514-31052006><FONT face=Arial color=#0000ff size=2>Thanks for that 
information. But, how does Ser know to send start or stop message to radius 
?</FONT></SPAN> <BR>&gt; <SPAN class=040222514-31052006></SPAN>&nbsp; <BR>&gt; 
<SPAN class=040222514-31052006><FONT face=Arial color=#0000ff 
size=2>Thanks,</FONT></SPAN> <BR>&gt; <SPAN class=040222514-31052006><FONT 
face=Arial color=#0000ff size=2>ilker</FONT></SPAN> <BR>&gt; <BR>&gt; 
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sip [mailto:sip@arcdiv.com] <BR>&gt; 
<B>Sent:</B> Wednesday, May 31, 2006 2:13 PM <BR>&gt; <B>To:</B> &#304;lker Aktuna 
(Ko&#231;.net); serusers@iptel.org <BR>&gt; <B>Subject:</B> RE: [Serusers] Radius 
accounting howto <BR>&gt; </FONT><BR>&gt; <BR>&gt; <FONT size=2>These are 
essentially log flags. <BR>&gt; <BR>&gt; In order to log an INVITE or a BYE to 
the radius server (assuming your log_flag param was set to 1), you'd do 
something like: <BR>&gt; <BR>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
if((method=="INVITE" &amp;&amp; !has_totag()) || method=="BYE") <BR>&gt; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { <BR>&gt; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
setflag(1); <BR>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }; <BR>&gt; 
<BR>&gt; I stick that BEFORE the loose_route section of my config, as if I 
don't, it doesn't seem to catch things correctly. I've yet to debug why.&nbsp; 
The reason I put the extra !has_totag() in there is for my accounting, so I 
don't end up logging reINVITES from the remote side. <BR>&gt; <BR>&gt; 
Basically, the parameter for log_flag determines which flag you set in order to 
log the packet to the radius server. <BR>&gt; <BR>&gt; N. <BR>&gt; <BR>&gt; 
[UTF-8?]<B>On Wed, 31 May 2006 10:48:42 +0300, &#196;&#176;lker Aktuna \(Ko&#195;&#167;.net\) 
wrote</B> <BR>&gt; &gt; <FONT size=2>Hi, <BR>&gt; &gt; <BR>&gt; &gt; Thanks for 
your reply. I saw that in the source and changed according to them. But I still 
can't see any radius packets created/sent by Ser when a call is made. <BR>&gt; 
&gt; What should I add to the configuration to send start/stop packets ? 
<BR>&gt; &gt; <BR>&gt; &gt; Regards, <BR>&gt; &gt; ilker <BR>&gt; &gt; <BR>&gt; 
&gt; -----Original Message----- <BR>&gt; &gt; From: 
serusers-bounces@lists.iptel.org [<A 
href="mailto:serusers-bounces@lists.iptel.org">mailto:serusers-bounces@lists.iptel.org</A>] 
On Behalf Of sip <BR>&gt; &gt; Sent: Tuesday, May 30, 2006 8:28 PM <BR>&gt; &gt; 
To: serusers@iptel.org <BR>&gt; &gt; Subject: Re: [Serusers] Radius accounting 
howto <BR>&gt; &gt; <BR>&gt; &gt; Those params are valid for the old acc module 
compiled with radius support. <BR>&gt; &gt; The acc_radius module I think uses 
log_flag and log_missed_flag (according to the source). <BR>&gt; &gt; <BR>&gt; 
&gt; N. <BR>&gt; &gt; <BR>&gt; &gt; On Tue, 30 May 2006 17:54:40 +0300, &#221;lker 
Aktuna (Ko&#231;.net) wrote <BR>&gt; &gt; &gt; Hi everyone, <BR>&gt; &gt; &gt;&nbsp; 
<BR>&gt; &gt; &gt; I am trying to use acc_radius module with presence CVS 
sources. <BR>&gt; &gt; &gt; I compiled the radiusclient library and compiled ser 
with acc_radius module. <BR>&gt; &gt; &gt;&nbsp; <BR>&gt; &gt; &gt; Then I added 
following lines to the config: <BR>&gt; &gt; &gt;&nbsp; <BR>&gt; &gt; &gt; 
loadmodule "/root/ser/lib/ser/modules/acc_radius.so" <BR>&gt; &gt; &gt; 
modparam("acc_radius", "radius_config", <BR>&gt; &gt; 
"/usr/local/etc/radiusclient-ng/radiusclient.conf") <BR>&gt; &gt; &gt; 
modparam("acc_radius", "service_type", 15) modparam("acc_radius", <BR>&gt; &gt; 
&gt; "radius_flag", 1) modparam("acc_radius", "radius_missed_flag", 3) <BR>&gt; 
&gt; &gt; modparam("acc_radius", "report_ack", 0) <BR>&gt; &gt; &gt;&nbsp; 
<BR>&gt; &gt; &gt;&nbsp; <BR>&gt; &gt; &gt; But when I try to start ser, it 
doesn't accept 2 parameters: <BR>&gt; &gt; &gt; modparam("acc_radius", 
"radius_flag", 1) modparam("acc_radius", <BR>&gt; &gt; &gt; 
"radius_missed_flag", 3) <BR>&gt; &gt; &gt;&nbsp; <BR>&gt; &gt; &gt; What should 
be the correct syntax for these parameters ? are they required ? <BR>&gt; &gt; 
&gt;&nbsp; <BR>&gt; &gt; &gt; And what else should I add to the configuration to 
send radius-start <BR>&gt; &gt; &gt; and <BR>&gt; &gt; radius-stop messages to 
the radius server ? <BR>&gt; &gt; &gt;&nbsp; <BR>&gt; &gt; &gt; Thanks, <BR>&gt; 
&gt; &gt; ilker <BR>&gt; &gt; &gt; <BR>&gt; &gt; &gt;&nbsp; <BR>&gt; &gt; &gt; 
<BR>&gt; &gt; &gt; <BR>&gt; </FONT></FONT><BR>&gt; </FONT>
<!--445D5241795C-->
<br><br><a href="http://387555.sigclick.mailinfo.com/sigclick/02090704/07004E09/08054C03/11101252.jpg"><img src="http://387555.signature1.mailinfo.com/confirm2.6/02090704/07004E09/08054C03/11101252.jpg" border="0" nosend="1"></a><!--445D5241795C//--></DIV>
                                                                <DIV STYLE="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: verdana">
                                                                        <DIV STYLE="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: verdana">
                                                                                <DIV STYLE="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: verdana">_____________________________________________________________________________________________________________________________________________</DIV>
                                                                                <DIV STYLE="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: verdana">Bu e-posta mesaji kisiye ozel olup, gizli bilgiler iceriyor olabilir. Eger bu e-posta mesaji size yanlislikla ulasmissa,&nbsp; icerigini hic bir sekilde kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen e-posta mesajini kullaniciya hemen geri gonderiniz&nbsp; ve&nbsp; tum kopyalarini mesaj kutunuzdan siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz.&nbsp; Bu e-posta mesaji viruslere karsi anti-virus sistemleri tarafindan taranmistir. Ancak yollayici, bu e-posta mesajinin - virus koruma sistemleri ile kontrol ediliyor olsa bile - virus icermedigini garanti etmez ve meydana gelebilecek zararlardan dogacak hicbir sorumlulugu kabul etmez. </DIV>
                                                                                <DIV STYLE="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: verdana">This message is intended solely for the use of the individual or entity to whom it is addressed , and may contain confidential&nbsp; information. If you are not the intended recipient of this message or you receive this mail in error, you should refrain from making any use of the contents and from opening any attachment. In that case, please notify the sender immediately and return the message to the sender, then, delete and destroy all copies. This e-mail message, can not be copied, published or sold for any reason. This e-mail message has been swept by anti-virus systems for the presence of computer viruses. In doing so, however,&nbsp; sender&nbsp; cannot warrant that virus or other forms of data corruption may not be present and do not take any responsibility in any occurrence.</DIV>
                                                                                <DIV STYLE="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: verdana">_____________________________________________________________________________________________________________________________________________</DIV>
                                                                                <DIV STYLE="FONT-SIZE: 7pt; COLOR: gray; FONT-FAMILY: verdana" ALIGN="justify">
</DIV>
</DIV>
</DIV></BODY></HTML>