← Volver al índice de módulos

xprint

IMPORTANT: this is former xlog module from SIP Express Router (SER) kept because it is used by other modules via API to get the value for strings with specifiers. If you want to print log messages fro
🛠️ Utilidades y Varios Kamailio 6.1 2 parámetros 10 funciones

Descripción general

IMPORTANT: this is former xlog module from SIP Express Router (SER) kept because it is used by other modules via API to get the value for strings with specifiers. If you want to print log messages from configuration file, use the real module named 'xlog'. This module provides the possibility to print user formatted log or debug messages from SER scripts, similar to printf function but now a specifier is replaced with a part of the SIP request. Section 2, “Implemented Specifiers” shows what can be printed out.

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

Parámetros de configuración

ParámetroTipoDescripción
buf_size integer 3.1. buf_size (integer)
buf_size integer Maximum size of the log message.

Funciones exportadas

xplog(level, format)

4.2. xpdbg(format)

xpdbg(format)

4.1. xplog(level, format)

xplog(level, format)

Print a formatted message using LOG function.

xpdbg(format)

Print a formatted message using DBG function.

xfree(xl_elog_p el)

1.1.7. shm_xfree(xl_elog_p el) 1.1.8. int xprint(struct sip_msg* msg, xl_elog_p el, char *buf, int *len)

shm_xfree(xl_elog_p el)

1.1.8. int xprint(struct sip_msg* msg, xl_elog_p el, char *buf, int *len)

xfree(xl_elog_p el)

1.1.7. shm_xfree(xl_elog_p el) 1.1.8. int xprint(struct sip_msg* msg, xl_elog_p el, char *buf, int *len)

shm_xfree(xl_elog_p el)

1.1.8. int xprint(struct sip_msg* msg, xl_elog_p el, char *buf, int *len)

xfree(xl_elog_p el)

Free the xl-lib list allocated by xparse() or xparse2().

shm_xfree(xl_elog_p el)

Free the xl-lib list allocated by shm_xparse() or shm_xparse2().

Autores y contribuidores

Elena-Ramona ModroiuAsipto

Copyright © 2003 FhG FOKUS

Módulos relacionados

auth_web3 auth_xkeys avp avpops benchmark blst call_control call_obj