How can I leave voice-mail without dialing into my voice-mail? the way it work for me now is, “A” call “B”, “B” doesn’t answer, Asterisk voice-mail server dial into 'A" and then on “A” enter 3 then 5 and prompt for extension and after i enter the extension of “B”, I was able to leave message.
Is there a way just directly leave voice message for B?
Thank you very much for help
SIP.CONF
[general]
;type=friend
port=5061
bindaddr=10.22.60.2
context=voice-mail ; Default context for incoming calls
dtmfmode=inband ; dtmf mode must be inband as we can only use G.711u
disallow=gsm ; disallow gsm as we don’t support on Metaswitch
disallow=alaw ; disallow as we don’t support on USA Metaswitch system
allow=ulaw ; only allow G.711u as no licence for g.729
[7632679190]
contex=voice-mail
canreinvite=no
type=friend
username=7632679190 ; username for TO header in NOTIFY request
host=10.22.60.20
port=5060 ; port Metaswitch is listening on
mailbox=7632679190@default ; mailbox number @ context in voicemail.conf, needed for MWI
[7632679092]
contex=voice-mail
canreinvite=no
type=friend
username=7632679092 ; username for TO header in NOTIFY request
host=198.174.216.25
port=5060 ; port Metaswitch is listening on
mailbox=7632679092@default ; mailbox number @ context in voicemail.conf, needed for MWI
extension.conf
[voice-mail]
include => vmail
include => macro-voicemail
;Main Contex
;Voicemail Server number configured on MetaSwitch = 7632679998
exten => 7632679998,1,Goto(s,1)
[vmail]
exten => s,1,GotoIf(${RDNIS}?6:2) ; is this a forwarded call (->6) or a direct call (->2)
exten => s,2,Wait(1) ; wait so front of vm message is not clipped
exten => s,3,VoicemailMain(s${CALLERID(num)}) ; Goto subscriber Voicemail box, no password needed
exten => s,4,Wait(1) ; disconnect cleanly
exten => s,5,Hangup ; goodbye
exten => s,6,Answer ; pickup line
exten => s,7,Wait(1) ; wait so front of vm message is not clipped
exten => s,8,Voicemail(u${RDNIS})
exten => s,9,Wait(1)
exten => s,10,Hangup
exten => a,1,VoicemailMain ; goto Main vm menu
exten => a,2,Wait(1) ; disconnect cleanly
exten => a,3,Hangup ; goodbye
exten => t,1,Playback(vm-goodbye) ; play goodbye vm message
exten => t,2,Wait(1) ; disconnect cleanly
exten => t,3,Hangup ; goodbye
[macro-voicemail]
exten => s,1,Dial(${ARG2}|15)
exten => s,n,Voicemail(u${ARG1})
exten => s,n,Voicemail(b${ARG1})
exten => _NXXNXXXXXX,1,Macro(voicemail| ${EXTEN} | SIP/${EXTEN})
voicemail.conf
7632679190 => 1234,7632679190,7632679190@10.22.1.19 ;voicemailbox = linenumber, password = password
7632679092 => 1234,7632679092,7632679092@10.22.1.19 ;voicemailbox = linenumber, password = password