<div dir="ltr">Raul,<br><br>this log shows only half of the call(stop one). <br>Can u show a full trace (start and stop of the call)?<br><br>Cheers,<br>DanB<br><br><div class="gmail_quote">On Thu, Oct 9, 2008 at 12:40 PM, raul2r2 <span dir="ltr"><<a href="mailto:raul2r2@gmail.com">raul2r2@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Hi Dan...:<br>
The syslog show this:<br>
Oct 9 14:40:01 PREPSQL01 cdrtool[27237]: Normalize datasource ser_radius,<br>
database DB_radius, table radacct200810<br>
Oct 9 14:40:01 PREPSQL01 cdrtool[27237]: Normalize lock id 5889 aquired for<br>
ser_radius:radacct200810<br>
Oct 9 14:40:01 PREPSQL01 cdrtool[27237]: Normalize datasource ser_radius,<br>
database DB_radius, table radacct200809<br>
Oct 9 14:40:01 PREPSQL01 cdrtool[27237]: Normalize lock id 5889 aquired for<br>
ser_radius:radacct200809<br>
Oct 9 14:40:01 PREPSQL01 cdrtool[27237]: Database error: Table<br>
'radius.radacct200809' doesn't exist (1146)<br>
Oct 9 14:40:01 PREPSQL01 cdrtool[27237]: Unlock ser_radius:radacct200810<br>
Oct 9 14:40:01 PREPSQL01 cdrtool[27237]: Unlock ser_radius:radacct200809<br>
Oct 9 14:40:02 PREPSQL01 cdrtool[27236]: Checking user quotas for data<br>
source OpenSER<br>
Oct 9 14:40:02 PREPSQL01 cdrtool[27236]: Using database queries to block<br>
accounts<br>
Oct 9 14:40:02 PREPSQL01 cdrtool[27236]: No quota has been exceeded<br>
Oct 9 14:40:14 PREPSQL01 cdrtool[7803]: DebitBalance<br>
CallId=<a href="mailto:1A0082B8-7734-BA31-4828-3D24892A184C@192.168.0.41">1A0082B8-7734-BA31-4828-3D24892A184C@192.168.0.41</a><br>
From=<a href="mailto:admin@goldslam.com">admin@goldslam.com</a> To=<a href="http://sip:0034678650039@192.168.0.130:5060" target="_blank">sip:0034678650039@192.168.0.130:5060</a><br>
Gateway=<a href="http://127.0.0.1" target="_blank">127.0.0.1</a> Duration=8<br>
Oct 9 14:40:14 PREPSQL01 cdrtool[7803]: Error: session<br>
<a href="mailto:1A0082B8-7734-BA31-4828-3D24892A184C@192.168.0.41">1A0082B8-7734-BA31-4828-3D24892A184C@192.168.0.41</a> for <a href="mailto:admin@goldslam.com">admin@goldslam.com</a><br>
does not exist<br>
<br>
I don't know if the bad gateway could be the cause of this... How i can<br>
change NAS-IP-Address in openser?<br>
Cheers...<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
DanB-2 wrote:<br>
><br>
> Raul,<br>
><br>
> it looks like there is something wrong with the answer you receive from<br>
> cdrtool (could be wrong handled by connector too...).<br>
><br>
> Can u post me the cdrtool syslog? There it should be seen the answer<br>
> received.<br>
><br>
> Cheers,<br>
> DanB<br>
><br>
> On Tue, Oct 7, 2008 at 7:27 PM, raul2r2 <<a href="mailto:raul2r2@gmail.com">raul2r2@gmail.com</a>> wrote:<br>
><br>
>><br>
>> Hi DanB...<br>
>> Finally i have to set up manually, nothing different from README<br>
>> configuration and from my older platform running previous version of<br>
>> freeradius-cdrtool (1.1)... It's doesn't matter, setting up manually is<br>
>> enough for me... Thank you.<br>
>> I have other stupid problem... first one is extracting gateway ip in<br>
>> authorization section of the script. I see it is extracted from<br>
>> NAS-IP-Address... this contain the loopbak ip 127.0.0.1... how i can<br>
>> change<br>
>> this parameter in openser to send my real gateway ip?<br>
>> The second one isn't so easy and it's possible that have some kind of<br>
>> relation with the previous one. When the script tries to do and<br>
>> endsession<br>
>> over cdrtool (6.6.9) rating engine, it raises the following exception:<br>
>> rlm_python [freeradius-cdrtool]: DebitBalance<br>
>> CallId=<a href="mailto:27874A50-6363-3C25-6B88-6FBCB76686C6@192.168.0.41">27874A50-6363-3C25-6B88-6FBCB76686C6@192.168.0.41</a><br>
>> From=<a href="mailto:admin@goldslam.com">admin@goldslam.com</a> To=<a href="http://sip:0034XXXXXXXXX@192.168.0.130:5060" target="_blank">sip:0034XXXXXXXXX@192.168.0.130:5060</a><br>
>> Gateway=<a href="http://127.0.0.1" target="_blank">127.0.0.1</a> Duration=9<br>
>> rlm_python:EXCEPT:exceptions.AttributeError: 'NoneType' object has no<br>
>> attribute 'find'<br>
>> I'll try to investigate a bit more why this is happening...<br>
>> Cheers.<br>
>><br>
>><br>
>><br>
>><br>
><br>
</div></div><div class="Ih2E3d">> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.kamailio.org">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>
><br>
<br>
--<br>
</div>View this message in context: <a href="http://www.nabble.com/Send-MaxCallDuration-and-UserCredit-for-freeradius-cdrtool-tp19731475p19896343.html" target="_blank">http://www.nabble.com/Send-MaxCallDuration-and-UserCredit-for-freeradius-cdrtool-tp19731475p19896343.html</a><br>
<div><div></div><div class="Wj3C7c">Sent from the OpenSER Users Mailing List mailing list archive at Nabble.com.<br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.kamailio.org">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>
</div></div></blockquote></div><br></div>