Andres wrote:
You can convert IP address a.b.c.d to unsigned integer using:
int = d * 224 + c * 216 + b * 28 + a
Sorry about that. Klaus is correct. I did a copy paste from somewhere
else without even reading!
Andres.
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&…
regards
klaus