[asterisk-users] callback without agi
Patricio Valarezo
patovala at pupilabox.net.ec
Wed Sep 13 09:46:23 MST 2006
Hi, it's possible to implement a callback without agi?, i'm trying this
but * exits without dialing (if I hungup during s,3 wait) but if it
hungs in s,4 it dials, so is there an explanation to this behavior?
there is an alternative to do it? just for learning
thanks for your answers
[followme]
exten => s,1,NoOp(Followme me sigue)
exten => s,2,NoOp(El CID es ${CALLERID(num)})
exten => s,3,Wait(4)
exten => s,4,Hangup()
; al cortar debera iniciar la secuencia
exten => h,1,NoOp("${CALLERID(num)} ha cortado")
exten => h,n,NoOp(channel es ${CHANNEL})
exten => h,n,Wait(10)
exten => h,n,NoOp("aqui podriamos marcar")
exten => h,n,Dial(${CANAL}/${CALLERID(num)})
exten => s,n,Hangup()
PV.
More information about the asterisk-users
mailing list