<div class="xam_msg_class">
<div style="font: normal 13px Arial; color:rgb(0, 0, 0);">Hi to all, I'm trying to use Opensips with MediaProxy to setup a Sip Proxy. I've configurated in a Linux Debian machine, i've installed and configurated "correctly" OpenSips server with modules, their could communicate each other. My actual configuration of OpenSips doesn't include use of DB and authentication. <div class="xam_msg_class"><div class="xam_msg_class"><div style="font: normal 13px Arial; color:rgb(0, 0, 0);"><div>If i use my 2 uacs (LinPhone) in Nat context (intranet), and routing messages inside proxy this scenario work great.</div><div>I have some problem when i use 1 or 2 uacs outside Nat, sip messages pass inside proxy, invite message arrive to client, client ringing but when i accept the call the 200->ok message doesn't arrive to proxy.</div><div>Probably i have missed something in routing or module configuration, someone could hel me in this tricky problem?<br><br>This is my configuration of opensips</div><div>.... </div><div># ----- NAT traversal configuration -----<br>#modparam("usrloc", "nat_bflag", 3)<br>#modparam("tm", "onreply_avp_mode", 1) <br><br>#<br>#**<br>loadmodule "mediaproxy.so"<br><br>#--------------- Default Values<br>modparam("mediaproxy", "mediaproxy_socket", "/var/run/mediaproxy/dispatcher.sock")<br>modparam("mediaproxy", "mediaproxy_timeout", 500)<br>#modparam("mediaproxy", "signaling_ip_avp", "$avp(nat_ip)")<br>modparam("mediaproxy", "media_relay_avp", "$avp(media_relay)")<br>modparam("mediaproxy", "ice_candidate", "low-priority")<br>modparam("mediaproxy", "ice_candidate_avp", "$avp(ice_candidate)") <br>....<br>complete routing and configuration in attachment...<br><br><br><br>#<br># --> dialog<br>#**<br>loadmodule "dialog.so"<br>#**<br>modparam("dialog", "db_mode", 0)<br><br></div><div> </div><div> </div><div>This is my MediaProxy configuration</div><div> </div><div>[Relay]<br>dispatchers = 192.168.1.181:25060<br>port_range = 50000:50030<br>log_level = DEBUG <br>stream_timeout = 90<br>on_hold_timeout = 1800<br>dns_check_interval = 60<br>reconnect_delay = 10<br><br>[Dispatcher]<br>socket_path = dispatcher.sock<br>listen = 0.0.0.0<br>log_level = DEBUG<br>relay_timeout = 5<br><br>[OpenSIPS]<br>socket_path = /var/run/opensips/socket<br>max_connections = 10<br></div><div> </div><div>In attachment complete opensips config file, logs of opensips, mediaproxy and sip messages.<br><br>Thank you for help.</div><div>Giovanni. <br></div><div> </div><div> </div><div> </div><div> </div><br></div>
</div>
</div>
</div>
</div>