On Nov 26, 2007 4:19 PM, Valentin Nechayev netch@portaone.com wrote:
Tomasz Zieleniewski tzieleniewski@gmail.com wrote:
Invoking force_rtp_proxy() after fix_nated_sdp() causes error that in the connection filed one ip address apears after second (previous one is not removed)
Yes - they are incompatible, and if force_rtp_proxy() is called, you have no need for fix_nated_sdp() at all.
there are some cases when such behavior would be needed I have strict port forwarding rules for some range of ports on my firewall. they include rtp traffic allowed only to one machine. consider scenario when user calls from outside of the local lan and is behind nat. invoking fix_nated_sdp would cause putting the proper ip address of the natted client invoking force_rtp_proxy afterwards would cause that this traffic passing through the given ipaddress (rtpproxy host) this way all rtp traffic from outside local lan will go through rtpproxy host
maybe this can be done some other way?
-tomasz
Separate calls to them to different execution branches.
-- Valentin Nechayev PortaOne Inc., Software Engineer mailto:netch@portaone.com