Hi Josip,

Why don't you recognize your own IP and replace it with your domain 
(before the location stuff):
    if ($rd=="aaa.bbb.ccc.ddd")
           $rd = "domain.com";

Regards,
Bogdan


Josip Djuricic wrote:
> Hi there,
>
> I'm trying to understand how to overcome problem I experience.
>
> It is my misconfiguration and leck of knowledge on how core config file 
> for opensips works.
>
> The problem is like this:
> I have a user [email protected] registering to my opensips server. Now 
> from some equipment I get a sip invite with 12...@ip-address. Ofcourse 
> with lookup("location") usrloc I get Not found. Is there a possibility 
> alias can help me with this and what would be correct way of using it.
>
> Or an easy way of telling save("location") to save everything without 
> domain, but instead to use ip addr?
>
> I  know it's a bit foolish but it's a limitation of our b2bua combined 
> with my lack of knowledge.
>
> Thanks,
>
> Josip
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>   


-- 
Bogdan-Andrei Iancu
www.voice-system.ro


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to