← Volver al índice de módulos

pua_reginfo

This module publishes information about "reg"-events according to to RFC 3680. This can be used distribute the registration-info status to the subscribed watchers.
💬 Presencia y Mensajería Kamailio 6.1 8 parámetros 6 funciones

Descripción general

This module publishes information about "reg"-events according to to RFC 3680. This can be used distribute the registration-info status to the subscribed watchers. This module "PUBLISH"es information when a new user registers at this server (e.g. when "save()" is called) to users, which have subscribed for the reg-info for this user. This module can "SUBSCRIBE" for information at another server, so it will receive "NOTIFY"-requests, when the information about a user changes. And finally, it can process received "NOTIFY" requests and it will update the local registry accordingly. Use cases for this might be: * Keeping different Servers in Sync regarding the location database * Get notified, when a user registers: A presence-server, which handles offline message storage for an account, would get notified, when the user comes online. * A client could subscribe to its own registration-status, so he would get notified as soon as his account gets administratively unregistered. * ...

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

Parámetros de configuración

ParámetroTipoDescripción
default_domain str 3.2. publish_reginfo(int) 3.3. outbound_proxy(str) 3.4. server_address(str)
publish_reginfo int 3.3. outbound_proxy(str) 3.4. server_address(str)
outbound_proxy str 3.4. server_address(str)
server_address str 3.1. default_domain(str)
default_domain str The default domain for the registered users to be used when constructing the uri for the registrar callback.
publish_reginfo int Whether or not to generate PUBLISH requests.
outbound_proxy str The outbound_proxy uri to be used when sending Subscribe and Publish requests.
server_address str The IP address of the server.

Funciones exportadas

reginfo_handle_notify(uldomain)

4.2. reginfo_subscribe(uri[, expires]) 4.3. reginfo_disable_publish()

reginfo_subscribe(uri[, expires])

4.3. reginfo_disable_publish()

reginfo_disable_publish()

4.1. reginfo_handle_notify(uldomain)

reginfo_handle_notify(uldomain)

This function processes received "NOTIFY"-requests and updates the local registry accordingly.

reginfo_subscribe(uri[, expires])

This function will subscribe for reginfo-information at the given server URI.

reginfo_disable_publish()

This function disables sending the PUBLISH request in the registrar callback invocation, for the current message only.

Autores y contribuidores

Carsten Bock <carsten@ng-voice.com>

Copyright © 2011 Carsten Bock, carsten@ng-voice.com,

Módulos relacionados

dialog msilo presence presence_dialoginfo presence_mwi presence_profile presence_reginfo presence_xml