Hi all,


I'm trying to get openser to act as an SBC using the mediaproxy module and the rtpproxy (built from the cvs).
openser is configured to run in a multihomed mode.
I'm starting rtpproxy in debug mode: rtpproxy -f -l 10.110.1.174/10.111.5.15
The rtpproxy is binding to both IPs.

When an INVITE is received on the 10.110 interface, I call force_rtp_proxy().
Regrdless of the "i" or "e" parameter that I pass to the force_rtp_proxy(), the rtpproxy is replying with the same IP.

output from rtpproxy if force_rtp_proxy("i"):

received command "UI 4a2fabe1-24c7fe03@10.110.50.4 10.110.48.7 10046 60e4ff4a-soma;1"
new session 4a2fabe1-24c7fe03@10.110.50.4, tag 60e4ff4a-soma;1 requested, type strong
new session on a port 35000 created, tag 60e4ff4a-soma;1
pre-filling caller's address with 10.110.48.7:10046
sending reply "35000 10.110.1.174
"


output from rtpproxy if force_rtp_proxy("e"):

received command "UE 44709fe7-423307f6@10.110.49.134 10.110.48.7 10012 1f713156-soma;1"
new session 44709fe7-423307f6@10.110.49.134, tag 1f713156-soma;1 requested, type strong
new session on a port 35002 created, tag 1f713156-soma;1
pre-filling caller's address with 10.110.48.7:10012
sending reply "35002 10.110.1.174
"

The IP address sent out in the outgoing INVITE is 10.110.1.174 instead of 10.111.5.15.


Is this the expected behaviour from the rtpproxy?
Do I need to pass other params to the force_rtp_proxy() function?


Regards,
-ovi