Despite being mentioned in the call file, the fax calls are not retried. Maybe some of them are retried because I sometimes see callfiles in the spool directory where Asterisk appended some timestamp, but until now I did not see a retry (admittetly, I did not overlook all of the calls). I should see the retries by a syslog entry of a program that is executed at the end of a call, but there are none.
This is a sample of a callfile:
Channel:Local/faxout@fax_caller MaxRetries:9 WaitTime:45 Context:fax_caller Extension:faxsend Priority:1 Set:ChannelPrefix=PJSIP/sip_myprovider/sip Set:ChannelPostfix=myproviderdomain:5084 Set:TIFF_FILE=loremipsum.tif Set:UniqId=someuniqueid Set:TAGLINE=blabla Set:OUTBOXID=99999999999 Set:SenderPhoneNr=+43999999999 Set:ReceiverPhoneNr=+438888888888
As of my understanding, for every retry the entire dialplan is rerun with all variables reset. Is this assumption true? Otherwise my dialplan may be completely wrong.
Edit: I found a call that was correctly retried. Its single calls were aborted because the remote end did not respond:
Call failed to go through, reason (3) Remote end Ringing
Edit 2: I found another example where the call was only tried twice instead of 10 times. Could it be that the retrial stops after some reason?