<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>Hi,</span></div><div><span><br></span></div><div><span>And use only one of </span><span class="Apple-style-span" style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; ">engage_media_proxy and use_media_proxy, preferable use_media_proxy.</span></div><div><span class="Apple-style-span" style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; "><br></span></div><div><span class="Apple-style-span" style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; ">Regards,</span></div><div><span class="Apple-style-span" style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; ">Liviu</span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div style="font-size: 10pt;
font-family: arial, helvetica, sans-serif; "><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><font size="2" face="Arial"><hr size="1"><b><span style="font-weight:bold;">From:</span></b> Saúl Ibarra Corretgé <saul@ag-projects.com><br><b><span style="font-weight: bold;">To:</span></b> OpenSIPS users mailling list <users@lists.opensips.org><br><b><span style="font-weight: bold;">Sent:</span></b> Wednesday, August 10, 2011 9:58 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [OpenSIPS-Users] Opensips MediaProxy Integration<br></font><br>Hi,<br><br>On Aug 10, 2011, at 3:11 AM, Mike Tesliuk wrote:<br><br>> Hello Guys, <br>> <br>> Im trying to implement the opensips with mediaproxy to try the CDRTool application, i have start mediaproxy-relay and dispatcher <br>> <br>> tcp 0 0 204.16.XX.XX:25060
204.16.XX.XX:49684 ESTABELECIDA 14108/python <br>> tcp 0 0 204.16.XX.XX:49684 204.16.XX.XX:25060 ESTABELECIDA 14268/python <br>> <br>> and have i configure opensips to use mi_datagram how i see on some examples, i try to use engage_media_proxy and use_media_proxy , but i dont get<br>> any message on my syslog and have no audio.<br>> <br>> below the relevant part of my mediaproxy config.ini file<br>> <br>> <br>> [Relay]<br>> dispatchers = 204.16.XX.XX<br>> passport = None<br>> relay_ip = 204.16.XX.XX<br>> port_range = 50000:60000<br>> log_level = DEBUG<br>> <br>> [Dispatcher]<br>> management_use_tls = no <br>> passport = None<br>> log_level = DEBUG<br>> accounting = radius,database<br>> <br>> [TLS]<br>> certs_path = tls<br>> verify_interval = 300<br>> <br>>
[Database]<br>> dburi = mysql://mediaproxy:_MY_PASS_@<br>> localhost/mediaproxy<br>> <br>> [Radius]<br>> config_file = /etc/opensips/radius/client.conf<br>> additional_dictionary = radius/dictionary<br>> <br>> [OpenSIPS]<br>> socket_path = /var/run/opensips/opensips.sock<br>> max_connections = 50<br>> <br>> <br>> <br>> and below my relevant opensips.cfg part<br>> <br>> <br>> modparam("mediaproxy", "disable", 1)<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>> modparam("mi_datagram", "socket_name", "/var/run/opensips/opensips.sock")<br>> modparam("mi_datagram", "children_count", 4)<br>> <br>> <br><br>Did you set the nat_ip AVP? If you haven't, better
remove the modparam and let mediaproxy take the source IP automatically.<br><br><br>Regards,<br><br>--<br>Saúl Ibarra Corretgé<br>AG Projects<br><br><br><br><br>_______________________________________________<br>Users mailing list<br><a ymailto="mailto:Users@lists.opensips.org" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br><br><br></div></div></blockquote></div></div></body></html>