[Serusers] IP address

l.gaillard01 at free.fr l.gaillard01 at free.fr
Fri Jun 11 16:25:22 CEST 2004


Hi, 

I'm trying to get the IP address from the sip_msg and to send it in the
Sip-Source-Ip-Address (using Radius) but I'm having troubles.
Can anyone tell me how to do that, because when I use 
rc_avpair_add(&send, 108, (&_msg->rcv.src_ip.u.addr), 0) to send the attribute
and the address, I get the address with the format d.c.b.a instead of a.b.c.d 
Please, help me

Laurent




More information about the sr-users mailing list