hello, I’m trying to use the voicemail feature.
My problem is in extensions.conf, I have:

exten => _1XX,1,Dial(Sip/${EXTEN:0},20,r)
exten => _1XX,2,hangup()

I would like that when the phone is busy or the time (20) finish, the call enters in voicemail, the extension would be something like that

exten => _1XX,priority,Voicemail(${EXTEN:0})

I have try using the priority 103 but it didn’t work in asterisk 1.4

Please help

Thanks in advance

Try with ChanisAvail() fucntion.

Refer the following URL :

voip-info.org/wiki/index.php … hanIsAvail

try this

exten => _1XX,1,Dial(Sip/${EXTEN:0},20,r)
exten => _1XX,2,Goto(-${DIALSTATUS})
exten => s-BUSY,1,Voicemail(${ARG1},b)
exten => s-NOANSWER,1,Voicemail(${ARG1},u)

also u can use standard macro same as above for ur diffrent extensions .