<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>
<DIV dir=ltr align=left><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></DIV>
<DIV dir=ltr align=left><SPAN class=040222514-31052006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=040222514-31052006><FONT face=Arial
color=#0000ff size=2>Thanks,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=040222514-31052006><FONT face=Arial
color=#0000ff size=2>ilker</FONT></SPAN></DIV><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> 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></DIV>
<DIV></DIV><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><BR><BR> if((method=="INVITE"
&& !has_totag()) || method=="BYE")
<BR> {
<BR>
setflag(1); <BR> }; <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><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> <BR>>
<BR>> <A
href="http://387555.sigclick.mailinfo.com/sigclick/02090504/00064E0A/07084E03/21121532.jpg"><IMG
src="http://387555.signature1.mailinfo.com/confirm2.6/02090504/00064E0A/07084E03/21121532.jpg"
border=0 nosend="1"></A> <BR>> <BR>>
_____________________________________________________________________________________________________________________________________________
<BR>> 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. <BR>> 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. <BR>>
_____________________________________________________________________________________________________________________________________________
<BR><BR><BR></FONT>
<!--445D5241795C-->
<br><br><a href="http://387555.sigclick.mailinfo.com/sigclick/00090204/03044D0A/0B014903/23151611.jpg"><img src="http://387555.signature1.mailinfo.com/confirm2.6/00090204/03044D0A/0B014903/23151611.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></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>