[OpenSIPS-Users] can't get is_contact_registered() to return true

Jeff Pyle jeff at ugnd.org
Wed Oct 7 14:18:36 EST 2020


This is on OpenSIPS 3.1.0 git revision 499831928.

I'm attempting to verify an inbound message is coming from a registered
source.  is_registered("location") returns
true.  is_ip_registered("location", , $si) also returns
true.  is_contact_registered("location"), however, does not.  I've played
with various parameters and can't get it to do so.

The From of the inbound message matches the AOR I'm attempting to check.
That AOR has three registered contacts, and one of those contacts matches
the Contact arriving on the inbound message.  I expect the function to
return true in this case.  Am I missing something?

- Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20201007/5d67d843/attachment.html>

More information about the Users mailing list