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 

_______________________________________________
Devel mailing list
Devel@lists.openser.org
http://lists.openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to