[ivr-dial] | |
exten=>100,1,Answer() | |
same=>n,Set(path=/var/www/html/p1/audio/) | |
same=>n,Read(rec,/var/www/html/p1/audio/rec-option,1) | |
same=>n,Noop( ...${rec}...) | |
same => n,GotoIf(${ISNULL(${rec})}=1]?1) | |
same => n,GotoIf($[${rec}=1]?dest) | |
same => n,GotoIf($[${rec}=2]?dest) | |
same=>n,Playback(invalid) | |
same=>n,Goto(1) | |
same=>n(dest),Read(dest,/var/www/html/p1/audio/dest,10) | |
same => n,GotoIf(${ISNULL(${dest})}=1]?dest) | |
same=>n,Noop( ...${rec}...) | |
same => n,GotoIf($[${rec}=1]?rec) | |
same => n,GotoIf($[${rec}=2]?norec) | |
same=>n,Playback(invalid) | |
same=>n,Goto(1) | |
same=>n(rec),Mixmonitor(${path}${STRFTIME(${EPOCH},,%Y-%m-%d_%H-%M-%S)}-${dest}_${type}_${src}.wav) | |
same=>n,Dial(SIP/callcentric/1${dest}) | |
same=>n,hangup() | |
same=>n(norec),Noop() | |
same=>n,Dial(SIP/callcentric/1${dest}) | |
same=>n,hangup() | |
No hay comentarios:
Publicar un comentario