AstManProxy

No hace mucho recibimos un correo electrónico de un cliente que usa mucho el Manager y recibe el error «No podemos admitir acceso directo a la Interfaz del Manager». Quieren reducir el impacto directo en la Interfaz del Manager y reducir el flujo de datos a los clientes. Preguntaron por la implementación de AstManProxy.

Le dijimos al cliente que podrían ensayar AstManProxy primero, pero también le ofrecimos la siguiente alternative usando filtros para Manager Event.

Copiar/pegar de manager.conf.sample:

;eventfilter=Event: Newchannel
;eventfilter=!Channel: DAHDI.*
; The eventfilter option is used to whitelist or blacklist events per user.
; A filter consists of a (basic/old-style and unanchored) regular expression ; that is run on the entire event data. If the first character of the filter ; is an exclamation mark (!), the filter is appended to the blacklist instead ; of the whitelist. After first checking the read access below, the regular ; expression filters are processed as follows:
; – If no filters are configured all events are reported as normal.
; – If there are white filters only: implied black all filter processed first, ; then white filters.
; – If there are black filters only: implied white all filter processed first, ; then black filters.
; – If there are both white and black filters: implied black all filter processed ; first, then white filters, and lastly black filters.

Básicamente eliminar todos los eventos que consideres redundantes.

Aquí están los que eliminaríamos nosotros:

eventfilter=!Event: RTCPSent
eventfilter=!Event: RTCPReceived
eventfilter=!Event: VarSet

Esperamos tener noticias de nuestro cliente y de cualquier otra personas que ensaye AstManProxy con PBXware.