Enable Busy Voicemail box on version 1.4

Hi everyone.

I am wondering how to enable the ‘busy’ voicemail box on an extension.
I am running Asterisk 1.4 (yes its old, getting replaced but still have to use it for a while) They have normal voicemail if they don’t pickup, but if they are on the phone it just rings and doesn’t go to anything. If there’s a way to do this in the GUI that would be great.

Thank you


Use the ${DIALSTATUS} variable, example :

exten =>_ZXX,1,Dial(${EXTEN},10)
same => n,GotoIf($["${DIALSTATUS}" = “BUSY”]?busy:unavail)
same => n(unavail),VoiceMail(101@default,u)
same => n,Hangup()
same => n(busy),VoiceMail(101@default,b)
same => n,Hangup()

Asterisk channel variable DIALSTATUS

Contains a text string signifying result of the last dial attempt:

ANSWER: Call is answered. A successful dial. The caller reached the callee.
BUSY: Busy signal. The dial command reached its number but the number is busy.
NOANSWER: No answer. The dial command reached its number, the number rang for too long, then the dial timed out.
CANCEL: Call is cancelled. The dial command reached its number but the caller hung up before the callee picked up.
CONGESTION: Congestion. This status is usually a sign that the dialled number is not recognised.
CHANUNAVAIL: Channel unavailable. On SIP, peer may not be registered.
DONTCALL: Privacy mode, callee rejected the call
TORTURE: Privacy mode, callee chose to send caller to torture menu
INVALIDARGS: Error parsing Dial command arguments (added for Asterisk 1.4.1, SVN r53135-53136)