<!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>
<DIV><FONT face=Arial size=2>&nbsp;DanB,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=+0><FONT face=Arial size=2>&nbsp; The problem was solved with 
the new version.<BR>&nbsp; I don't understand very well the python 
language.<BR>&nbsp; It's possible to return SIP-AVP = nocredit#1 when the user 
have no credits? So I can return a message to the user saying he has no 
credits.</FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks again.</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: #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 3:15 
  PM</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>Hi Diego,<BR><BR>fixed now in 
pre2.<BR><BR>Cheers,<BR>DanB<BR><BR>
  <DIV class=gmail_quote>On Tue, Sep 30, 2008 at 5:58 PM, Diego Zuaneti Arruda 
  <SPAN dir=ltr>&lt;<A 
  href="mailto:diego@fasternet.com.br">diego@fasternet.com.br</A>&gt;</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>&nbsp; DanB,</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>&nbsp;&nbsp; <FONT face="Times New Roman" 
    size=3>I'm testing the freeradius-cdrtool, and found a possible problem. 
    <BR>&nbsp;&nbsp; When I turn off the call before answer, the session is not 
    finished. <BR></FONT></FONT><FONT face=Arial size=2><FONT 
    face="Times New Roman" size=3>&nbsp;&nbsp; Here's a part of the 
    logs:</FONT></FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>rlm_python [freeradius-cdrtool]: Entering 
    accounting section<BR>rlm_python [freeradius-cdrtool]: Got the following 
    params: (('Acct-Status-Type', 'Failed'), ('Service-Type', 'Sip-Session'), 
    ('Sip-Response-Code', '503'), ('Sip-Method', 'Invite'), ('X-Ascend-Bridge', 
    '0x694de248a0b22d087cf199b7'), ('Sip-From-Tag', 
    '"000d6570880e01462b3c62f9-0908d279"'), ('Acct-Session-Id', '"<A 
    href="mailto:000d6570-880e0028-2a382841-1ef5c833@200.187.80.9%22%27" 
    target=_blank>000d6570-880e0028-2a382841-1ef5c833@200.187.80.9"'</A>), 
    ('User-Name', '"<A href="mailto:87001@fastervoip.com.br%22%27" 
    target=_blank>87001@fastervoip.com.br"'</A>), ('Calling-Station-Id', '"<A 
    href="mailto:sip%3A87001@fastervoip.com.br" 
    target=_blank>sip:87001@fastervoip.com.br</A>"'), ('Called-Station-Id', '"<A 
    href="mailto:sip%3A01591184701@fastervoip.com.br" 
    target=_blank>sip:01591184701@fastervoip.com.br</A>"'), 
    ('Sip-Translated-Request-URI', 
    '"sip:01591184701@200.187.80.17:5060;transport=udp"'), ('Sip-Rpid', 
    '"87001"'), ('Source-IP', '"<A href="http://200.187.80.9" 
    target=_blank>200.187.80.9</A>"'), ('Source-Port', '"5070"'), 
    ('Acct-Authentic', '49'), ('SIP-Proxy-IP', '"<A href="http://127.0.0.1" 
    target=_blank>127.0.0.1</A>"'), ('Canonical-URI', '"<A 
    href="mailto:sip%3A01591184701@fastervoip.com.br" 
    target=_blank>sip:01591184701@fastervoip.com.br</A>"'), ('Billing-Party', 
    '"<A href="mailto:87001@fastervoip.com.br%22%27" 
    target=_blank>87001@fastervoip.com.br"'</A>), ('Contact', 
    '"&lt;sip:87001@200.187.80.9:5070;transport=udp&gt;"'), ('NAS-Port', 
    '5060'), ('Acct-Delay-Time', '0'), ('NAS-IP-Address', '<A 
    href="http://127.0.0.1" target=_blank>127.0.0.1</A>'), ('Client-IP-Address', 
    '<A href="http://127.0.0.1" target=_blank>127.0.0.1</A>'), 
    ('Acct-Unique-Session-Id', '"3db548b64d9445ce"'))<BR>rlm_python 
    [freeradius-cdrtool]: Extracted atribute &lt;Acct-Status-Type&gt; with value 
    &lt;Failed&gt;<BR>rlm_python [freeradius-cdrtool]: Extracted atribute 
    &lt;User-Name&gt; with value &lt;<A href="mailto:87001@fastervoip.com.br" 
    target=_blank>87001@fastervoip.com.br</A>&gt;<BR>rlm_python 
    [freeradius-cdrtool]: Extracted atribute &lt;Canonical-URI&gt; with value 
    &lt;<A href="mailto:sip%3A01591184701@fastervoip.com.br" 
    target=_blank>sip:01591184701@fastervoip.com.br</A>&gt;<BR>rlm_python 
    [freeradius-cdrtool]: Extracted atribute &lt;Called-Station-Id&gt; with 
    value &lt;<A href="mailto:sip%3A01591184701@fastervoip.com.br" 
    target=_blank>sip:01591184701@fastervoip.com.br</A>&gt;<BR>rlm_python 
    [freeradius-cdrtool]: Extracted atribute &lt;Acct-Session-Id&gt; with value 
    &lt;<A href="mailto:000d6570-880e0028-2a382841-1ef5c833@200.187.80.9" 
    target=_blank>000d6570-880e0028-2a382841-1ef5c833@200.187.80.9</A>&gt;<BR><B>rlm_python:EXCEPT:&lt;type 
    'exceptions.TypeError'&gt;: end_session() takes exactly 6 arguments (4 
    given)</B><BR>&nbsp; modcall[accounting]: module "python" returns ?? for 
    request 261<BR>modcall: leaving group accounting (returns ok) for request 
    261<BR>Sending Accounting-Response of id 147 to <A href="http://127.0.0.1" 
    target=_blank>127.0.0.1</A> port 41560<BR>Finished request 
    261<BR></FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</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 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:54 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>"The avps received will be available in openser as: 
      callMaxDur and credit, where callMaxDur is the maximum duration the user 
      is allowed to be connected with the destination and credit represents the 
      amount of credit available at starting of the call. This info can be used 
      later in an bbua able to timeout calls based on duration.<BR>"<BR><BR>
      <DIV class=gmail_quote>On Tue, Sep 30, 2008 at 4:38 PM, Diego Zuaneti 
      Arruda <SPAN dir=ltr>&lt;<A href="mailto:diego@fasternet.com.br" 
      target=_blank>diego@fasternet.com.br</A>&gt;</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>&nbsp; Thanks DanB, the problem was 
        solved.</FONT></DIV>
        <DIV><FONT face=Arial size=2>&nbsp; How send BYE when 
        expires&nbsp;credit in conversation?</FONT></DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
        <DIV><FONT face=Arial size=2>Thanks.</FONT></DIV>
        <DIV><FONT face=Arial size=2>Diego.</FONT></DIV><FONT 
        color=#888888></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>
          <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 11:19 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>Here is an already patched version:<BR><A 
          href="http://frad-cdrtool.sourceforge.net/rlm_digest.c" 
          target=_blank>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>&lt;<A href="mailto:diego@fasternet.com.br" 
          target=_blank>diego@fasternet.com.br</A>&gt;</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>&nbsp; I'm using the freeradius 1.1.7, 
            and not patched the rlm_digest.</FONT></DIV>
            <DIV><FONT face=Arial size=2>&nbsp; Where to find the patch 
            rlm_digest ?</FONT></DIV>
            <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV><FONT color=#888888>
            <DIV><FONT face=Arial size=2></FONT>&nbsp;</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>
              <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 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&nbsp; 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>&lt;<A 
              href="mailto:diego@fasternet.com.br" 
              target=_blank>diego@fasternet.com.br</A>&gt;</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>&nbsp; DanB,</FONT></DIV>
                <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
                <DIV><FONT face=Arial size=2>&nbsp;&nbsp; Yes, I changed the 
                kamailio.cfg.</FONT></DIV>
                <DIV><FONT face=Arial size=2>&nbsp;&nbsp; I´m sending the full 
                log of radius attached.</FONT></DIV>
                <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
                <DIV><FONT face=Arial size=2></FONT>&nbsp;</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>&lt;<A 
                  href="mailto:diego@fasternet.com.br" 
                  target=_blank>diego@fasternet.com.br</A>&gt;</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>&nbsp; Hi DanB,</FONT></DIV>
                    <DIV><FONT face=Arial size=2></FONT>&nbsp;</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>&nbsp;</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>&nbsp;<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>&nbsp;</DIV>
                    <DIV><FONT face=Arial size=2></FONT>&nbsp;</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>&lt;<A 
                      href="mailto:diego@fasternet.com.br" 
                      target=_blank>diego@fasternet.com.br</A>&gt;</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>&nbsp; Hi all,</FONT></DIV>
                        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
                        <DIV><FONT face=Arial size=2>&nbsp;&nbsp; How&nbsp;I 
                        send to freeradius-cdrtool the maxCallDuration and 
                        UserCredit?</FONT></DIV>
                        <DIV><FONT face=Arial size=2>&nbsp;&nbsp; On the 
                        /etc/raddb/users&nbsp;I have:</FONT></DIV>
                        <DIV><FONT face=Arial size=2></FONT>&nbsp;</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>&nbsp;Auth-Type := Digest, 
                        User-Password == 
                        "mypassword"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        Reply-Message = 
                        "Authenticated",<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SIP-AVP 
                        = "authentic#1",</FONT></DIV>
                        <DIV><FONT face=Arial 
                        size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SIP-AVP 
                        = "callMaxDur:60",</FONT></DIV>
                        <DIV><FONT face=Arial 
                        size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SIP-AVP 
                        = "credit:25"</FONT></DIV>
                        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
                        <DIV><FONT face=Arial size=2>&nbsp;&nbsp; Is this 
                        correct ?</FONT></DIV>
                        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
                        <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
                        <DIV><FONT face=Arial size=2></FONT>&nbsp;</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>&nbsp;</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></DIV></DIV></BLOCKQUOTE></DIV></BLOCKQUOTE></DIV><BR></DIV></DIV></DIV></BLOCKQUOTE></DIV></BLOCKQUOTE></DIV><BR></DIV></BLOCKQUOTE></BODY></HTML>