[OpenSER-Devel] wrong source ip addr

Francisco Seratti fseratti at yahoo.com.ar
Mon Apr 7 22:28:56 CEST 2008


Hello, im using the function
ip_addr2a(&sip_msg->rcv.src_ip) to get the source ip
address of the message. When the message is a REGISTER
method, the source and destination addresses are the
same (the IP of the endpoint) but when the method is
INVITE the src and dst of the message are the ip
address of the incoming interface on the openser box.
All i need to know is the ip address of the origin of
the message, maybe im searching in the wrong place.

Thanks for your time pals,

Francisco.


      Tarjeta de crédito Yahoo! de Banco Supervielle.
Solicitá tu nueva Tarjeta de crédito. De tu PC directo a tu casa. www.tuprimeratarjeta.com.ar 



More information about the Devel mailing list