[sr-dev] git:master:2ffc26aa: topos: add two new modes for topology hiding to preserve Contact user

Henning Westerholt hw at skalatan.de
Thu Jul 23 15:54:49 CEST 2020


Module: kamailio
Branch: master
Commit: 2ffc26aa671c40c482dc5f0eb1896e063f3d9b0e
URL: https://github.com/kamailio/kamailio/commit/2ffc26aa671c40c482dc5f0eb1896e063f3d9b0e

Author: Henning Westerholt <hw at skalatan.de>
Committer: Henning Westerholt <hw at skalatan.de>
Date: 2020-07-23T13:48:58Z

topos: add two new modes for topology hiding to preserve Contact user

- add two new modes for topology hiding to preserve Contact user
- add new variables contact_mode, cparam_name, a_contact_avp and b_contact_avp
- if contact_mode is 1, the internal key will be stored in a URI parameter
  instead of the Contact user, and the Contact users will be taken from the msg
- contact_mode 2 is the same as 1, but the Contact users will be taken from AVPs
- default is contact_mode 0 - the existing (old) behaviour

---

Modified: src/modules/topos/doc/topos_admin.xml
Modified: src/modules/topos/topos_mod.c
Modified: src/modules/topos/tps_msg.c
Modified: src/modules/topos/tps_storage.c

---

Diff:  https://github.com/kamailio/kamailio/commit/2ffc26aa671c40c482dc5f0eb1896e063f3d9b0e.diff
Patch: https://github.com/kamailio/kamailio/commit/2ffc26aa671c40c482dc5f0eb1896e063f3d9b0e.patch




More information about the sr-dev mailing list