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_@<div id=":18v">
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><br><br>on my main route <br><br> if (is_method("INVITE")) {<br> setflag(1); # do accounting<br> $avp(s:can_uri) = $ru;<br>
xlog("MIKE: ativando media_proxy");<br> use_media_proxy();<br> }<br><br><br>but i just get my xlog on syslog, i dont have any message on syslog from mediaproxy.<br><br>somebody can help me to know how can i put mediaproxy to work ?<br>
<br>Thanks</div>