← Volver al índice de módulos

siputils

This module implements various functions and checks related to SIP message handling and URI handling. This module also provides a function to answer OPTIONS requests which are directed to the server i
💬 Presencia y Mensajería Kamailio 6.1 18 parámetros 25 funciones

Descripción general

This module implements various functions and checks related to SIP message handling and URI handling. This module also provides a function to answer OPTIONS requests which are directed to the server itself. This means an OPTIONS request which has the address of the server in the request URI, and no username in the URI. The request will be answered with a 200 OK with the capabilities of the server. To answer OPTIONS request directed to your server is the easiest way for is-alive-tests on the SIP (application) layer from remote (similar to ICMP echo requests, also known as “ping”, on the network layer).

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

Parámetros de configuración

ParámetroTipoDescripción
options_accept string 3.2. options_accept_encoding (string) 3.3. contact_flds_separator (string) 3.4. options_accept_language (string) 3.5. options_support (string) 3.6. rpid_prefix (string) 3.7. rpid_suffix (string) 3.8.
options_accept_encoding string 3.3. contact_flds_separator (string) 3.4. options_accept_language (string) 3.5. options_support (string) 3.6. rpid_prefix (string) 3.7. rpid_suffix (string) 3.8. rpid_avp (string) 3.9. e164_max_len (i
contact_flds_separator string 3.4. options_accept_language (string) 3.5. options_support (string) 3.6. rpid_prefix (string) 3.7. rpid_suffix (string) 3.8. rpid_avp (string) 3.9. e164_max_len (int)
options_accept_language string 3.5. options_support (string) 3.6. rpid_prefix (string) 3.7. rpid_suffix (string) 3.8. rpid_avp (string) 3.9. e164_max_len (int)
options_support string 3.6. rpid_prefix (string) 3.7. rpid_suffix (string) 3.8. rpid_avp (string) 3.9. e164_max_len (int)
rpid_prefix string 3.7. rpid_suffix (string) 3.8. rpid_avp (string) 3.9. e164_max_len (int)
rpid_suffix string 3.8. rpid_avp (string) 3.9. e164_max_len (int)
rpid_avp string 3.9. e164_max_len (int)
e164_max_len int 3.1. options_accept (string)
options_accept string This parameter is the content of the Accept header field. Note: it is not clearly written in RFC3261 if a proxy should accept any content (the default “*/*”) because it does not care about content. Or
options_accept_encoding string This parameter is the content of the Accept-Encoding header field. Please do not change the default value because Kamailio does not support any encodings yet.
contact_flds_separator string First char of this parameter is used as separator for encoding/decoding Contact header.
options_accept_language string This parameter is the content of the Accept-Language header field. You can set any language code which you prefer for error descriptions from other devices, but presumably there are not many devices a
options_support string This parameter is the content of the Support header field, indicating SIP extensions. Please do not change the default value, because Kamailio currently does not support any of the SIP extensions regi
rpid_prefix string Prefix to be added to Remote-Party-ID header field just before the URI returned from either radius or database.
rpid_suffix string Suffix to be added to Remote-Party-ID header field after the URI returned from either radius or database.
rpid_avp string Full AVP specification for the AVP which stores the RPID value. It used to transport the RPID value from authentication backend modules (auth_db or auth_radius) or from script to the auth function app
e164_max_len int The maximum length for checking e164 numbers, including the leading '+'.

Funciones exportadas

options_reply()

4.2. is_user(username) 4.3. has_totag() 4.4. uri_param(param) 4.5. uri_param(param, value) 4.6. uri_param_any(param) 4.7. add_uri_param(param) 4.8. get_uri_param(name, var) 4.9. uri_param_rm(param) 4.10. tel2sip(uri, hostpart, result) 4.11. tel2sip2(

is_user(username)

4.3. has_totag() 4.4. uri_param(param) 4.5. uri_param(param, value) 4.6. uri_param_any(param) 4.7. add_uri_param(param) 4.8. get_uri_param(name, var) 4.9. uri_param_rm(param) 4.10. tel2sip(uri, hostpart, result) 4.11. tel2sip2(uri, hostpart, result)

has_totag()

4.4. uri_param(param) 4.5. uri_param(param, value) 4.6. uri_param_any(param) 4.7. add_uri_param(param) 4.8. get_uri_param(name, var) 4.9. uri_param_rm(param) 4.10. tel2sip(uri, hostpart, result) 4.11. tel2sip2(uri, hostpart, result) 4.12. is_e164(pse

uri_param(param)

4.5. uri_param(param, value) 4.6. uri_param_any(param) 4.7. add_uri_param(param) 4.8. get_uri_param(name, var) 4.9. uri_param_rm(param) 4.10. tel2sip(uri, hostpart, result) 4.11. tel2sip2(uri, hostpart, result) 4.12. is_e164(pseudo-variable) 4.13. is

uri_param(param, value)

4.6. uri_param_any(param) 4.7. add_uri_param(param) 4.8. get_uri_param(name, var) 4.9. uri_param_rm(param) 4.10. tel2sip(uri, hostpart, result) 4.11. tel2sip2(uri, hostpart, result) 4.12. is_e164(pseudo-variable) 4.13. is_uri_user_e164(pseudo-variabl

uri_param_any(param)

4.7. add_uri_param(param) 4.8. get_uri_param(name, var) 4.9. uri_param_rm(param) 4.10. tel2sip(uri, hostpart, result) 4.11. tel2sip2(uri, hostpart, result) 4.12. is_e164(pseudo-variable) 4.13. is_uri_user_e164(pseudo-variable) 4.14. is_uri(pseudo-var

add_uri_param(param)

4.8. get_uri_param(name, var) 4.9. uri_param_rm(param) 4.10. tel2sip(uri, hostpart, result) 4.11. tel2sip2(uri, hostpart, result) 4.12. is_e164(pseudo-variable) 4.13. is_uri_user_e164(pseudo-variable) 4.14. is_uri(pseudo-variable) 4.15. is_tel_number

get_uri_param(name, var)

4.9. uri_param_rm(param) 4.10. tel2sip(uri, hostpart, result) 4.11. tel2sip2(uri, hostpart, result) 4.12. is_e164(pseudo-variable) 4.13. is_uri_user_e164(pseudo-variable) 4.14. is_uri(pseudo-variable) 4.15. is_tel_number(tval) 4.16. is_numeric(tval)

uri_param_rm(param)

4.10. tel2sip(uri, hostpart, result) 4.11. tel2sip2(uri, hostpart, result) 4.12. is_e164(pseudo-variable) 4.13. is_uri_user_e164(pseudo-variable) 4.14. is_uri(pseudo-variable) 4.15. is_tel_number(tval) 4.16. is_numeric(tval) 4.17. is_alphanum(tval) 4

tel2sip(uri, hostpart, result)

4.11. tel2sip2(uri, hostpart, result) 4.12. is_e164(pseudo-variable) 4.13. is_uri_user_e164(pseudo-variable) 4.14. is_uri(pseudo-variable) 4.15. is_tel_number(tval) 4.16. is_numeric(tval) 4.17. is_alphanum(tval) 4.18. is_alphanumex(tval, eset) 4.19.

tel2sip2(uri, hostpart, result)

4.12. is_e164(pseudo-variable) 4.13. is_uri_user_e164(pseudo-variable) 4.14. is_uri(pseudo-variable) 4.15. is_tel_number(tval) 4.16. is_numeric(tval) 4.17. is_alphanum(tval) 4.18. is_alphanumex(tval, eset) 4.19. encode_contact(encoding_prefix, hostpa

is_e164(pseudo-variable)

4.13. is_uri_user_e164(pseudo-variable) 4.14. is_uri(pseudo-variable) 4.15. is_tel_number(tval) 4.16. is_numeric(tval) 4.17. is_alphanum(tval) 4.18. is_alphanumex(tval, eset) 4.19. encode_contact(encoding_prefix, hostpart) 4.20. decode_contact() 4.21

is_uri_user_e164(pseudo-variable)

4.14. is_uri(pseudo-variable) 4.15. is_tel_number(tval) 4.16. is_numeric(tval) 4.17. is_alphanum(tval) 4.18. is_alphanumex(tval, eset) 4.19. encode_contact(encoding_prefix, hostpart) 4.20. decode_contact() 4.21. decode_contact_header() 4.22. cmp_uri(

is_uri(pseudo-variable)

4.15. is_tel_number(tval) 4.16. is_numeric(tval) 4.17. is_alphanum(tval) 4.18. is_alphanumex(tval, eset) 4.19. encode_contact(encoding_prefix, hostpart) 4.20. decode_contact() 4.21. decode_contact_header() 4.22. cmp_uri(str1, str2) 4.23. cmp_aor(str1

is_tel_number(tval)

4.16. is_numeric(tval) 4.17. is_alphanum(tval) 4.18. is_alphanumex(tval, eset) 4.19. encode_contact(encoding_prefix, hostpart) 4.20. decode_contact() 4.21. decode_contact_header() 4.22. cmp_uri(str1, str2) 4.23. cmp_aor(str1, str2) 4.24. cmp_hdr_name

is_numeric(tval)

4.17. is_alphanum(tval) 4.18. is_alphanumex(tval, eset) 4.19. encode_contact(encoding_prefix, hostpart) 4.20. decode_contact() 4.21. decode_contact_header() 4.22. cmp_uri(str1, str2) 4.23. cmp_aor(str1, str2) 4.24. cmp_hdr_name(str1, str2) 4.25. appe

is_alphanum(tval)

4.18. is_alphanumex(tval, eset) 4.19. encode_contact(encoding_prefix, hostpart) 4.20. decode_contact() 4.21. decode_contact_header() 4.22. cmp_uri(str1, str2) 4.23. cmp_aor(str1, str2) 4.24. cmp_hdr_name(str1, str2) 4.25. append_rpid_hf() 4.26. appen

is_alphanumex(tval, eset)

4.19. encode_contact(encoding_prefix, hostpart) 4.20. decode_contact() 4.21. decode_contact_header() 4.22. cmp_uri(str1, str2) 4.23. cmp_aor(str1, str2) 4.24. cmp_hdr_name(str1, str2) 4.25. append_rpid_hf() 4.26. append_rpid_hf(prefix, suffix) 4.27.

encode_contact(encoding_prefix, hostpart)

4.20. decode_contact() 4.21. decode_contact_header() 4.22. cmp_uri(str1, str2) 4.23. cmp_aor(str1, str2) 4.24. cmp_hdr_name(str1, str2) 4.25. append_rpid_hf() 4.26. append_rpid_hf(prefix, suffix) 4.27. is_rpid_user_e164() 4.28. set_uri_user(uri, user

decode_contact()

4.21. decode_contact_header() 4.22. cmp_uri(str1, str2) 4.23. cmp_aor(str1, str2) 4.24. cmp_hdr_name(str1, str2) 4.25. append_rpid_hf() 4.26. append_rpid_hf(prefix, suffix) 4.27. is_rpid_user_e164() 4.28. set_uri_user(uri, user) 4.29. set_uri_host(ur

decode_contact_header()

4.22. cmp_uri(str1, str2) 4.23. cmp_aor(str1, str2) 4.24. cmp_hdr_name(str1, str2) 4.25. append_rpid_hf() 4.26. append_rpid_hf(prefix, suffix) 4.27. is_rpid_user_e164() 4.28. set_uri_user(uri, user) 4.29. set_uri_host(uri, host) 4.30. is_request() 4.

cmp_uri(str1, str2)

4.23. cmp_aor(str1, str2) 4.24. cmp_hdr_name(str1, str2) 4.25. append_rpid_hf() 4.26. append_rpid_hf(prefix, suffix) 4.27. is_rpid_user_e164() 4.28. set_uri_user(uri, user) 4.29. set_uri_host(uri, host) 4.30. is_request() 4.31. is_reply() 4.32. is_si

cmp_aor(str1, str2)

4.24. cmp_hdr_name(str1, str2) 4.25. append_rpid_hf() 4.26. append_rpid_hf(prefix, suffix) 4.27. is_rpid_user_e164() 4.28. set_uri_user(uri, user) 4.29. set_uri_host(uri, host) 4.30. is_request() 4.31. is_reply() 4.32. is_sip() 4.33. is_http() 4.34.

cmp_hdr_name(str1, str2)

4.25. append_rpid_hf() 4.26. append_rpid_hf(prefix, suffix) 4.27. is_rpid_user_e164() 4.28. set_uri_user(uri, user) 4.29. set_uri_host(uri, host) 4.30. is_request() 4.31. is_reply() 4.32. is_sip() 4.33. is_http() 4.34. is_gruu([uri]) 4.35. is_support

append_rpid_hf()

4.26. append_rpid_hf(prefix, suffix) 4.27. is_rpid_user_e164() 4.28. set_uri_user(uri, user) 4.29. set_uri_host(uri, host) 4.30. is_request() 4.31. is_reply() 4.32. is_sip() 4.33. is_http() 4.34. is_gruu([uri]) 4.35. is_supported(option) 4.36. is_fir

Autores y contribuidores

Hardy KahlHenning WesterholtNils OhlmeierFhG FokusJan JanakFhG FOKUSDaniel-Constantin MierlaGabriel VasileJuha HeinanenTutPro Inc.Bogdan-Andrei IancuEik Rentzow

Copyright © 2008, 2005, 2003 1&1 Internet AG, FhG Fokus, Voice Sistem

Módulos relacionados

dialog msilo presence presence_dialoginfo presence_mwi presence_profile presence_reginfo presence_xml