Inbound does not work

0

I created the following extension in the file extensions_custom.conf :

    exten => 1,1,Log(Verbose,${CALLERID(num)} - INICIANDO SCRIPT);
    same => n,Answer(1);
    same => n,Agi(googletts.agi,"Digite o código de usuário seguido da tecla quadrado");
    same => n,Read(USUARIO,"silence/1");
    same => n,Log(Verbose,${CALLERID(num)} - CLIENTE: ${USUARIO});

When I dial the extension, the script works. But when I call the registered sip trunk, it does not fall into this script. If I route the incoming route to any one extension, tap, for extension 1, which is that of the script, it does not work. Any suggestions?

    
asked by anonymous 13.04.2018 / 14:37

0 answers