Configs as below:
voicemail.conf:
[code]; Voicemail Configuration
[general]
format=wav49|wav
serveremail=asterisk@domain.com
attach=yes
skipms=3000
maxsilence=10
silencethreshold=128
maxlogins=3
emaildateformat=%A, %B %d, %Y at %r
pagerdateformat=%A, %B %d, %Y at %r
sendvoicemail=yes ; Allow the user to compose and send a voicemail while inside
operator=yes
[zonemessages]
eastern=America/New_York|‘vm-received’ Q ‘digits/at’ IMp
central=America/Chicago|‘vm-received’ Q ‘digits/at’ IMp
central24=America/Chicago|‘vm-received’ q ‘digits/at’ H N 'hours’
military=Zulu|‘vm-received’ q ‘digits/at’ H N ‘hours’ 'phonetic/z_p’
european=Europe/Copenhagen|‘vm-received’ a d b ‘digits/at’ HM
london=Europe/London|‘vm-received’ a d b ‘digits/at’ HM
[default]
101 => 1234,Phil,me@domain.com[/code]
extensions.conf:
[code][globals]
OFFICE=SIP/0004F24F5244
SEA=SIP/0004F2ACB23C
[LocalSets]
exten => 101,1,Dial(${OFFICE},10)
exten => 102,1,Dial(${SEA},10)
same => n,PlayBack(hello-world)
same => n,VoiceMail(101@default,s)
same => n,PlayBack(vm-goodbye)
include => services
[inbound]
exten => _.,1,Dial(${OFFICE},5)
same => n,VoiceMail(101@default,u)
[services]
exten => *98,1,VoiceMailMain()[/code]
When I dial either the inbound extension from outside or the 102 extension from inside, Asterisk hangs up when it reaches the VoiceMail() call. In the case of 102, it plays hello-world and then hangs up.
Looking at a pcap, Asterisk sends no RTP before hanging up but it does receive a short RTP stream.
Any clues as to why this is not working?