<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 the src IP of the SIP traffic you get is not
affected/altered by the NAT presence ? (assuming the DB content
is the same as before and it is properly loaded into memory at
startup).<br>
<br>
If running in debug mode (debug=4), you should see a message:<br>
permissions:get_source_group:Looking for <ip, port> in
address table<br>
<br>
Best 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 25.02.2015 00:10, David Crow wrote:<br>
</div>
<blockquote
cite="mid:3C131E7252D2744FB12C4269037C8763011FEA962A@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-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@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">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></b><b><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>
</div>
<br>
</blockquote>
<br>
</body>
</html>