Soporte & Consultoria

Soporte Remoto y Consultoria skype : ambiorixg12.
Nota no se brinda ningun tipo de consulta o soporte fuera del blog de forma gratuita

martes, 20 de diciembre de 2016

Asterisk AMI event Filder

Since Asterisk 1.8, a new feature was added to the manager interface, the ability to use event filters to baclklist or whitelist manager events. If you use Asterisk 1.8 together with FOP2 you might want to set that up, so, fire up your editor and add the eventfilter lines to your manager.conf file:
  1. [fop2]
  2. secret = supersecret
  3. deny=
  4. permit=
  5. read = all
  6. write = all
  7. writetimeout = 1000
  8. eventfilter=!Event: RTCPSent
  9. eventfilter=!Event: RTCPReceived
  10. eventfilter=!Event: VarSet
  11. eventfilter=!Event: Cdr
  12. eventfilter=!Event: ExtensionStatus
  13. eventfilter=!Event: ChannelUpdate
The eventfilter will blacklist every event that is prefixed with ! and allow/whitelist everything else.
By the way, we can also add the writetimeout directive to avoid fop2 server from being disconnected when Asterisk gets mad.
source :

No hay comentarios:

Publicar un comentario