[OpenSIPS-Users] How to uninstall media-dispatcher only

Gary Patton gpatton.public at outlook.com
Sun Jul 20 20:46:43 CEST 2014


Got my answer on uninstalling media-dispatcher on (2): "apt-get remove mediaproxy-dispatcher"
Still having issues with media-dispatcher (1) communicating with media-relay (2).
Regards
Gary
From: gpatton.public at outlook.com
To: users at lists.opensips.org
Date: Sun, 20 Jul 2014 12:23:44 -0400
Subject: [OpenSIPS-Users] How to uninstall media-dispatcher only




Good morning!
I have two servers, (1) and (2).
(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
(2) Debian 7.5 - media-relay *and* media-dispatcher from MediaProxy 2.6.x  (I meant to only install the relay and common files on it, but intalled all relay, dispatcher and common.)
[BTW - Many thanks to Dan Pascu, Muhammad Shahzad, and Adrian (ag at ag-projects.com) for answering my newbie questions with how to install MediaProxy!]
My media-dispatcher on (1) is not communicating with media-relay on (2) On (1), I ran "ps ax | grep media-" and media-dispatcher was *not* runningOn (2), I ran "ps ax | grep media-" and both media-relay and media-dispatcher were running
I want relay on (2) to use dispatcher on (1).  Could relay on (2) not communicate with dispatcher on (1) because I have media-dispatcher running on (2) (as well as on (1))?
Should I remove the media-dispatcher from the (2) box? Or just disable media-dispatcher from running on (2)?
Unfortunately, I don't know how to uninstall media-dispatcher or disable it from running.  Can you please share how I go about uninstalling or disabling media-dispatcher?
Thank you.
Regards
Gary
=====
Here's the [DISPATCHER], [TLS], [Database], and [OpenSIPS] section of (1)'s /etc/mediaproxy/config.ini file (the [RELAY| section is all commented out):
[Dispatcher]socket_path = /var/run/mediaproxy/dispatcher.socklisten = anylisten_management = anymanagement_use_tls = yespassport = Nonemanagement_passport = Nonelog_level = DEBUGrelay_timeout = 5accounting = database
[TLS]/etc/mediaproxy/tls = tlsverify_interval = 300
[Database]dburi = mysql://opensips:opensipsrw@localhost/opensipssessions_table = media_sessionscallid_column = call_idfromtag_column = from_tagtotag_column = to_taginfo_column = info
[OpenSIPS]socket_path = /var/run/opensips/socketmax_connections = 10

Here's the [RELAY] section of (2)'s /etc/mediaproxy/config.ini file (all other sections are commented out):[Relay]dispatchers = 207.97.xxx.xxx 10.208.xxx.xxxpassport = Noneadvertised_ip = 162.242.xxx.xxxon_hold_timeout = 3600reconnect_delay = 10routable_private_ranges = 192.168.0.0/24 172.16.0.0/16 10.208.0.0 /16
=====
The config.ini files on both (1) and (2) only exist in the "/etc/mediaproxy/" directory.
My (1) media-dispatcher server has a public 207.97.xxx.xxx static IP and a private 10.208.xxx.xxx static IP.  
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. 
Just to let you know, I created an OpenSIPS domain using (1)'s private IP address as a name.  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.  The phones have been successful in making and receiving calls to each other.







 		 	   		  

_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140720/845001b0/attachment.htm>


More information about the Users mailing list