<div dir="ltr">Do you have mediaproxy-dispatcher running? Also does the relevant process have rights to create the dispatcher.sock?</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 21 July 2014 09:22, Gary Patton <span dir="ltr"><<a href="mailto:gpatton.public@outlook.com" target="_blank">gpatton.public@outlook.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">
<div dir="ltr">Hi all. OpenSIPS 1.11.1 and MediaProxy 2.6.1. </div><div dir="ltr"><br></div><div dir="ltr">My OpenSIPS creates the opensips.sock just fine. I don't believe my OpenSIPS is creating the "dispatcher.sock" properly or at all. 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">></span></div><div>><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>></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. 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") # 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> if (!mf_process_maxfwd_header("10")) {</div><div> sl_send_reply("483","Too Many Hops");</div><div> exit;</div><div> }</div>
<div><br></div><div> if (method==INVITE && !has_totag()) {</div><div> # We can also use a specific media relay if we need to</div><div> #$avp(media_relay) = "1.2.3.4";</div>
<div> engage_media_proxy();</div><div> }</div><div><br></div><div> if (client_nat_test ("3")) {</div><div> fix_contact();</div><div> }</div><div><br></div><div>
if ((method=="REGISTER" || method=="SUBSCRIBE" ||</div><div> (method=="INVITE" && !has_totag())) && client_nat_test("3")) {</div><div> nat_keepalive();</div>
<div> }</div><div>ETC, ETC.</div></div><div><br></div></div>
                                           </div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a 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></blockquote></div><br></div>