I am changing my dial plan from numbered priority:
exten=>1222,1,Dial(SIP/1222,20,tT)
exten=>1222,2,VoiceMail(u1222@default)
exten=>1222,3,Hangup()
exten=>1222,102,VoiceMail(b1222@default)
exten=>1222,103,Hangup()
to the n-priority:
exten=>1222,1,Dial(SIP/1222,20,tT)
exten=>1222,n,VoiceMail(u1222@default)
exten=>1222,n,Hangup()
exten=>1222,n+101,VoiceMail(b1222@default)
exten=>1222,n,Hangup()
I am not sure about the last to lines in the above example
In the book AsteriskTFOT is writtin on page 87:
âDial() will go to priority n+101, if it exist (where n is the priority where the Dial() application was called).â
Q1: What is the value of n in the line exten=>1222,1,Dial(SIP/1222,20,tT) ?
n=1 or n=0 ?
Q2: Should the line exten=>1222,102,VoiceMail(b1222@default) be converted to
exten=>1222,n+101,VoiceMail(b1222@default) or exten=>1222,n+102,VoiceMail(b1222@default)
Q3: Should the last line be : exten=>1222,n,Hangup() or exten=>1222,n+102,Hangup() or exten=>1222,n+103,Hangup() ?
Thanks
Henk