Comedian Mail Hangs up after Mailbox number entered

Hi, I have a fresh install of FreePbx/Asterisk on a Raspberry Pi. I am able to connect several phones via Cisco SPA adapter to it and call between them. However, whenever I try to access voicemail via *98, I get the “Comedian Mail” prompt, then I type in my mailbox number, and it immediately hangs up. I’ve tried looking around at a few other reports of similar issues but to no avail.

Here are some relevant details:

RasPBX*CLI> module show like voicemail
Module Description Use Count Status Support Level
app_voicemail.so Comedian Mail (Voicemail System) 0 Running core
res_pjsip_send_to_voicemail.so PJSIP REFER Send to Voicemail Support 0 Running core
2 modules loaded

[2025-11-22 15:46:52.139] VERBOSE[11196] netsock2.c: Using SIP RTP Audio TOS bits 184
[2025-11-22 15:46:52.139] VERBOSE[11196] netsock2.c: Using SIP RTP Audio CoS mark 5
[2025-11-22 15:46:52.142] VERBOSE[11202][C-00000006] pbx.c: Executing [*98@from-internal:1] Gosub(“PJSIP/6783692-00000005”, “macro-user-callerid,s,1()”) in new stack
[2025-11-22 15:46:52.142] VERBOSE[11202][C-00000006] pbx.c: Executing [s@macro-user-callerid:1] Set(“PJSIP/6783692-00000005”, “TOUCH_MONITOR=1763844412.10”) in new stack
[2025-11-22 15:46:52.143] VERBOSE[11202][C-00000006] pbx.c: Executing [s@macro-user-callerid:2] Set(“PJSIP/6783692-00000005”, “CHANCONTEXT=”) in new stack
[2025-11-22 15:46:52.144] VERBOSE[11202][C-00000006] pbx.c: Executing [s@macro-user-callerid:3] Set(“PJSIP/6783692-00000005”, “CHANCONTEXT=”) in new stack
[2025-11-22 15:46:52.145] VERBOSE[11202][C-00000006] pbx.c: Executing [s@macro-user-callerid:4] Set(“PJSIP/6783692-00000005”, “CHANEXTENCONTEXT=6783692-00000005”) in new stack
[2025-11-22 15:46:52.145] VERBOSE[11202][C-00000006] pbx.c: Executing [s@macro-user-callerid:5] Set(“PJSIP/6783692-00000005”, “CHANEXTEN=6783692-00000005”) in new stack
[2025-11-22 15:46:52.146] VERBOSE[11202][C-00000006] pbx.c: Executing [s@macro-user-callerid:6] Set(“PJSIP/6783692-00000005”, “CALLERID(number)=6783692”) in new stack
[2025-11-22 15:46:52.147] VERBOSE[11202][C-00000006] pbx.c: Executing [s@macro-user-callerid:7] Set(“PJSIP/6783692-00000005”, “AMPUSER=6783692”) in new stack
[2025-11-22 15:46:52.148] VERBOSE[11202][C-00000006] pbx.c: Executing [s@macro-user-callerid:8] Set(“PJSIP/6783692-00000005”, “HOTDESCKCHAN=6783692-00000005”) in new stack
[2025-11-22 15:46:52.148] VERBOSE[11202][C-00000006] pbx.c: Executing [s@macro-user-callerid:9] Set(“PJSIP/6783692-00000005”, “HOTDESKEXTEN=6783692”) in new stack
[2025-11-22 15:46:52.148] VERBOSE[11202][C-00000006] pbx.c: Executing [s@macro-user-callerid:10] Set(“PJSIP/6783692-00000005”, “HOTDESKCALL=0”) in new stack
[2025-11-22 15:46:52.149] VERBOSE[11202][C-00000006] pbx.c: Executing [s@macro-user-callerid:11] ExecIf(“PJSIP/6783692-00000005”, “0?Set(HOTDESKCALL=1)”) in new stack
[2025-11-22 15:46:52.150] VERBOSE[11202][C-00000006] pbx.c: Executing [s@macro-user-callerid:12] ExecIf(“PJSIP/6783692-00000005”, “0?Set(CALLERID(name)=)”) in new stack
[2025-11-22 15:46:52.150] VERBOSE[11202][C-00000006] pbx.c: Executing [s@macro-user-callerid:13] GotoIf(“PJSIP/6783692-00000005”, “0?report”) in new stack
[2025-11-22 15:46:52.151] VERBOSE[11202][C-00000006] pbx.c: Executing [s@macro-user-callerid:14] ExecIf(“PJSIP/6783692-00000005”, “1?Set(REALCALLERIDNUM=6783692)”) in new stack
[2025-11-22 15:46:52.152] VERBOSE[11202][C-00000006] pbx.c: Executing [s@macro-user-callerid:15] Set(“PJSIP/6783692-00000005”, “AMPUSER=”) in new stack
[2025-11-22 15:46:52.153] VERBOSE[11202][C-00000006] pbx.c: Executing [s@macro-user-callerid:16] GotoIf(“PJSIP/6783692-00000005”, “0?limit”) in new stack
[2025-11-22 15:46:52.154] VERBOSE[11202][C-00000006] pbx.c: Executing [s@macro-user-callerid:17] Set(“PJSIP/6783692-00000005”, “AMPUSERCIDNAME=”) in new stack
[2025-11-22 15:46:52.155] VERBOSE[11202][C-00000006] pbx.c: Executing [s@macro-user-callerid:18] ExecIf(“PJSIP/6783692-00000005”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
[2025-11-22 15:46:52.155] VERBOSE[11202][C-00000006] pbx.c: Executing [s@macro-user-callerid:19] GotoIf(“PJSIP/6783692-00000005”, “1?report”) in new stack
[2025-11-22 15:46:52.155] VERBOSE[11202][C-00000006] pbx_builtins.c: Goto (macro-user-callerid,s,27)
[2025-11-22 15:46:52.155] VERBOSE[11202][C-00000006] pbx.c: Executing [s@macro-user-callerid:27] NoOp(“PJSIP/6783692-00000005”, “Macro depricated!! To keep the same line numbers”) in new stack
[2025-11-22 15:46:52.155] VERBOSE[11202][C-00000006] pbx.c: Executing [s@macro-user-callerid:28] NoOp(“PJSIP/6783692-00000005”, “Macro depricated !! To keep the same line numbers”) in new stack
[2025-11-22 15:46:52.156] VERBOSE[11202][C-00000006] pbx.c: Executing [s@macro-user-callerid:29] GotoIf(“PJSIP/6783692-00000005”, “0?continue”) in new stack
[2025-11-22 15:46:52.156] VERBOSE[11202][C-00000006] pbx.c: Executing [s@macro-user-callerid:30] Set(“PJSIP/6783692-00000005”, “__TTL=64”) in new stack
[2025-11-22 15:46:52.156] VERBOSE[11202][C-00000006] pbx.c: Executing [s@macro-user-callerid:31] GotoIf(“PJSIP/6783692-00000005”, “1?continue”) in new stack
[2025-11-22 15:46:52.156] VERBOSE[11202][C-00000006] pbx_builtins.c: Goto (macro-user-callerid,s,47)
[2025-11-22 15:46:52.157] VERBOSE[11202][C-00000006] pbx.c: Executing [s@macro-user-callerid:47] Set(“PJSIP/6783692-00000005”, “CALLERID(number)=6783692”) in new stack
[2025-11-22 15:46:52.157] VERBOSE[11202][C-00000006] pbx.c: Executing [s@macro-user-callerid:48] Set(“PJSIP/6783692-00000005”, “CALLERID(name)=Fox2”) in new stack
[2025-11-22 15:46:52.157] VERBOSE[11202][C-00000006] pbx.c: Executing [s@macro-user-callerid:49] GotoIf(“PJSIP/6783692-00000005”, “0?cnum”) in new stack
[2025-11-22 15:46:52.157] VERBOSE[11202][C-00000006] pbx.c: Executing [s@macro-user-callerid:50] Set(“PJSIP/6783692-00000005”, “CDR(cnam)=Fox2”) in new stack
[2025-11-22 15:46:52.159] VERBOSE[11202][C-00000006] pbx.c: Executing [s@macro-user-callerid:51] Set(“PJSIP/6783692-00000005”, “CDR(cnum)=6783692”) in new stack
[2025-11-22 15:46:52.160] VERBOSE[11202][C-00000006] pbx.c: Executing [s@macro-user-callerid:52] Return(“PJSIP/6783692-00000005”, “”) in new stack
[2025-11-22 15:46:52.161] VERBOSE[11202][C-00000006] pbx.c: Executing [*98@from-internal:2] Set(“PJSIP/6783692-00000005”, “CONNECTEDLINE(name-charset,i)=utf8”) in new stack
[2025-11-22 15:46:52.162] VERBOSE[11202][C-00000006] pbx.c: Executing [*98@from-internal:3] Set(“PJSIP/6783692-00000005”, “CONNECTEDLINE(name,i)=Dial Voicemail”) in new stack
[2025-11-22 15:46:52.164] VERBOSE[11202][C-00000006] pbx.c: Executing [*98@from-internal:4] Set(“PJSIP/6783692-00000005”, “CONNECTEDLINE(num,i)=*98”) in new stack
[2025-11-22 15:46:52.165] VERBOSE[11202][C-00000006] pbx.c: Executing [*98@from-internal:5] Answer(“PJSIP/6783692-00000005”, “”) in new stack
[2025-11-22 15:46:52.232] VERBOSE[11202][C-00000006] res_rtp_asterisk.c: 0x16d7a88 – Strict RTP switching to RTP target address 192.168.0.211:16402 as source
[2025-11-22 15:46:52.233] VERBOSE[11202][C-00000006] pbx.c: Executing [*98@from-internal:6] Wait(“PJSIP/6783692-00000005”, “1”) in new stack
[2025-11-22 15:46:53.234] VERBOSE[11202][C-00000006] pbx.c: Executing [*98@from-internal:7] NoOp(“PJSIP/6783692-00000005”, “app-dialvm: Asking for mailbox”) in new stack
[2025-11-22 15:46:53.235] VERBOSE[11202][C-00000006] pbx.c: Executing [*98@from-internal:8] Read(“PJSIP/6783692-00000005”, “MAILBOX,vm-login,3,2”) in new stack
[2025-11-22 15:46:53.238] VERBOSE[11202][C-00000006] file.c: <PJSIP/6783692-00000005> Playing ‘vm-login.ulaw’ (language ‘en’)
[2025-11-22 15:46:57.067] DTMF[11202][C-00000006] channel.c: DTMF begin ‘6’ received on PJSIP/6783692-00000005
[2025-11-22 15:46:57.068] DTMF[11202][C-00000006] channel.c: DTMF begin ignored ‘6’ on PJSIP/6783692-00000005
[2025-11-22 15:46:57.123] DTMF[11202][C-00000006] channel.c: DTMF end ‘6’ received on PJSIP/6783692-00000005, duration 110 ms
[2025-11-22 15:46:57.123] DTMF[11202][C-00000006] channel.c: DTMF end passthrough ‘6’ on PJSIP/6783692-00000005
[2025-11-22 15:46:57.183] VERBOSE[11202][C-00000006] res_rtp_asterisk.c: 0x16d7a88 – Strict RTP learning complete - Locking on source address 192.168.0.211:16402
[2025-11-22 15:46:57.476] DTMF[11202][C-00000006] channel.c: DTMF begin ‘7’ received on PJSIP/6783692-00000005
[2025-11-22 15:46:57.476] DTMF[11202][C-00000006] channel.c: DTMF begin ignored ‘7’ on PJSIP/6783692-00000005
[2025-11-22 15:46:57.543] DTMF[11202][C-00000006] channel.c: DTMF end ‘7’ received on PJSIP/6783692-00000005, duration 110 ms
[2025-11-22 15:46:57.543] DTMF[11202][C-00000006] channel.c: DTMF end passthrough ‘7’ on PJSIP/6783692-00000005
[2025-11-22 15:46:57.743] DTMF[11202][C-00000006] channel.c: DTMF begin ‘8’ received on PJSIP/6783692-00000005
[2025-11-22 15:46:57.743] DTMF[11202][C-00000006] channel.c: DTMF begin ignored ‘8’ on PJSIP/6783692-00000005
[2025-11-22 15:46:57.826] DTMF[11202][C-00000006] channel.c: DTMF end ‘8’ received on PJSIP/6783692-00000005, duration 130 ms
[2025-11-22 15:46:57.826] DTMF[11202][C-00000006] channel.c: DTMF end passthrough ‘8’ on PJSIP/6783692-00000005
[2025-11-22 15:46:58.164] DTMF[11202][C-00000006] channel.c: DTMF begin ‘3’ received on PJSIP/6783692-00000005
[2025-11-22 15:46:58.164] DTMF[11202][C-00000006] channel.c: DTMF begin ignored ‘3’ on PJSIP/6783692-00000005
[2025-11-22 15:46:58.234] DTMF[11202][C-00000006] channel.c: DTMF end ‘3’ received on PJSIP/6783692-00000005, duration 110 ms
[2025-11-22 15:46:58.234] DTMF[11202][C-00000006] channel.c: DTMF end passthrough ‘3’ on PJSIP/6783692-00000005
[2025-11-22 15:46:58.643] DTMF[11202][C-00000006] channel.c: DTMF begin ‘6’ received on PJSIP/6783692-00000005
[2025-11-22 15:46:58.643] DTMF[11202][C-00000006] channel.c: DTMF begin ignored ‘6’ on PJSIP/6783692-00000005
[2025-11-22 15:46:58.713] DTMF[11202][C-00000006] channel.c: DTMF end ‘6’ received on PJSIP/6783692-00000005, duration 110 ms
[2025-11-22 15:46:58.713] DTMF[11202][C-00000006] channel.c: DTMF end passthrough ‘6’ on PJSIP/6783692-00000005
[2025-11-22 15:46:58.972] DTMF[11202][C-00000006] channel.c: DTMF begin ‘9’ received on PJSIP/6783692-00000005
[2025-11-22 15:46:58.972] DTMF[11202][C-00000006] channel.c: DTMF begin ignored ‘9’ on PJSIP/6783692-00000005
[2025-11-22 15:46:59.033] DTMF[11202][C-00000006] channel.c: DTMF end ‘9’ received on PJSIP/6783692-00000005, duration 110 ms
[2025-11-22 15:46:59.033] DTMF[11202][C-00000006] channel.c: DTMF end passthrough ‘9’ on PJSIP/6783692-00000005
[2025-11-22 15:46:59.312] DTMF[11202][C-00000006] channel.c: DTMF begin ‘2’ received on PJSIP/6783692-00000005
[2025-11-22 15:46:59.312] DTMF[11202][C-00000006] channel.c: DTMF begin ignored ‘2’ on PJSIP/6783692-00000005
[2025-11-22 15:46:59.383] DTMF[11202][C-00000006] channel.c: DTMF end ‘2’ received on PJSIP/6783692-00000005, duration 110 ms
[2025-11-22 15:46:59.383] DTMF[11202][C-00000006] channel.c: DTMF end passthrough ‘2’ on PJSIP/6783692-00000005
[2025-11-22 15:47:01.384] VERBOSE[11202][C-00000006] app_read.c: User entered ‘6783692’
[2025-11-22 15:47:01.384] VERBOSE[11202][C-00000006] pbx.c: Executing [*98@from-internal:9] GotoIf(“PJSIP/6783692-00000005”, “0?hangup”) in new stack
[2025-11-22 15:47:01.386] VERBOSE[11202][C-00000006] pbx.c: Executing [*98@from-internal:10] NoOp(“PJSIP/6783692-00000005”, “app-dialvm: Got Mailbox 6783692”) in new stack
[2025-11-22 15:47:01.386] VERBOSE[11202][C-00000006] pbx.c: Executing [*98@from-internal:11] Gosub(“PJSIP/6783692-00000005”, “macro-get-vmcontext,s,1(6783692)”) in new stack
[2025-11-22 15:47:01.388] VERBOSE[11202][C-00000006] pbx.c: Executing [s@macro-get-vmcontext:1] Set(“PJSIP/6783692-00000005”, “VMCONTEXT=”) in new stack
[2025-11-22 15:47:01.388] VERBOSE[11202][C-00000006] pbx.c: Executing [s@macro-get-vmcontext:2] GotoIf(“PJSIP/6783692-00000005”, “1?200:300”) in new stack
[2025-11-22 15:47:01.388] VERBOSE[11202][C-00000006] pbx_builtins.c: Goto (macro-get-vmcontext,s,200)
[2025-11-22 15:47:01.388] VERBOSE[11202][C-00000006] pbx.c: Executing [s@macro-get-vmcontext:200] Set(“PJSIP/6783692-00000005”, “VMCONTEXT=default”) in new stack
[2025-11-22 15:47:01.389] VERBOSE[11202][C-00000006] pbx.c: Auto fallthrough, channel ‘PJSIP/6783692-00000005’ status is ‘UNKNOWN’

RasPBX*CLI> voicemail show users
Context Mbox User Zone NewMsg
default 6787252 Ostraka 0
default 6787467 Shoppe 0
default 6782233 Cafe 0
default 6784225 Hacker High School 0
default 6782621 Bed and Breakfast 0
default 6783691 Miriam 0
default 6783643 Enid 0
default 6785395 Harold 0
default 6788008 Boob 0
default 6787763 Smelkin 0
default 6783323 Edwin 0
default 6785924 Elias 0
default 6782309 Jamie 0
default 6784083 Bush 0
default 6786369 Olivia 0
default 6787664 Victoria 0
default 6783264 Lucille 0
default 6780000 Michael 0
default 6785483 Litehouse 0
default 6787424 Ferry Payphone 0
default 6782267 Cally 0
default 6783692 Fox2 Fox2! 0
22 voicemail users configured.

Apologies if I’m missing any other info that might be helpful, thanks in advance for any suggestions!

Ah, this worked after I made a trivial change in the Dialplan section of Voicemail settings for a user extension and hit submit. I guess at some point, some of the Dialplan settings didn’t make it into extensions_additional.confg and making a trivial change added them.