← Volver al índice de módulos

topos

This module offers topology hiding for INVITE-based dialogs, by stripping the SIP routing headers that show topology details . The script interpreter gets the SIP messages with full content, so all ex
🔀 Enrutamiento y Proxy SIP Kamailio 6.1 30 parámetros 2 funciones

Descripción general

This module offers topology hiding for INVITE-based dialogs, by stripping the SIP routing headers that show topology details . The script interpreter gets the SIP messages with full content, so all existing functionality is preserved. The module is transparent for the configuration writer. It only needs to be loaded (tune the module parameters if needed). It also works for SIP MESSAGE or other requests that do not create a dialog (e.g., OPTIONS) -- record_route() must be used for them as well, the headers are not going to be in the messages sent to the network, they are needed to know local addresses used to communicate with each side. This module is designed to work for presence (SUBSCRIBE-based) dialogs too. The REGISTER and PUBLISH requests are skipped from processing by this module, expected to be terminated on a local SIP server.

Documentación oficial: https://www.kamailio.org/docs/modules/stable/modules/topos.html
Código fuente: https://github.com/kamailio/kamailio/tree/master/src/modules/topos

Parámetros de configuración

ParámetroTipoDescripción
storage str 3.2. db_url (str) 3.3. mask_callid (int) 3.4. sanity_checks (int) 3.5. branch_expire (int) 3.6. dialog_expire (int) 3.7. clean_interval (int) 3.8. event_callback (str) 3.9. event_mode (int) 3.10. cont
db_url str 3.3. mask_callid (int) 3.4. sanity_checks (int) 3.5. branch_expire (int) 3.6. dialog_expire (int) 3.7. clean_interval (int) 3.8. event_callback (str) 3.9. event_mode (int) 3.10. contact_host (str) 3.1
mask_callid int 3.4. sanity_checks (int) 3.5. branch_expire (int) 3.6. dialog_expire (int) 3.7. clean_interval (int) 3.8. event_callback (str) 3.9. event_mode (int) 3.10. contact_host (str) 3.11. contact_mode (int) 3
sanity_checks int 3.5. branch_expire (int) 3.6. dialog_expire (int) 3.7. clean_interval (int) 3.8. event_callback (str) 3.9. event_mode (int) 3.10. contact_host (str) 3.11. contact_mode (int) 3.12. cparam_name (int) 3.
branch_expire int 3.6. dialog_expire (int) 3.7. clean_interval (int) 3.8. event_callback (str) 3.9. event_mode (int) 3.10. contact_host (str) 3.11. contact_mode (int) 3.12. cparam_name (int) 3.13. xavu_cfg (str) 3.14.
dialog_expire int 3.7. clean_interval (int) 3.8. event_callback (str) 3.9. event_mode (int) 3.10. contact_host (str) 3.11. contact_mode (int) 3.12. cparam_name (int) 3.13. xavu_cfg (str) 3.14. xavu_field_a_contact (str
clean_interval int 3.8. event_callback (str) 3.9. event_mode (int) 3.10. contact_host (str) 3.11. contact_mode (int) 3.12. cparam_name (int) 3.13. xavu_cfg (str) 3.14. xavu_field_a_contact (str) 3.15. xavu_field_b_conta
event_callback str 3.9. event_mode (int) 3.10. contact_host (str) 3.11. contact_mode (int) 3.12. cparam_name (int) 3.13. xavu_cfg (str) 3.14. xavu_field_a_contact (str) 3.15. xavu_field_b_contact (str) 3.16. xavu_field_
event_mode int 3.10. contact_host (str) 3.11. contact_mode (int) 3.12. cparam_name (int) 3.13. xavu_cfg (str) 3.14. xavu_field_a_contact (str) 3.15. xavu_field_b_contact (str) 3.16. xavu_field_contact_host (str) 3.1
contact_host str 3.11. contact_mode (int) 3.12. cparam_name (int) 3.13. xavu_cfg (str) 3.14. xavu_field_a_contact (str) 3.15. xavu_field_b_contact (str) 3.16. xavu_field_contact_host (str) 3.17. rr_update (int) 3.18.
contact_mode int 3.12. cparam_name (int) 3.13. xavu_cfg (str) 3.14. xavu_field_a_contact (str) 3.15. xavu_field_b_contact (str) 3.16. xavu_field_contact_host (str) 3.17. rr_update (int) 3.18. context (str) 3.19. metho
cparam_name int 3.13. xavu_cfg (str) 3.14. xavu_field_a_contact (str) 3.15. xavu_field_b_contact (str) 3.16. xavu_field_contact_host (str) 3.17. rr_update (int) 3.18. context (str) 3.19. methods_nocontact (str) 3.20.
xavu_cfg str 3.14. xavu_field_a_contact (str) 3.15. xavu_field_b_contact (str) 3.16. xavu_field_contact_host (str) 3.17. rr_update (int) 3.18. context (str) 3.19. methods_nocontact (str) 3.20. header_mode (int) 3.
xavu_field_a_contact str 3.15. xavu_field_b_contact (str) 3.16. xavu_field_contact_host (str) 3.17. rr_update (int) 3.18. context (str) 3.19. methods_nocontact (str) 3.20. header_mode (int) 3.21. methods_noinitial (str) 3.22.
xavu_field_b_contact str 3.16. xavu_field_contact_host (str) 3.17. rr_update (int) 3.18. context (str) 3.19. methods_nocontact (str) 3.20. header_mode (int) 3.21. methods_noinitial (str) 3.22. version_table (integer) 3.23. me
xavu_field_contact_host str 3.17. rr_update (int) 3.18. context (str) 3.19. methods_nocontact (str) 3.20. header_mode (int) 3.21. methods_noinitial (str) 3.22. version_table (integer) 3.23. methods_update_time (str)
rr_update int 3.18. context (str) 3.19. methods_nocontact (str) 3.20. header_mode (int) 3.21. methods_noinitial (str) 3.22. version_table (integer) 3.23. methods_update_time (str)
context str 3.19. methods_nocontact (str) 3.20. header_mode (int) 3.21. methods_noinitial (str) 3.22. version_table (integer) 3.23. methods_update_time (str)
methods_nocontact str 3.20. header_mode (int) 3.21. methods_noinitial (str) 3.22. version_table (integer) 3.23. methods_update_time (str)
header_mode int 3.21. methods_noinitial (str) 3.22. version_table (integer) 3.23. methods_update_time (str)
methods_noinitial str 3.22. version_table (integer) 3.23. methods_update_time (str)
version_table integer 3.23. methods_update_time (str)
methods_update_time str 3.1. storage (str)
storage str Type of storage, valid types are: * db - Database Backend * redis - Redis Backend * htable - htable module Backend
db_url str Database URL.
mask_callid int Whether to encode the Call-id: header. Some SIP extensions include the Call-id in the SIP message payload or header, so it is safe to not encode Call-id in such cases. Well-known extensions such as ca
sanity_checks int If set to 1, topos module will bind to sanity module in order to perform sanity checks over received SIP request. Default sanity checks are done. It is useful to check if received request is well form
branch_expire int Interval in seconds after which the branch records are deleted.
dialog_expire int Interval in seconds after which the dialog records are deleted. Keep in mind that the module does not update the dialog timestamp after the initial call setup on re-INVITEs or other in-dialog messages
clean_interval int Interval in seconds to run the clean up of stored records.

Funciones exportadas

tps_set_context(ctx)

4.1. tps_set_context(ctx)

tps_set_context(ctx)

Update the context at runtime. If the value is empty string, then the runtime context is reset.

Autores y contribuidores

Daniel-Constantin Mierla <miconda@gmail.com>Frederic Gaisnon <frederic.gaisnon@gmail.com>

Copyright © 2016 FhG FOKUS
Copyright © 2021 MomentTech

Módulos relacionados

acc acc_diameter acc_json acc_radius alias_db app_jsdt carrierroute cfgt