<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:\5B8B\4F53;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@\5B8B\4F53";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-AU link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal>Hi,<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>My mediaproxy is just stop working for no reason, after my
testing server (opensips+dispatcher+relay) changed IP address. I modified /etc/mediaproxy/config.ini
with new IP as below.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>[Relay]<o:p></o:p></p>
<p class=MsoNormal>dispactchers = public IP<o:p></o:p></p>
<p class=MsoNormal>relay_ip = public IP<o:p></o:p></p>
<p class=MsoNormal>log_level = DEBUG<o:p></o:p></p>
<p class=MsoNormal>[Dispatcher]<o:p></o:p></p>
<p class=MsoNormal>socket_path = dispatcher.sock<o:p></o:p></p>
<p class=MsoNormal>log_level = DEBUG<o:p></o:p></p>
<p class=MsoNormal>[TLS]<o:p></o:p></p>
<p class=MsoNormal>certs_path = /etc/mediaproxy/tls<o:p></o:p></p>
<p class=MsoNormal>[Database]<o:p></o:p></p>
<p class=MsoNormal>[Radius]<o:p></o:p></p>
<p class=MsoNormal>[OpenSIPS]<o:p></o:p></p>
<p class=MsoNormal>socket_path = '/var/run/mediaproxy/dispatcher.sock'<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>And syslog shows no sign of “adding dispatcher or relay”.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Oct 8 15:39:28 debian media-relay[2794]: Log opened.<o:p></o:p></p>
<p class=MsoNormal>Oct 8 15:39:28 debian media-relay[2794]: Starting
MediaProxy Relay 2.3.6<o:p></o:p></p>
<p class=MsoNormal>Oct 8 15:39:31 debian media-dispatcher[2780]: Twisted
is using epollreactor<o:p></o:p></p>
<p class=MsoNormal>Oct 8 15:39:31 debian media-dispatcher[2780]:
mediaproxy.dispatcher.RelayFactory starting on 25060<o:p></o:p></p>
<p class=MsoNormal>Oct 8 15:39:31 debian media-dispatcher[2780]:
mediaproxy.dispatcher.OpenSIPSControlFactory starting on
"'/var/run/mediaproxy/dispatcher.sock'"<o:p></o:p></p>
<p class=MsoNormal>Oct 8 15:39:31 debian media-dispatcher[2780]:
mediaproxy.dispatcher.ManagementControlFactory starting on 25061<o:p></o:p></p>
<p class=MsoNormal>Oct 8 15:39:32 debian media-relay[2794]: Set resource
limit for maximum open file descriptors to 11000<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Nothing else has really been changed except OpenSIPs config
for PSTN call control, which I don’t think related to mediaproxy. Any clues?<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Thanks<o:p></o:p></p>
<p class=MsoNormal>Leon<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>