[sr-dev] git:master:7ba770ca: registrar : add optional params to registered function

Luis Azedo luis at 2600hz.com
Thu Mar 26 23:26:57 CET 2015


Module: kamailio
Branch: master
Commit: 7ba770ca43485531eef4ad4ccbefe046d8fb2223
URL: https://github.com/kamailio/kamailio/commit/7ba770ca43485531eef4ad4ccbefe046d8fb2223

Author: Luis Azedo <luis at 2600hz.com>
Committer: Luis Azedo <luis at 2600hz.com>
Date: 2015-03-25T11:21:21Z

registrar : add optional params to registered function

3rd parameter as flag is used to optionally restrict contacts when searching.
values are
  1 - match_callid
  2 - match_received
  3 - match_contact

4th parameter as flag to optionally perform action on positive match
values are
  1 - set xavp_rcd with value from matched contact

---

Modified: modules/registrar/doc/registrar_admin.xml
Modified: modules/registrar/lookup.c
Modified: modules/registrar/lookup.h
Modified: modules/registrar/reg_mod.c
Modified: modules/registrar/reg_mod.h

---

Diff:  https://github.com/kamailio/kamailio/commit/7ba770ca43485531eef4ad4ccbefe046d8fb2223.diff
Patch: https://github.com/kamailio/kamailio/commit/7ba770ca43485531eef4ad4ccbefe046d8fb2223.patch




More information about the sr-dev mailing list