Skip to main content

Problemas para realizar escuta/sussurro


Verificar o arquivo extensions_fnc.conf na pasta /etc/asterisk/


Conferir se o contexto [monitoramento] está da forma abaixo:


(SIP)

 

[monitoramento]
;Escuta bqwW
exten => _S20X.,1,Set(TIMEOUT(absolute)=3600)
same => n,ChanSpy(SIP/${EXTEN:3},bq)
same => n,HangUp()
exten => _S21X.,1,ChanSpy(SIP/${EXTEN:3},bqw)
same => n,HangUp()
exten => _S22X.,1,ChanSpy(SIP/${EXTEN:3},bqB)
same => n,HangUp()
exten => _S23X.,1,ChanSpy(SIP/${EXTEN:3},bqW)
same => n,HangUp()

[fncauto]
include => features
include => monitoramento


(PJSIP)


[monitoramento]
;Escuta bqwW
exten => _S20X.,1,Set(TIMEOUT(absolute)=3600)
same => n,ChanSpy(PJSIP/${EXTEN:3},bq)
same => n,HangUp()

exten => _S21X.,1,ChanSpy(PJSIP/${EXTEN:3},bqw)
same => n,HangUp()

exten => _S22X.,1,ChanSpy(PJSIP/${EXTEN:3},bqB)
same => n,HangUp()

exten => _S23X.,1,ChanSpy(PJSIP/${EXTEN:3},bqW)
same => n,HangUp()


[fncauto]
include => features
include => monitoramento

 

Caso não esteja, substituir o contexto no servidor pelas informações acima.