[Serusers] lcr module

Klaus Darilion klaus.mailinglists at pernau.at
Thu Aug 18 16:51:01 CEST 2005


This was only fixed in mysql module.

I fixed it in openser, but you can easily backport it to ser
http://cvs.sourceforge.net/viewcvs.py/openser/sip-server/modules/postgres/db_val.c?r1=1.2&r2=1.3

btw: there are also some more bugs in the postgres module
http://cvs.sourceforge.net/viewcvs.py/openser/sip-server/modules/postgres/dbase.c

regards
klaus


Andres wrote:
> Sebastian Kühner wrote:
> 
>> Hello,
>>
>> I have a problem with the lcr module if a gateway has "big" IP Address.
>>
>> I calculate the integer of the IP like this:
>>
>> a.b.c.d ==> IP-Integer = d*pow(2,24) + c*pow(2,26) + b*pow(2,8) + a
>>
>> If the d-value is very big (100 or more), the resulting IP Address 
>> doesn't
>> work anymore. What is the greatest that an integer can have?
>>
>>  
>>
> As far as I know this was fixed a loooong time ago.  Why don't you try 
> to download the module again from the cvs.
> 
>> I use postgres with this module. I hope that this won't be a problem!
>>
>> Thanks!
>>
>> Sebastian
>>
>>
>> _______________________________________________
>> Serusers mailing list
>> serusers at lists.iptel.org
>> http://lists.iptel.org/mailman/listinfo/serusers
>>
>>
>>  
>>
> 
> 




More information about the sr-users mailing list