[OpenSIPS-Users] rtpproxy in bridge mode

Andrew Pogrebennyk apogrebennyk at sipwise.com
Wed Oct 12 21:08:52 CEST 2011

On 10/12/2011 07:55 PM, Brad Bendy wrote:
> Adding in some check for SDP did take care of that problem, just appears
> the outbound leg upstream is not getting rewritten with the correct
> external address, still using the internal one. From what Ive read you
> can use rtpproxy_answer() and rtpproxy_offer() depending if the 183/200
> has SDP in it, right now ive been using rtpproxy_offer("FAIIO") when the
> dst_ip is the private IP and that side is rewritten correctly, but in
> on_reply route doing the same thing but FAEEO no rewrite appears to be
> happening. Ive looked at the alg.cfg example in the nathelper examples
> directory 

Sorry, you may be missing the point. Why II and EE? You need to call
rtpproxy with IE flags for the calls going out of internal network and
EI for the calls from outside to internal network. They shouldn't be mixed.
Also are you sure you want to use the A flag?
a - flags that UA from which message is received doesn't support
symmetric RTP.
IIRC most UAs support symmetric RTP.


More information about the Users mailing list