[SR-Dev] [Kamailio-Devel] source ip address as int

Juha Heinanen jh at tutpro.com
Thu Apr 30 06:54:17 CEST 2009


Daniel-Constantin Mierla writes:

 > You can use s.select transformation to get the bytes, then convert them 
 > to int with s.int and multiply plus add to get the integer.

sounds a bit too complicated.  easiest seems to be to add a new pv that
returns the int.  current $si implementation converts the int to
string.  i could then just leave the conversion out.

-- juha



More information about the sr-dev mailing list