[OpenSIPS-Users] location table having private ip in contact

Răzvan Crainea razvan at opensips.org
Wed Dec 5 03:15:46 EST 2018

If you are doing lookup, you should use an AOR (such as 
4810338297 at myitpl.inextrix.com), not an user at IP. Can you show us how you 
are calling lookup() from your script?
If you are looking to check if an IP is registered, you should use the 
is_ip_registered() function[1], but I doubt that's what you want.


Best regards,

On 12/4/18 6:29 PM, devang nathwani wrote:
> I am using opensips v2.4.1
> And keep getting -3 return code(internal error during processing) from 
> lookup("location")
> On Tue, Dec 4, 2018 at 8:27 PM devang nathwani 
> <devang.nathwani31589 at gmail.com <mailto:devang.nathwani31589 at gmail.com>> 
> wrote:
>     Hello,
>     https://pastebin.com/XbcEa4dG
>     Above link is containing all the details.
>     Opensips is behind NAT but because of registered device having
>     private ip as contact in location table inbound calls are not able
>     reach to extensions.
>     Please help.
>     Thanks in advance.
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Răzvan Crainea
OpenSIPS Core Developer
Meet the OpenSIPS team at the next OpenSIPS Summit:

More information about the Users mailing list