[OpenSIPS-Users] Changing Address of Opensips Server

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Feb 26 13:30:22 CET 2015


Hi David,

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).

If running in debug mode (debug=4), you should see a message:
     permissions:get_source_group:Looking for <ip, port> in address table

Best regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 25.02.2015 00:10, David Crow wrote:
>
> I’m moving our one of our opensips server to a new datacenter with new 
> ip addresses and I’m running into an issue.
>
> It seems to be failing to find the group properly based on the 503 
> message I’m getting back.
>
>         $avp(s:group) = get_source_group();
>
>         # Reject if no group found for this call
>
>         if ($avp(s:group) == -1) {
>
> sl_send_reply("503","Service Unavailable - NOPERM");
>
>                 exit;
>
>         }
>
> This server is behind a firewall doing NAT and I’ve changed all 
> references in the opensips.cfg to the new external address.
>
> Opensipsctl address dump shows the address table and the server that’s 
> sending the calls from properly.
>
> 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.
>
> *David Crow****| **Senior Systems Architect*
>
> *1301 Gervais Street, Suite 1800 | Columbia, SC 29201*
>
> *(d) 803.978.2727 | (f) 803.733.5888*
>
> *david.crow at vc3.com <mailto:david.crow at vc3.com>| **www.VC3.com* 
> <http://www.vc3.com/>**
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150226/f46db039/attachment.htm>


More information about the Users mailing list