<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16705" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2> Thanks DanB, the problem was
solved.</FONT></DIV>
<DIV><FONT face=Arial size=2> How send BYE when expires credit in
conversation?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks.</FONT></DIV>
<DIV><FONT face=Arial size=2>Diego.</FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=danb@sms4sip.com href="mailto:danb@sms4sip.com">DanB</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=diego@fasternet.com.br
href="mailto:diego@fasternet.com.br">Diego Zuaneti Arruda</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=users@lists.kamailio.org
href="mailto:users@lists.kamailio.org">users@lists.kamailio.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, September 30, 2008 11:19
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Kamailio-Users] Send
MaxCallDuration and UserCredit for freeradius-cdrtool</DIV>
<DIV><BR></DIV>
<DIV dir=ltr>Here is an already patched version:<BR><A
href="http://frad-cdrtool.sourceforge.net/rlm_digest.c">http://frad-cdrtool.sourceforge.net/rlm_digest.c</A><BR>You
should replace your rlm_digest.c with this one and recompile the
server.<BR><BR>DanB<BR><BR>
<DIV class=gmail_quote>On Tue, Sep 30, 2008 at 4:14 PM, Diego Zuaneti Arruda
<SPAN dir=ltr><<A
href="mailto:diego@fasternet.com.br">diego@fasternet.com.br</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV bgcolor="#ffffff">
<DIV><FONT face=Arial size=2> I'm using the freeradius 1.1.7, and not
patched the rlm_digest.</FONT></DIV>
<DIV><FONT face=Arial size=2> Where to find the patch rlm_digest
?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV><FONT color=#888888>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Diego.</FONT></DIV></FONT>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
<DIV class=Ih2E3d>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal">-----
Original Message ----- </DIV>
<DIV
style="BACKGROUND: rgb(228,228,228) 0% 50%; FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><B>From:</B>
<A title=danb@sms4sip.com href="mailto:danb@sms4sip.com"
target=_blank>DanB</A> </DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>To:</B>
<A title=diego@fasternet.com.br href="mailto:diego@fasternet.com.br"
target=_blank>Diego Zuaneti Arruda</A> </DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Cc:</B>
<A title=users@lists.kamailio.org href="mailto:users@lists.kamailio.org"
target=_blank>users@lists.kamailio.org</A> </DIV></DIV>
<DIV>
<DIV></DIV>
<DIV class=Wj3C7c>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Sent:</B>
Tuesday, September 30, 2008 11:08 AM</DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Subject:</B>
Re: [Kamailio-Users] Send MaxCallDuration and UserCredit for
freeradius-cdrtool</DIV>
<DIV><BR></DIV>
<DIV dir=ltr>Diego,<BR><BR>the problem is with your digest module which is
sanitizing the parameters in authentication phase only, therefore
the parameters like Username, Digest-URI are not available in the
authorization phase (no way for the connector to read them).<BR>Did u
patch your rlm_digest as per the README.txt? What version of freeradius
are u using?<BR><BR>DanB<BR><BR>
<DIV class=gmail_quote>On Tue, Sep 30, 2008 at 3:56 PM, Diego Zuaneti
Arruda <SPAN dir=ltr><<A href="mailto:diego@fasternet.com.br"
target=_blank>diego@fasternet.com.br</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV bgcolor="#ffffff">
<DIV>
<DIV><FONT face=Arial size=2> DanB,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> Yes, I changed the
kamailio.cfg.</FONT></DIV>
<DIV><FONT face=Arial size=2> I´m sending the full log of
radius attached.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Diego.</FONT></DIV></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
<DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal">-----
Original Message ----- </DIV>
<DIV
style="BACKGROUND: rgb(228,228,228) 0% 50%; FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><B>From:</B>
<A title=danb@sms4sip.com href="mailto:danb@sms4sip.com"
target=_blank>DanB</A> </DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>To:</B>
<A title=diego@fasternet.com.br href="mailto:diego@fasternet.com.br"
target=_blank>Diego Zuaneti Arruda</A> </DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Cc:</B>
<A title=users@lists.kamailio.org
href="mailto:users@lists.kamailio.org"
target=_blank>users@lists.kamailio.org</A> </DIV></DIV>
<DIV>
<DIV></DIV>
<DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Sent:</B>
Tuesday, September 30, 2008 10:34 AM</DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Subject:</B>
Re: [Kamailio-Users] Send MaxCallDuration and UserCredit for
freeradius-cdrtool</DIV>
<DIV><BR></DIV>
<DIV dir=ltr>Diego,<BR><BR>looks like there was no session started at
first place.<BR>Did u change the openser.cfg config? You need to add
callid into radius_proxy_authorize so that the callid should be used
(example in README.txt of the freeradius-cdrtool
sources).<BR><BR>Also, can u post a full
authorize/account_start/account_stop sequence as logged by "radiusd
-X".<BR><BR>DanB<BR>
<DIV class=gmail_quote>On Tue, Sep 30, 2008 at 3:00 PM, Diego Zuaneti
Arruda <SPAN dir=ltr><<A href="mailto:diego@fasternet.com.br"
target=_blank>diego@fasternet.com.br</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV bgcolor="#ffffff">
<DIV>
<DIV><FONT face=Arial size=2> Hi DanB,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>I updated the CDRTool to version 6.6.8 and freeradius-cdrtool
to version 1.2-pre. <BR>I'm getting this log and not doing the
Debit.</DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Sep 30 09:57:22 sipserver1
cdrtool[12948]: DebitBalance <A
href="mailto:CallId=000d6570-880e0035-39c8f267-5c77e9d2@192.168.0.1"
target=_blank>CallId=000d6570-880e0035-39c8f267-5c77e9d2@192.168.0.1</A></FONT><FONT
face=Arial size=2> <A href="mailto:From=87001@mydomain.com.br"
target=_blank>From=87001@mydomain.com.br</A> To=<A
href="mailto:sip%3A00551599998888@mydomain.com.br"
target=_blank>sip:00551599998888@mydomain.com.br</A> Gateway=<A
href="http://127.0.0.1" target=_blank>127.0.0.1</A>
Duration=11<BR>Sep 30 09:57:22 sipserver1 cdrtool[12948]:
ConnectFee=0.00 Span=1 Duration=60 DestId=55159 domain=<A
href="http://mydomain.com.br" target=_blank>mydomain.com.br</A>
Profile=551 Period=weekday Rate=551 Interval=0-24 Cost=0.85/60
Price=0.8500<BR>Sep 30 09:57:22 sipserver1 cdrtool[12948]: Error:
session <A
href="mailto:000d6570-880e0035-39c8f267-5c77e9d2@192.168.0.1"
target=_blank>000d6570-880e0035-39c8f267-5c77e9d2@192.168.0.1</A>
for <A href="mailto:87001@mydomain.com.br"
target=_blank>87001@mydomain.com.br</A> does not
exist<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks.</FONT></DIV>
<DIV><FONT face=Arial size=2>Diego.</FONT></DIV></DIV>
<DIV>
<DIV></DIV>
<DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal">-----
Original Message ----- </DIV>
<DIV
style="BACKGROUND: rgb(228,228,228) 0% 50%; FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><B>From:</B>
<A title=danb@sms4sip.com href="mailto:danb@sms4sip.com"
target=_blank>DanB</A> </DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>To:</B>
<A title=diego@fasternet.com.br
href="mailto:diego@fasternet.com.br" target=_blank>Diego Zuaneti
Arruda</A> </DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Cc:</B>
<A title=users@lists.kamailio.org
href="mailto:users@lists.kamailio.org"
target=_blank>users@lists.kamailio.org</A> </DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Sent:</B>
Tuesday, September 30, 2008 5:47 AM</DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Subject:</B>
Re: [Kamailio-Users] Send MaxCallDuration and UserCredit for
freeradius-cdrtool</DIV>
<DIV><BR></DIV>
<DIV dir=ltr>Hi Diego,<BR><BR>you don't need to set anything in
Users file. The connector does that for you dynamically, based on
the responses received from cdrtool. Your configuration will be
static and always limit the user to the same call duration. For
more information, see the README file within freeradius-cdrtool
source directory.<BR><BR>Cheers,<BR>DanB<BR><BR>
<DIV class=gmail_quote>On Mon, Sep 29, 2008 at 10:49 PM, Diego
Zuaneti Arruda <SPAN dir=ltr><<A
href="mailto:diego@fasternet.com.br"
target=_blank>diego@fasternet.com.br</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV bgcolor="#ffffff">
<DIV><FONT face=Arial size=2> Hi all,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> How I send to
freeradius-cdrtool the maxCallDuration and
UserCredit?</FONT></DIV>
<DIV><FONT face=Arial size=2> On the
/etc/raddb/users I have:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><A
href="mailto:87001@mydomain.com.br"
target=_blank>87001@mydomain.com.br</A></FONT><FONT face=Arial
size=2> Auth-Type := Digest, User-Password ==
"mypassword"<BR>
Reply-Message =
"Authenticated",<BR> SIP-AVP
= "authentic#1",</FONT></DIV>
<DIV><FONT face=Arial
size=2> SIP-AVP =
"callMaxDur:60",</FONT></DIV>
<DIV><FONT face=Arial
size=2> SIP-AVP =
"credit:25"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> Is this correct
?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks.</FONT></DIV>
<DIV><FONT face=Arial size=2>Diego.</FONT></DIV>
<DIV><FONT face=Arial
size=2></FONT> </DIV></DIV><BR>_______________________________________________<BR>Users
mailing list<BR><A href="mailto:Users@lists.kamailio.org"
target=_blank>Users@lists.kamailio.org</A><BR><A
href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users"
target=_blank>http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV></BLOCKQUOTE></DIV></DIV></DIV></BLOCKQUOTE></DIV><BR></DIV></DIV></DIV></BLOCKQUOTE></DIV></BLOCKQUOTE></DIV><BR></DIV></DIV></DIV></BLOCKQUOTE></DIV></BLOCKQUOTE></DIV><BR></DIV></BLOCKQUOTE></BODY></HTML>