[OpenSIPS-Users] is_contact_registered - not working as expected
Bogdan-Andrei Iancu
bogdan at opensips.org
Wed Aug 21 06:56:43 EDT 2019
Hi Peter,
To doublecheck, do this:
* before calling the is_contact_registered(), use xlog() to print the
contact you are testing (use $ct).
* before running the test, use the ul_show_contact MI function [1] to
print the in-memory contacts for the desired AOR.
[1]
https://opensips.org/html/docs/modules/2.4.x/usrloc.html#mi_ul_show_contact
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
OpenSIPS Summit 2019
https://www.opensips.org/events/Summit-2019Amsterdam/
On 08/16/2019 06:38 PM, Peter Pulham wrote:
> Hi,
>
> I am using mid_registrar to save registrations to the location table.
>
> If I use is_registered - everything works as expected. So AOR matching
> is working.
>
> However, when I use is_contact_registered - it returns false.
>
> I have checked the contact header in the request against the contact
> value of the AOR in the db and they match (the request has a display
> name but I am presuming only the uri is checked.
>
> The endpoint is behind NAT, but the contacts match in the db and
> request. Can some explain what is actually checked when using
> is_contact_registered?
>
> Many thanks
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190821/8f38c22d/attachment.html>
More information about the Users
mailing list