<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Got my answer on uninstalling media-dispatcher on (2): "apt-get remove mediaproxy-dispatcher"<div><br></div><div>Still having issues with media-dispatcher (1) communicating with media-relay (2).</div><div><br></div><div>Regards</div><div><br></div><div>Gary<div><br><div><hr id="stopSpelling">From: gpatton.public@outlook.com<br>To: users@lists.opensips.org<br>Date: Sun, 20 Jul 2014 12:23:44 -0400<br>Subject: [OpenSIPS-Users] How to uninstall media-dispatcher only<br><br>

<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
<div dir="ltr">Good morning!<div><span style="font-size:12pt;"><br></span></div><div><span style="font-size:12pt;">I have two servers, (1) and (2).</span></div><div><span style="font-size:12pt;"><br></span></div><div><span style="font-size:12pt;">(1) Debian 7.5 - OpenSIPS 1.11.1 w/TLS support and using the mediaproxy.so + nat_traversal.so modules and media-dispatcher from MediaProxy 2.6.x</span></div><div><span style="font-size:12pt;"><br></span></div><div><span style="font-size:12pt;">(2) Debian 7.5 - media-relay *and* media-dispatcher from MediaProxy 2.6.x &nbsp;(I meant to only install the relay and common files on it, but intalled all relay, dispatcher and common.)</span></div><div><span style="font-size:12pt;"><br></span></div><div><span style="font-size:12pt;">[BTW - Many thanks to Dan Pascu,&nbsp;</span>Muhammad Shahzad, and Adrian (ag@ag-projects.com) for answering my newbie questions with how to install MediaProxy!]</div><div><br></div><div><span style="font-size:12pt;">My media-dispatcher on (1) is not communicating with media-relay on (2)</span></div><div><span style="font-size:12pt;">&nbsp;</span></div><div>On (1), I ran "<span style="font-size:12pt;">ps ax | grep media-"&nbsp;</span><span style="font-size:12pt;">and media-dispatcher was *not* running</span></div><div>On (2), I ran "ps ax | grep media-" and both media-relay and media-dispatcher were running</div><div><br></div><div>I want relay on (2) to use dispatcher on (1). &nbsp;Could relay on (2) not communicate with dispatcher on (1) because I have media-dispatcher running on (2) (as well as on (1))?</div><div><br></div><div>Should I remove the media-dispatcher from the (2) box?&nbsp;</div><div><span style="font-size:12pt;">Or just disable media-dispatcher from running on (2)?</span></div><div><span style="font-size:12pt;"><br></span></div><div><span style="font-size:12pt;">Unfortunately, I don't know how to uninstall media-dispatcher or disable it from running. &nbsp;Can you please share how I go about uninstalling or disabling media-dispatcher?</span></div><div><br></div><div>Thank you.</div><div><br></div><div>Regards</div><div><br></div><div>Gary</div><div><br></div><div>=====</div><div><br></div><div>Here's the [DISPATCHER], [TLS], [Database], and [OpenSIPS] section of (1)'s /etc/mediaproxy/config.ini file (the [RELAY| section is all commented out):</div><div><br></div><div><div>[Dispatcher]</div><div>socket_path = /var/run/mediaproxy/dispatcher.sock</div><div>listen = any</div><div>listen_management = any</div><div>management_use_tls = yes</div><div>passport = None</div><div>management_passport = None</div><div>log_level = DEBUG</div><div>relay_timeout = 5</div><div>accounting = database</div><div><br></div><div>[TLS]</div><div>/etc/mediaproxy/tls = tls</div><div>verify_interval = 300</div><div><br></div><div>[Database]</div><div>dburi = mysql://opensips:opensipsrw@localhost/opensips</div><div>sessions_table = media_sessions</div><div>callid_column = call_id</div><div>fromtag_column = from_tag</div><div>totag_column = to_tag</div><div>info_column = info</div><div><br></div><div>[OpenSIPS]</div><div>socket_path = /var/run/opensips/socket</div><div>max_connections = 10</div></div><div><span style="font-size:12pt;"><br></span></div><div><span style="font-size:12pt;"><br></span></div><div><span style="font-size:12pt;">Here's the [RELAY] section of (2)'s /etc/mediaproxy/config.ini file (all other sections are commented out):</span></div><div><div>[Relay]</div><div>dispatchers = 207.97.xxx.xxx 10.208.xxx.xxx</div><div>passport = None</div><div>advertised_ip = 162.242.xxx.xxx</div><div>on_hold_timeout = 3600</div><div>reconnect_delay = 10</div><div>routable_private_ranges = 192.168.0.0/24 172.16.0.0/16 10.208.0.0 /16</div></div><div><br></div><div>=====</div><div><br></div><div>The config.ini files on both (1) and (2) only exist in the "/etc/mediaproxy/" directory.</div><div><br></div><div>My (1) media-dispatcher server has a public 207.97.xxx.xxx static IP and a private 10.208.xxx.xxx static IP. &nbsp;</div><div><span style="font-size:12pt;"><br></span></div><div><span style="font-size:12pt;">My (2) media-relay box - w/media-dispatcher also installed - has a static public IP of 162.242.xxx.xxx and a static private IP of 10.208.xxx.xxx.&nbsp;</span></div><div><span style="font-size:12pt;"><br></span></div><div><span style="font-size:12pt;">Just to let you know, I created an OpenSIPS domain using (1)'s private IP address as a name. &nbsp;I have multiple instances of X-Lite registered in the 10.208.xxx.xxx domain and each softphone's SIP account setting has the "Send Outbound Via" box checked for "Proxy Address" with (1)'s private address. &nbsp;The phones have been successful in making and receiving calls to each other.</span></div><div><span style="font-size:12pt;"><br></span></div><div><span style="font-size:12pt;"><br></span></div><div><span style="font-size:12pt;"><br></span></div><div><span style="font-size:12pt;"><br></span></div><div><span style="font-size:12pt;"><br></span></div><div><span style="font-size:12pt;"><br></span></div><div><br></div><div><br></div>                                               </div>
<br>_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users</div></div></div>                                               </div></body>
</html>