I have finally successfully install and am running media proxy on the same server that I am running opensips. I have added to the opensips.cfg the mediaproxy module<br><br>loadmodule "mediaproxy.so"<br><br>From an example site I tried with these, then commented them out:<br>
#modparam("mediaproxy", "mediaproxy_socket", "/var/run/mediaproxy/dispatcher.sock")<br>#modparam("mediaproxy", "mediaproxy_timeout", 500)<br>#modparam("mediaproxy", "signaling_ip_avp", "$avp(s:nat_ip)")<br>
#modparam("mediaproxy", "media_relay_avp", "$avp(s:media_relay)")<br><br>The SDP on my calls are not getting re-written with the IP of the media. With RTP proxy I had to put in the force_rtp_proxy call, but I don't see anything similar with media proxy. Any ideas on what I might look at next to get opensips to re-write the SDP?<br>
<br>Here are the startup commands and output:<br><br>/usr/local/src# media-dispatcher --no-fork<br>Starting MediaProxy Dispatcher 2.3.8<br>Twisted is using epollreactor<br>mediaproxy.dispatcher.RelayFactory starting on 25060<br>
mediaproxy.dispatcher.OpenSIPSControlFactory starting on "'/var/run/mediaproxy/dispatcher.sock'"<br>mediaproxy.dispatcher.ManagementControlFactory starting on 25061<br>debug: Connection from relay at 127.0.0.1<br>
debug: Issuing "sessions" command to relay at 127.0.0.1<br><br>/etc/mediaproxy# media-relay --no-fork<br>Starting MediaProxy Relay 2.3.8<br>Set resource limit for maximum open file descriptors to 11000<br>gc: collectable <tuple 0xb7c1152c><br>
gc: collectable <StgDict 0xb7a9c6ac><br>gc: collectable <_ctypes.ArrayType 0x8552fc4><br>gc: collectable <getset_descriptor 0xb7bd0a0c><br>gc: collectable <getset_descriptor 0xb7bd09cc><br>gc: collectable <tuple 0xb7f5c61c><br>
gc: collectable <tuple 0xb7bd0a2c><br>gc: collectable <StgDict 0xb7a9c91c><br>gc: collectable <_ctypes.ArrayType 0x8554e54><br>gc: collectable <getset_descriptor 0xb7bd08ac><br>gc: collectable <getset_descriptor 0xb7bd048c><br>
gc: collectable <tuple 0xb7a632fc><br>gc: collectable <getset_descriptor 0xb7bd060c><br>gc: collectable <getset_descriptor 0xb7bd0c6c><br>/etc/resolv.conf changed, reparsing<br>Resolver added ('172.16.0.23', 53) to server list<br>
<class 'twisted.names.dns.DNSDatagramProtocol'> starting on 21651<br>Starting protocol <twisted.names.dns.DNSDatagramProtocol object at 0xb7a2254c><br>(Port 21651 Closed)<br>Stopping protocol <twisted.names.dns.DNSDatagramProtocol object at 0xb7a2254c><br>
<br>Thanks<br><br>-dg<br>