You could use the UAC module (uac_replace_from function) and simply insert the AVP value of the source IP address pseudo-variable.
 
Hopefully, the reply should still be routed back through to your OpenSER server and then on to the UAC, as the IP address of the OpenSER will still be in  the VIA header.
 
Let us know if it works.


 
On 11/14/06, Mark Anthony C. Delfin <markanthonycdelfin@gmail.com> wrote:
Hello Guys,

I would like SER not to mask the FROM field when its sending a call to another sip proxy/gateway. What Im getting on the destination gateway is the IP of the SER. I wouldnt want SER to proxy/mask the original IP address of the UAC. Is this possible. Here is a sample callflow:


UAC (192.168.10.10) >> SER ( 192.168.11.10) >> UAS (192.168.12.10)

i would like the FROM on the UAS to look like 123456@192.168.10.10 and not 123456@192.168.11.10 which is the SER's IP.

Please help. Thanks in advance.

_______________________________________________
Users mailing list
Users@openser.org
http://openser.org/cgi-bin/mailman/listinfo/users