<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'>Good morning everyone. Back to learning OpenSIPS 1.11.1 + MediaProxy 2.6.1 integration. As a student, I tend to read installation instructions before attempting the actual installation and I have questions.<div><br></div><div>The MediaProxy config.ini file has a database section. The installation docs don't mention installing a database as a prerequisite before installing MediaProxy. Also, the example dburi= references a MySQL server, so I assume I can specify the IP address of MySQL server running on my separate OpenSIPS box and use that instance of MySQL.</div><div><br></div><div>Also, the example dburi= parameter specifies a user ("mediaproxy"), a "CHANGEME" placeholder for the user's password when the user acceses the db, and a MySQL db name ("mediaproxy").</div><div><br></div><div>So, my questions:</div><div><br></div><div>(1) It appears that the MediaProxy config.ini file will create the table "media_session" in the "mediaproxy" database. Because I don't see anything in the config.ini file that appears to create the "mediaproxy" MySQL db, I must first manually create the "mediaproxy" MySQL db on the OpenSIPS box, correct? </div><div><br></div><div>(2) And also create the "mediaproxy" user with all privileges against the "mediaproxy" database?</div><div><br></div><div>(3) <span style="font-size: 12pt;">Or, will executing the DEB repository command "apt-get install mediaproxy_dispatcher mediaproxy_common" on the OpenSIPS server (the MediaProxy dispatcher) automatically create the required mediaproxy database/user/table?</span></div><div><br></div><div>() Should I also grant the "opensips" user all privileges against the "mediaproxy" database?</div><div><br></div><div><div style="line-height: 22.719999313354492px; color: rgb(68, 68, 68); font-family: Calibri; background-color: rgb(255, 255, 255);">=====</div><div style="line-height: 22.719999313354492px; color: rgb(68, 68, 68); font-family: Calibri; background-color: rgb(255, 255, 255);"><br></div><div style="line-height: 22.719999313354492px; color: rgb(68, 68, 68); font-family: Calibri; background-color: rgb(255, 255, 255);">I looked over documentation on the ag-project.com site. There on the 1st page of the installation guide was this:</div><div style="line-height: 22.719999313354492px; color: rgb(68, 68, 68); font-family: Calibri; background-color: rgb(255, 255, 255);"><br></div><div style="line-height: 22.719999313354492px; color: rgb(68, 68, 68); font-family: Calibri; background-color: rgb(255, 255, 255);">"MediaProxy must run natively on the host operating system and not in a virtual environment."<br><br>Because I'm a student and don't have a spare server (or PC), I had planned on signing up for the free server from Amazon's AWS Free Usage Tier and installing MediaProxy on it. I expected horrible performance, but I thought it would at least work so I could see how NAT transversal worked in OpenSIPS.</div><div style="line-height: 22.719999313354492px; color: rgb(68, 68, 68); font-family: Calibri; background-color: rgb(255, 255, 255);"><br></div><div style="line-height: 22.719999313354492px; color: rgb(68, 68, 68); font-family: Calibri; background-color: rgb(255, 255, 255);">So, as far as you know, MediaProxy *must* be installed on a physical server? Especially since the config.ini file mentions something about the relay being being NAT but is mapped to a public IP address like in Amazon EC2.</div><div style="line-height: 22.719999313354492px; color: rgb(68, 68, 68); font-family: Calibri; background-color: rgb(255, 255, 255);"><br></div><div style="line-height: 22.719999313354492px; color: rgb(68, 68, 68); font-family: Calibri; background-color: rgb(255, 255, 255);">Or can it be installed on a virtual machine but it will have really bad performance? <span style="font-size: 12pt;">(I wonder if it's the same for VMware / Rackspace / Azure / . . ." I can accept poor performance - especially with the free AWS server - as long as it still works!</span></div></div><div style="line-height: 22.719999313354492px; color: rgb(68, 68, 68); font-family: Calibri; background-color: rgb(255, 255, 255);"><br></div><div>Thanks to everyone for their patience and for helping me trying to understand how OpenSIPS and MediaProxy interact!</div><div><br></div><div>Regards,</div><div><br></div><div>Gary</div>                                            </div></body>
</html>