In my asterisk 14.0.2 dialplan I am using this proc to dial out to external numbers but it dials the number 4 times before giving up and going to voicemail. I can’t find a config file or an example of how to set maxretries to 0 in the dialplan. Is it possible?
[subVoicemail]
exten => start,1,Log(NOTICE, Dialing out from ${CALLERID(all)} to ${ARG1} through Twilio)
same => n,Dial(PJSIP/${ARG2}@twilio0)
same => n,VoiceMail(${ARG3}@default,${IF($[${DIALSTATUS} = BUSY]?b:u)})
same => n,Hangup()