[conf]
exten =>_00124,1,Answer()
same=>n,System(echo "${CHANNEL}" > /root/c1.conf)
same=>n,MusicOnHold()
exten =>_00123,1,Answer()
same=>n,Set(caller1=${SHELL(cat /root/c1.conf)})
same=>n,Set(caller2=${SHELL(cat /root/c2.conf)})
same=>n,Verbose(this is channel ${caller1})
same=>n,ChannelRedirect(${caller1:0:16},internal,0,1)
same=>n,Hangup()
No hay comentarios:
Publicar un comentario