<html>
<head>
</head>
<body class='hmmessage'><div dir='ltr'>

<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">Hi all. &nbsp;OpenSIPS 1.11.1 and MediaProxy 2.6.1. &nbsp;</div><div dir="ltr"><br></div><div dir="ltr">My OpenSIPS creates the opensips.sock just fine. &nbsp;I don't believe my OpenSIPS is creating the "dispatcher.sock" properly or at all. &nbsp;After I do a "/etc/init.d/opensips restart" command, I look in the /var/run/mediaproxy/ directory and I never see the "dispatcher.socket" in there.<br><div><br></div><div>Here's one of the error message lines from my opensips.log:</div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;">&gt;</span></div><div>&gt;<span style="font-size: 12pt;">Jul 20 19:44:50 opensips1 /usr/local/opensips_proxy/sbin/opensips[9476]: ERROR:mediaproxy:mediaproxy_connect: failed to connect to /var/run/mediaproxy/dispatcher.sock: No such file or directory</span></div><div>&gt;</div><div><br></div><div>The strange thing is that I always get a</div><div><br></div><div>INFO:core:daemonize: pre-daemon process exiting with -0</div><div><br></div><div>and my SIP softphones register with no problems and I can make calls.</div><div><br></div><div>Any direction on what to look for, research, or reconfigure would be appreciated. &nbsp;Thanks.</div><div><br></div><div>Regards</div><div><br></div><div>Gary</div><div><br></div><div><span style="font-size: 12pt;">=====</span></div><div><br></div><div>From my opensips_residential_01.cfg file:</div><div><br></div><div><div>#### MI_DATAGRAM module</div><div>loadmodule "mi_datagram.so"</div><div>modparam("mi_datagram", "socket_name", "/var/run/opensips/opensips.sock")</div></div><div><div><br></div><div>#####NAT modules</div><div><div>loadmodule "nat_traversal.so"</div><div>modparam("nat_traversal", "keepalive_interval", 90)</div><div>modparam("nat_traversal", "keepalive_method", "OPTIONS")</div></div><div><br></div><div>loadmodule "mediaproxy.so"</div><div>modparam("mediaproxy", "disable", 0)</div><div>modparam("mediaproxy", "mediaproxy_socket", "/var/run/mediaproxy/dispatcher.sock") &nbsp;# CUSTOMIZE ME</div></div><div>modparam("mediaproxy", "mediaproxy_timeout", 500)</div><div><br></div><div><div>####### Routing Logic ########</div><div><br></div><div># main request routing logic</div><div><br></div><div>route{</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (!mf_process_maxfwd_header("10")) {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sl_send_reply("483","Too Many Hops");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; exit;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (method==INVITE &amp;&amp; !has_totag()) {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # We can also use a specific media relay if we need to</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #$avp(media_relay) = "1.2.3.4";</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; engage_media_proxy();</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; if (client_nat_test ("3")) {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fix_contact();</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; if ((method=="REGISTER" || method=="SUBSCRIBE" ||</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (method=="INVITE" &amp;&amp; !has_totag())) &amp;&amp; client_nat_test("3")) {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nat_keepalive();</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div>ETC, ETC.</div></div><div><br></div></div>
                                               </div></body>
</html>