[OpenSIPS-Devel] [OpenSIPS/opensips] 0a826a: update registrar: now certain AOR, contact can be ...
ionutrazvanionita
ionutionita at opensips.org
Fri Oct 16 17:03:08 CEST 2015
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 0a826a9fd93cdfe0064dc06e5bcfabd4da9df689
https://github.com/OpenSIPS/opensips/commit/0a826a9fd93cdfe0064dc06e5bcfabd4da9df689
Author: ionutrazvanionita <ionutionita at opensips.org>
Date: 2015-10-16 (Fri, 16 Oct 2015)
Changed paths:
M modules/registrar/README
M modules/registrar/doc/registrar_admin.xml
M modules/registrar/lookup.c
M modules/registrar/lookup.h
M modules/registrar/reg_mod.c
M modules/registrar/save.c
Log Message:
-----------
update registrar: now certain AOR, contact can be searched; easier to understand the api
three new functions added:
* is_registered - whether or not an AOR is inside the usrloc table
* is_contact_registered - whether or not a contact and/or a callid is inside the location table
* is_ip_registered - whether or not an ip from an avp/pvar is registered or not
two old functions are now deprecated:
* is_other_contact - replaced with is_ip_registered + all pvar support
* registered - replaced with is_contact_registered
More information about the Devel
mailing list