[Kamailio-Users] Send MaxCallDuration and UserCredit for freeradius-cdrtool
DanB
danb at sms4sip.com
Wed Oct 8 11:17:15 CEST 2008
Raul,
it looks like there is something wrong with the answer you receive from
cdrtool (could be wrong handled by connector too...).
Can u post me the cdrtool syslog? There it should be seen the answer
received.
Cheers,
DanB
On Tue, Oct 7, 2008 at 7:27 PM, raul2r2 <raul2r2 at gmail.com> wrote:
>
> Hi DanB...
> Finally i have to set up manually, nothing different from README
> configuration and from my older platform running previous version of
> freeradius-cdrtool (1.1)... It's doesn't matter, setting up manually is
> enough for me... Thank you.
> I have other stupid problem... first one is extracting gateway ip in
> authorization section of the script. I see it is extracted from
> NAS-IP-Address... this contain the loopbak ip 127.0.0.1... how i can change
> this parameter in openser to send my real gateway ip?
> The second one isn't so easy and it's possible that have some kind of
> relation with the previous one. When the script tries to do and endsession
> over cdrtool (6.6.9) rating engine, it raises the following exception:
> rlm_python [freeradius-cdrtool]: DebitBalance
> CallId=27874A50-6363-3C25-6B88-6FBCB76686C6 at 192.168.0.41
> From=admin at goldslam.com To=sip:0034XXXXXXXXX at 192.168.0.130:5060
> Gateway=127.0.0.1 Duration=9
> rlm_python:EXCEPT:exceptions.AttributeError: 'NoneType' object has no
> attribute 'find'
> I'll try to investigate a bit more why this is happening...
> Cheers.
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20081008/3a481deb/attachment.htm
More information about the Users
mailing list