<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> </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> </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> 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> </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> </DIV>
<DIV dir=ltr align=left><SPAN class=257563113-01062006><FONT face=Arial
color=#0000ff size=2>Thu Jun 1 16:29:11
2006<BR> Acct-Session-Id =
"c73bf2494104ba79ZTdhMWJjNTYwYmMyM2E1ZjFmZWZhMDAyYWVjYzNmNjM."<BR>
Gric-Timezone = 1714959921<BR>
Ascend-PRI-Number-Type = 577334379<BR>
Ascend-Route-IP = 1936289850<BR>
Gric-Roaming-Server-Id = "INVITE"<BR>
Ascend-Calling-Subadddress =
"sip:200000900569871112@192.168.1.23:16634;rinstance=388dfcffc2868d87;transport=udp"<BR>
Gric-Request-Type = 1664561715<BR>
Ascend-Route-IPX = 577334379<BR>
Ascend-Callback-Delay = 3277318212<BR>
Acct-Status-Type = Start<BR>
Service-Type = 15<BR> User-Name = "<A
href="mailto:200000900568888885@sip.test.net">200000900568888885@sip.test.net</A>"<BR>
NAS-Port = 5060<BR> Acct-Delay-Time =
0<BR> NAS-IP-Address =
193.243.202.99<BR> Timestamp =
1149168551</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr align=left><SPAN class=257563113-01062006><FONT face=Arial
color=#0000ff size=2>Thu Jun 1 16:29:13
2006<BR> Acct-Session-Id =
"c73bf2494104ba79ZTdhMWJjNTYwYmMyM2E1ZjFmZWZhMDAyYWVjYzNmNjM."<BR>
Gric-Timezone = 1664561715<BR>
Ascend-PRI-Number-Type = 577334379<BR>
Ascend-Route-IP = 1936289850<BR>
Gric-Roaming-Server-Id = "BYE"<BR>
Ascend-Calling-Subadddress =
"sip:200000900568888885@192.168.1.28:16934"<BR>
Gric-Request-Type = 1714959921<BR>
Ascend-Route-IPX = 577334379<BR>
Ascend-Callback-Delay = 1432970919<BR>
Acct-Status-Type = Stop<BR>
Service-Type = 15<BR> User-Name = "<A
href="mailto:200000900569871112@sip.test.net">200000900569871112@sip.test.net</A>"<BR>
NAS-Port = 5060<BR> Acct-Delay-Time =
0<BR> NAS-IP-Address =
193.243.202.99<BR> 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> İlker Aktuna
(Koç.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. 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). 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, Ä°lker Aktuna
\(Koç.net\) wrote</B> <BR>> <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>> <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>> <FONT face=Arial
color=#0000ff size=2><SPAN class=172584516-31052006></SPAN></FONT>
<BR>> <FONT face=Arial color=#0000ff size=2><SPAN
class=172584516-31052006>Thanks,</SPAN></FONT> <BR>> <FONT face=Arial
color=#0000ff size=2><SPAN class=172584516-31052006>ilker</SPAN></FONT> <BR>>
<BR>>
<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>İlker Aktuna
(Koç.net) <BR>> <B>Sent:</B> Wednesday, May 31, 2006 5:26 PM <BR>>
<B>To:</B> sip; serusers@iptel.org <BR>> <B>Subject:</B> RE: [Serusers]
Radius accounting howto <BR>> </FONT><BR>> <BR>> <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>> <SPAN class=040222514-31052006></SPAN> <BR>>
<SPAN class=040222514-31052006><FONT face=Arial color=#0000ff
size=2>Thanks,</FONT></SPAN> <BR>> <SPAN class=040222514-31052006><FONT
face=Arial color=#0000ff size=2>ilker</FONT></SPAN> <BR>> <BR>>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sip [mailto:sip@arcdiv.com] <BR>>
<B>Sent:</B> Wednesday, May 31, 2006 2:13 PM <BR>> <B>To:</B> İlker Aktuna
(Koç.net); serusers@iptel.org <BR>> <B>Subject:</B> RE: [Serusers] Radius
accounting howto <BR>> </FONT><BR>> <BR>> <FONT size=2>These are
essentially log flags. <BR>> <BR>> 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>> <BR>>
if((method=="INVITE" && !has_totag()) || method=="BYE") <BR>>
{ <BR>>
setflag(1); <BR>> }; <BR>>
<BR>> 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.
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>> <BR>>
Basically, the parameter for log_flag determines which flag you set in order to
log the packet to the radius server. <BR>> <BR>> N. <BR>> <BR>>
[UTF-8?]<B>On Wed, 31 May 2006 10:48:42 +0300, İlker Aktuna \(Koç.net\)
wrote</B> <BR>> > <FONT size=2>Hi, <BR>> > <BR>> > 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>>
> What should I add to the configuration to send start/stop packets ?
<BR>> > <BR>> > Regards, <BR>> > ilker <BR>> > <BR>>
> -----Original Message----- <BR>> > 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>> > Sent: Tuesday, May 30, 2006 8:28 PM <BR>> >
To: serusers@iptel.org <BR>> > Subject: Re: [Serusers] Radius accounting
howto <BR>> > <BR>> > Those params are valid for the old acc module
compiled with radius support. <BR>> > The acc_radius module I think uses
log_flag and log_missed_flag (according to the source). <BR>> > <BR>>
> N. <BR>> > <BR>> > On Tue, 30 May 2006 17:54:40 +0300, Ýlker
Aktuna (Koç.net) wrote <BR>> > > Hi everyone, <BR>> > >
<BR>> > > I am trying to use acc_radius module with presence CVS
sources. <BR>> > > I compiled the radiusclient library and compiled ser
with acc_radius module. <BR>> > > <BR>> > > Then I added
following lines to the config: <BR>> > > <BR>> > >
loadmodule "/root/ser/lib/ser/modules/acc_radius.so" <BR>> > >
modparam("acc_radius", "radius_config", <BR>> >
"/usr/local/etc/radiusclient-ng/radiusclient.conf") <BR>> > >
modparam("acc_radius", "service_type", 15) modparam("acc_radius", <BR>> >
> "radius_flag", 1) modparam("acc_radius", "radius_missed_flag", 3) <BR>>
> > modparam("acc_radius", "report_ack", 0) <BR>> > >
<BR>> > > <BR>> > > But when I try to start ser, it
doesn't accept 2 parameters: <BR>> > > modparam("acc_radius",
"radius_flag", 1) modparam("acc_radius", <BR>> > >
"radius_missed_flag", 3) <BR>> > > <BR>> > > What should
be the correct syntax for these parameters ? are they required ? <BR>> >
> <BR>> > > And what else should I add to the configuration to
send radius-start <BR>> > > and <BR>> > radius-stop messages to
the radius server ? <BR>> > > <BR>> > > Thanks, <BR>>
> > ilker <BR>> > > <BR>> > > <BR>> > >
<BR>> > > <BR>> </FONT></FONT><BR>> </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, icerigini hic bir sekilde kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen e-posta mesajini kullaniciya hemen geri gonderiniz ve tum kopyalarini mesaj kutunuzdan siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz. 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 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, sender 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>