<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 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></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-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">I’ve done some more troubleshooting on this and it doesn’t appear to have anything to do with the NAT. The issue seems to be related to one host sending calls to Opensips. From all other hosts it works fine,
but this one host doesn’t work at all. I’ve double checked the ip address, port, etc. I”ve also tried removing the address from the table and adding it back, still nothing. Very strange.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="color:#1F497D">-David<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> users-bounces@lists.opensips.org [mailto:users-bounces@lists.opensips.org]
<b>On Behalf Of </b>David Crow<br>
<b>Sent:</b> Tuesday, February 24, 2015 5:10 PM<br>
<b>To:</b> 'users@lists.opensips.org'<br>
<b>Subject:</b> [OpenSIPS-Users] Changing Address of Opensips Server<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m moving our one of our opensips server to a new datacenter with new ip addresses and I’m running into an issue.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">It seems to be failing to find the group properly based on the 503 message I’m getting back.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> $avp(s:group) = get_source_group();<o:p></o:p></p>
<p class="MsoNormal"> # Reject if no group found for this call<o:p></o:p></p>
<p class="MsoNormal"> if ($avp(s:group) == -1) {<o:p></o:p></p>
<p class="MsoNormal"> sl_send_reply("503","Service Unavailable - NOPERM");<o:p></o:p></p>
<p class="MsoNormal"> exit;<o:p></o:p></p>
<p class="MsoNormal"> }<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This server is behind a firewall doing NAT and I’ve changed all references in the opensips.cfg to the new external address.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Opensipsctl address dump shows the address table and the server that’s sending the calls from properly.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m not really sure where to look next, I’m pretty green when it comes to opensips. I only have to tinker with it when I change something like this. Any assistance would be greatly appreciated.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b><span style="font-size:14.0pt;color:#1F497D">David Crow</span></b><b><span style="font-size:14.0pt;color:gray">
</span><span style="color:gray">| </span></b><b><span style="font-size:10.0pt;color:gray">Senior Systems Architect</span></b><span style="font-size:10.0pt;color:gray"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;color:gray">1301 Gervais Street, Suite 1800 | Columbia, SC 29201</span></b><span style="font-size:10.0pt;color:gray"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;color:gray">(d) 803.978.2727 | (f) 803.733.5888</span></b><span style="font-size:10.0pt;color:gray"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt"><a href="mailto:david.crow@vc3.com"><span style="color:blue">david.crow@vc3.com</span></a><span style="color:gray">|
</span></span></b><a href="http://www.vc3.com/"><b><span style="font-size:10.0pt;color:gray">www.VC3.com</span></b></a><b><span style="font-size:10.0pt;color:gray"><o:p></o:p></span></b></p>
<p class="MsoNormal"><b><sup><span style="font-size:18.0pt;color:gray">Follow us:</span></sup></b><span style="font-size:18.0pt;color:gray">
</span><a href="http://www.facebook.com/VC3Inc"><span style="color:#1F497D;text-decoration:none"><img border="0" width="21" height="21" id="Picture_x0020_20" src="cid:image001.png@01D0519F.A4343840" alt="Description: Description: Description: Description: Description: cid:image002.png@01CC30E6.8E093080"></span></a><a href="http://twitter.com/#!/VC3Inc"><span style="color:#1F497D;text-decoration:none"><img border="0" width="22" height="22" id="Picture_x0020_25" src="cid:image002.png@01D0519F.A4343840" alt="Description: Description: Description: Description: Description: cid:image004.png@01CC30E6.8E093080"></span></a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"><img border="0" width="100" height="100" id="Picture_x0020_28" src="cid:image003.jpg@01D0519F.A4343840" alt="cid:image003.jpg@01CE41C2.E8635D50"></span>
<img border="0" width="211" height="76" id="Picture_x0020_4" src="cid:image004.png@01D0519F.A4343840"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>