VoiceMail Configuration on Asterisk

Hi Team,

I need to configure the voicemail. This is the current configuration.
The thing is that EXT-300 is the IP Phone while EXT-368 is the Analog phone connected to grandstream gateway. But this is the below configuration on my Asterisk Server.
Now, I want is that any call goes to 22334455, if no one answers it will go to voicemail.
Can i do this ? if yes, then how. Please advice me.

[inbound]

exten = 22334455,1,Dial(SIP/SIP-300&SIP/SIP-368,45,twk)
exten = 22334455,n,Hangup()

exten = 0222334455,1,Dial(SIP/SIP-300&SIP/SIP-368,45,twk)
exten = 0222334455,n,Hangup()

[internal]

exten = 300,1,Answer()
exten = 300,n,Set(CALLERID(all)=${CALLERID(name):-3})
exten = 300,n,Dial(SIP/SIP-300,45,tTkK)
exten = 300,n,Congestion(4)
exten = 300,n,Hangup()
exten = 300,hint,SIP/SIP-300

exten = 368,1,Answer()
exten = 368,n,Dial(SIP/SIP-368,45,tTkK)
exten = 368,n,Congestion(4)
exten = 368,n,Hangup()
exten = 368,hint,SIP/SIP-368

There are several examples of doing this in the documentation (extensions.conf.sample). Calling multiple lines in parallel and the use of an ATA for one of them really don’t make any difference.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.