In no case do this for 3 attempts. But itβs possible for every attempt.
In the call file change channel in Local / somenumber @ dialout / n
Create context
[dialout] exten => _X.,1,Dial(DAHDI/1/${EXTEN},,g) exten => _X.,2,Goto(${DIALSTATUS},1) exten => BUSY,1,AGI(busy.agi) exten => CONGESTION,1,AGI(fail.agi) exten => FAILED,1,AGI(fail.agi) exten => NOANSWER,1,AGI(noanaswer.agi)
Also, I DO NOT recommend creating a kit if you are not a guru in an asterisk. Use open source mechanisms. It has REAL highlighting problems you never think about.
source share