All pastes #578061 Raw Edit

Someone

public text v1 · immutable
·published 2007-06-20 04:39 UTC
rendered paste body
[trocida]
exten => 7999,1,Answer
exten => 7999,2,DISA(no-password|trocida)
exten => 7999,3,Hangup

exten => 19062007,1,Answer
exten => 19062007,2,Playback(health-center)
exten => 19062007,3,Wait(3)
exten => 19062007,4,System(/scripts/trocida.sh)
exten => 19062007,5,Playback(goodbye)
; exten => 19062007,4,ExecIf($[${SYSTEMSTATUS} = SUCCESS]|Playback(beep))
exten => 19062007,6,Hangup

[secretaria]



from CLI

  == Parsing '/etc/asterisk/asterisk.conf': Found
  == Parsing '/etc/asterisk/extconfig.conf': Found
Asterisk 1.2.1, Copyright (C) 1999 - 2005 Digium.
Written by Mark Spencer <markster@digium.com>
=========================================================================
Connected to Asterisk 1.2.1 currently running on groo (pid = 4777)
Verbosity is at least 11
    -- Accepting call from '150' to '760' on channel 0/31, span 2
    -- Executing Goto("Zap/62-1", "ura|760|1") in new stack [VOICE]
    -- Goto (ura,760,1)
    -- Executing Answer("Zap/62-1", "") in new stack [VOICE]
    -- Executing BackGround("Zap/62-1", "menu") in new stack [VOICE]
    -- Playing 'menu' (language 'br')
    -- Executing DISA("Zap/62-1", "no-password|interno") in new stack [VOICE]
    -- Executing Goto("Zap/62-1", "trocida|7999|1") in new stack [VOICE]
    -- Goto (trocida,7999,1)
    -- Executing Answer("Zap/62-1", "") in new stack [VOICE]
    -- Executing DISA("Zap/62-1", "no-password|trocida") in new stack [VOICE]
    -- Executing Answer("Zap/62-1", "") in new stack [VOICE]
    -- Executing Playback("Zap/62-1", "health-center") in new stack [VOICE]
Jun 20 01:38:57 WARNING[21681]: file.c:508 ast_openstream_full: File health-center.gsm does not exist in any format
Jun 20 01:38:57 WARNING[21681]: file.c:820 ast_streamfile: Unable to open health-center.gsm (format unknown): No such file or directory
Jun 20 01:38:57 WARNING[21681]: app_playback.c:132 playback_exec: ast_streamfile failed on Zap/62-1 for health-center.gsm
    -- Executing Wait("Zap/62-1", "3") in new stack [VOICE]
    -- Executing System("Zap/62-1", "/scripts/trocida.sh") in new stack [VOICE]
    -- Executing Playback("Zap/62-1", "goodbye") in new stack [VOICE]
Jun 20 01:39:00 WARNING[21681]: file.c:508 ast_openstream_full: File goodbye does not exist in any format
Jun 20 01:39:00 WARNING[21681]: file.c:820 ast_streamfile: Unable to open goodbye (format unknown): No such file or directory
Jun 20 01:39:00 WARNING[21681]: app_playback.c:132 playback_exec: ast_streamfile failed on Zap/62-1 for goodbye
    -- Executing Hangup("Zap/62-1", "") in new stack [VOICE]
  == Spawn extension (trocida, 19062007, 6) exited non-zero on 'Zap/62-1'
    -- Hungup 'Zap/62-1'