[Serusers] Re: LCR usage (How to enter data in gw table?)
Klaus Darilion
klaus.mailinglists at pernau.at
Tue Sep 6 10:09:48 CEST 2005
Andres wrote:
>
> You can convert IP address a.b.c.d to unsigned integer using:
>
> int = d * 224 + c * 216 + b * 28 + a
I do not think that this will work. Try
a+b*256+c*65536+d*16777216
Or even better: Backport this patch:
http://cvs.sourceforge.net/viewcvs.py/openser/sip-server/scripts/sc?r1=1.5&r2=1.6
regards
klaus
More information about the sr-users
mailing list