Hallo Luca, Please show logs ( full )
On Fri, 5 Nov 2021 at 11:04, Luca Bertoncello <lucab...@lucabert.de> wrote: > Am 03.11.2021 21:34, schrieb Antony Stone: > > Hi again > > > The n there should be 1, surely? > > > >> exten => h,n,Hangup > > > > I would say "remove that line". The call has already been hung up, so > > calling > > Hangup is at best going to go into a recursive loop - it certainly > > isn't going > > to help. > > This is my current configuration: > > [cch] > exten => _X.,1,Verbose(2,DEFAULT) > include => internal_calls > include => main_incoming > include => fax_incoming > include => michael_incoming > include => myproxy > > [noanswer] > exten => s,1,NoOp(UID CALL: ${UNIQUEID} / DATE: > ${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)})) > exten => s,n,System(echo "Verpasster Anruf vom ${CALLERID(NUM)} um > ${STRFTIME(${EPOCH},,%H:%M)}" | mail -s "Verpasster Anruf" i...@xxxx.de) > > .... > > [main_incoming] > exten => h,1,GotoIf($[“${DIALSTATUS}” = “ANSWER”]?done) > exten => h,n,Goto(noanswer,s,1) > exten => h,n(done),NoOp() > exten => h,n,HangUp() > ... > > It works, but I have two problems: > > 1) The E-Mails will be sent "double" > 2) The E-Mails will be sent for outgoing unanswered calls, too. > > Do someone has an idea what is wrong in my configuration? > > Thanks a lot > Luca Bertoncello > (lucab...@lucabert.de) > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > Check out the new Asterisk community forum at: > https://community.asterisk.org/ > > New to Asterisk? Start here: > https://wiki.asterisk.org/wiki/display/AST/Getting+Started > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users -- Pozdrawiam, Łukasz Grzywański
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users