If you did multiple nested if/then statement for different durations of the press and hold and resend commands it might work, timing might be a little tough but could be a possibitliy. ie. If .5sec command , else if 1 sec command, else if 1.5 command
You have reached my voicemail. I will be out of the office until you stop calling.