<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix"><tt>Hi David,<br>
<br>
Are you sure it is not a port issue ? maybe the src port does
not match the port your have in the address table.<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
On 26.02.2015 15:38, David Crow wrote:<br>
</div>
<blockquote
cite="mid:3C131E7252D2744FB12C4269037C8763011FEB07B9@VC3-CAE-EXCH-01.vc3.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<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]-->
<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>
<a class="moz-txt-link-abbreviated" href="mailto:users-bounces@lists.opensips.org">users-bounces@lists.opensips.org</a>
[<a class="moz-txt-link-freetext" href="mailto:users-bounces@lists.opensips.org">mailto:users-bounces@lists.opensips.org</a>]
<b>On Behalf Of </b>David Crow<br>
<b>Sent:</b> Tuesday, February 24, 2015 5:10 PM<br>
<b>To:</b> '<a class="moz-txt-link-abbreviated" href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>'<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
moz-do-not-send="true" href="mailto:david.crow@vc3.com"><span
style="color:blue">david.crow@vc3.com</span></a><span
style="color:gray">|
</span></span></b><a moz-do-not-send="true"
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 moz-do-not-send="true"
href="http://www.facebook.com/VC3Inc"><span
style="color:#1F497D;text-decoration:none"><img
id="Picture_x0020_20"
src="cid:part3.08010702.04040606@opensips.org"
alt="Description: Description: Description: Description:
Description: cid:image002.png@01CC30E6.8E093080"
height="21" width="21" border="0"></span></a><a
moz-do-not-send="true" href="http://twitter.com/#%21/VC3Inc"><span
style="color:#1F497D;text-decoration:none"><img
id="Picture_x0020_25"
src="cid:part5.01040006.01070202@opensips.org"
alt="Description: Description: Description: Description:
Description: cid:image004.png@01CC30E6.8E093080"
height="22" width="22" border="0"></span></a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"><img
id="Picture_x0020_28"
src="cid:part7.04080101.05060408@opensips.org"
alt="cid:image003.jpg@01CE41C2.E8635D50" height="100"
width="100" border="0"></span>
<img id="Picture_x0020_4"
src="cid:part8.04080603.01000709@opensips.org" height="76"
width="211" border="0"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>