No subject


Thu Jan 29 11:41:19 CET 2009


#modparam("mediaproxy", "mediaproxy_socket",
"/var/run/mediaproxy/dispatcher.sock")
#modparam("mediaproxy", "mediaproxy_timeout", 500)
#modparam("mediaproxy", "signaling_ip_avp", "$avp(s:nat_ip)")
#modparam("mediaproxy", "media_relay_avp", "$avp(s:media_relay)")

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?

Here are the startup commands and output:

/usr/local/src# media-dispatcher --no-fork
Starting MediaProxy Dispatcher 2.3.8
Twisted is using epollreactor
mediaproxy.dispatcher.RelayFactory starting on 25060
mediaproxy.dispatcher.OpenSIPSControlFactory starting on
"'/var/run/mediaproxy/dispatcher.sock'"
mediaproxy.dispatcher.ManagementControlFactory starting on 25061
debug: Connection from relay at 127.0.0.1
debug: Issuing "sessions" command to relay at 127.0.0.1

/etc/mediaproxy# media-relay --no-fork
Starting MediaProxy Relay 2.3.8
Set resource limit for maximum open file descriptors to 11000
gc: collectable <tuple 0xb7c1152c>
gc: collectable <StgDict 0xb7a9c6ac>
gc: collectable <_ctypes.ArrayType 0x8552fc4>
gc: collectable <getset_descriptor 0xb7bd0a0c>
gc: collectable <getset_descriptor 0xb7bd09cc>
gc: collectable <tuple 0xb7f5c61c>
gc: collectable <tuple 0xb7bd0a2c>
gc: collectable <StgDict 0xb7a9c91c>
gc: collectable <_ctypes.ArrayType 0x8554e54>
gc: collectable <getset_descriptor 0xb7bd08ac>
gc: collectable <getset_descriptor 0xb7bd048c>
gc: collectable <tuple 0xb7a632fc>
gc: collectable <getset_descriptor 0xb7bd060c>
gc: collectable <getset_descriptor 0xb7bd0c6c>
/etc/resolv.conf changed, reparsing
Resolver added ('172.16.0.23', 53) to server list
<class 'twisted.names.dns.DNSDatagramProtocol'> starting on 21651
Starting protocol <twisted.names.dns.DNSDatagramProtocol object at
0xb7a2254c>
(Port 21651 Closed)
Stopping protocol <twisted.names.dns.DNSDatagramProtocol object at
0xb7a2254c>

Thanks

-dg

--00504502af8b34705004760ff1b4
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I have finally successfully install and am running media proxy on the same =
server that I am running opensips.=A0 I have added to the opensips.cfg the =
mediaproxy module<br><br>loadmodule &quot;mediaproxy.so&quot;<br><br>From a=
n example site I tried with these, then commented them out:<br>
#modparam(&quot;mediaproxy&quot;, &quot;mediaproxy_socket&quot;, &quot;/var=
/run/mediaproxy/dispatcher.sock&quot;)<br>#modparam(&quot;mediaproxy&quot;,=
 &quot;mediaproxy_timeout&quot;, 500)<br>#modparam(&quot;mediaproxy&quot;, =
&quot;signaling_ip_avp&quot;, &quot;$avp(s:nat_ip)&quot;)<br>
#modparam(&quot;mediaproxy&quot;, &quot;media_relay_avp&quot;, &quot;$avp(s=
:media_relay)&quot;)<br><br>The SDP on my calls are not getting re-written =
with the IP of the media.=A0 With RTP proxy I had to put in the force_rtp_p=
roxy call, but I don&#39;t see anything similar with media proxy.=A0 Any id=
eas 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 &quot;&#39;/var/ru=
n/mediaproxy/dispatcher.sock&#39;&quot;<br>mediaproxy.dispatcher.Management=
ControlFactory starting on 25061<br>debug: Connection from relay at 127.0.0=
.1<br>
debug: Issuing &quot;sessions&quot; command to relay at 127.0.0.1<br><br>/e=
tc/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: collec=
table &lt;tuple 0xb7c1152c&gt;<br>
gc: collectable &lt;StgDict 0xb7a9c6ac&gt;<br>gc: collectable &lt;_ctypes.A=
rrayType 0x8552fc4&gt;<br>gc: collectable &lt;getset_descriptor 0xb7bd0a0c&=
gt;<br>gc: collectable &lt;getset_descriptor 0xb7bd09cc&gt;<br>gc: collecta=
ble &lt;tuple 0xb7f5c61c&gt;<br>
gc: collectable &lt;tuple 0xb7bd0a2c&gt;<br>gc: collectable &lt;StgDict 0xb=
7a9c91c&gt;<br>gc: collectable &lt;_ctypes.ArrayType 0x8554e54&gt;<br>gc: c=
ollectable &lt;getset_descriptor 0xb7bd08ac&gt;<br>gc: collectable &lt;gets=
et_descriptor 0xb7bd048c&gt;<br>
gc: collectable &lt;tuple 0xb7a632fc&gt;<br>gc: collectable &lt;getset_desc=
riptor 0xb7bd060c&gt;<br>gc: collectable &lt;getset_descriptor 0xb7bd0c6c&g=
t;<br>/etc/resolv.conf changed, reparsing<br>Resolver added (&#39;172.16.0.=
23&#39;, 53) to server list<br>
&lt;class &#39;twisted.names.dns.DNSDatagramProtocol&#39;&gt; starting on 2=
1651<br>Starting protocol &lt;twisted.names.dns.DNSDatagramProtocol object =
at 0xb7a2254c&gt;<br>(Port 21651 Closed)<br>Stopping protocol &lt;twisted.n=
ames.dns.DNSDatagramProtocol object at 0xb7a2254c&gt;<br>
<br>Thanks<br><br>-dg<br>

--00504502af8b34705004760ff1b4--



More information about the Users mailing list