I would like to tell an extension to ring a a user for 30secs then if there is no answer goto the user’s mailbox.
So far I’ve figured out how to make it dial the extension as shown below
exten => 777777,1,Dial(SIP/1000)
but essentially what I would like to do is: (please correct me if I’m wrong)
exten => 777777,n,if(Dial(SIP/1000)=noanswer)
exten => 777777,n,go to USER 1000 voice mail
I don’t know how to put this into the correct code for asterisk to respond accordingly.
Thank you for any help I receive.