RetryDial() stop retrying on Decline from user

Hi, when using this retrydial app, how can i abort it when the users is doing a decline?
If 6001 pushes the decline button, i want it to stop calling again, is that possible?

exten => 6001,1,NoOp() 
 same => n,RetryDial(,3,5,PJSIP/6001,60)
 same => n,Hangup()

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.