Answer the question
In order to leave comments, you need to log in
How to catch the hook up event?
There is a call center, an incoming call from outside, when the operator picks up the phone, you need to run some AGI script. How to catch this event (?)?
Answer the question
In order to leave comments, you need to log in
Like this for example
exten => _XXXX,1,NoOp(-------AGENT-DIALPLAN----------)
same => n,Dial(${EXTEN},60,rU(sub-agi,${CALLERID(num)},${EXTEN},${UNIQUEID}))
[sub-agi]
exten => s,1,Noop(------------Start-Sub-AGI---------------)
same => n,NoCDR()
same => n,Noop(${ARG1}
same => n,Noop(${ARG2}
same => n,Noop(${ARG3}
same => n,AGI(myscript.php,${ARG1},${ARG2},${ARG3})
same => n,return
Maybe this event will fit
https://wiki.asterisk.org/wiki/display/AST/Asteris...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question