[OpenSIPS-Users] Call to local user

Mark Farmer farmorg at gmail.com
Mon Nov 11 12:01:55 EST 2019


Finally it works!

In case this helps someone else, I needed to do a lookup("location");
before calling route(relay);
This rewrites the request URI to be the contact saved in the location table.

Mark.



On Fri, 8 Nov 2019 at 13:42, Mark Farmer <farmorg at gmail.com> wrote:

> I'm running with an advertised IP in mhomed mode. It's as though OpenSIPS
> doesn't realise that it is responsible for the domain (IP) but I've got the
> domain module loaded and the advertised IP in the table.
>
> Very odd.
>
>
> On Fri, 8 Nov 2019 at 11:59, Mark Farmer <farmorg at gmail.com> wrote:
>
>> Hi all
>>
>> I'm suddenly having a problem calling from one registered user to
>> another. Even though both users are locally registered, the INVITE is
>> trying to go to the public IP of OpenSIPS (itself) instead of the IP:rport
>> of the other phone.
>>
>> OpenSIPS is behind NAT as are the phones and I have fix_nated_register()
>> & fix_nated_contact() which seem to be working. Also the contact in the
>> location table is correct.
>>
>> Fairly sure I'm going to end up kicking myself over this one but I just
>> can't see the problem!
>>
>> All suggestions gratefully received.
>>
>> Thanks
>> Mark.
>>
>>
>
> --
> Mark Farmer
> farmorg at gmail.com
>


-- 
Mark Farmer
farmorg at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20191111/97881e14/attachment.html>


More information about the Users mailing list