https://bugs.koozali.org/show_bug.cgi?id=13606

            Bug ID: 13606
           Summary: FreePBX 17/Asterisk 20 Voicemail broken
    Classification: Contribs
           Product: SME Contribs
           Version: 11.0
          Hardware: ---
                OS: ---
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: smeserver-freepbx
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]
  Target Milestone: ---

Realised that we had no voicemail and could not connect to the mailbox.

in https://bugs.koozali.org/show_bug.cgi?id=12254

It was fixed by forcing asterisk-voicemail-plain but that package no longer
appears to exist.


asterisk-voicemail-20.15.2-1.el8.x86_64
asterisk-voicemail-imap-20.15.2-1.el8.x86_64
asterisk-voicemail-odbc-20.15.2-1.el8.x86_64

These appear to be dependencies of smeserver-freepbx so not easily able to
remove

asterisk-voicemail-odbc
asterisk-voicemail-imap


module show like voice

Module                         Description                              Use
Count  Status      Support Level
app_voicemail.so               Comedian Mail (Voicemail System)         0      
   Running              core
app_voicemail_imap.so          Comedian Mail (Voicemail System) with IM 0      
   Not Running          core
app_voicemail_odbc.so          Comedian Mail (Voicemail System) with OD 0      
   Not Running          core
3 modules loaded

The imap/odbc ones are blacklisted in modules.conf

noload = app_voicemail_odbcstorage.so
noload = app_voicemail_plain.so
noload = res_pjsip_send_to_voicemail.so


Wen we dial the mail box with *98 we can see this error:

[2026-06-15 18:19:32] WARNING[186727][C-00000008]: pbx.c:2943
pbx_extension_helper: No application 'VoiceMailMain' for extension
(from-internal, dvm9999, 7)

Old links

https://community.freepbx.org/t/voicemail-issues/71692
https://www.mail-archive.com/[email protected]/msg286131.html
https://community.freepbx.org/t/voicemail-not-working-missing/78463/5

asterisk*CLI> core show application VoiceMailMain
Your application(s) is (are) not registered
Command 'core show application VoiceMailMain' failed.

asterisk*CLI> module reload app_voicemail.so


Module 'app_voicemail.so' reloaded successfully.
    -- Reloading module 'app_voicemail.so' (Comedian Mail (Voicemail System))

asterisk*CLI> core show application VoiceMailMain
Your application(s) is (are) not registered
Command 'core show application VoiceMailMain' failed.

core show applications
    -= 184 Applications Registered =-

But not Voicemail


https://docs.asterisk.org/Asterisk_20_Documentation/API_Documentation/Dialplan_Applications/VoiceMailMain


Same on both the old setup and new:

extconfig.conf:90:;voicemail => odbc,asterisk


extensions_additional.conf:1336:exten => *98,n,Set(CONNECTEDLINE(name,i)=Dial
Voicemail)
extensions_additional.conf:1349:exten =>
*98,n,VoiceMailMain(${MAILBOX}@${VMCONTEXT})

Running out of ideas. Noted a number of these in the logs. (all extensions now
using pjsip on 5060 with SIP moved to 5061)

[2026-06-15 19:07:49] WARNING[33572]: pbx_config.c:1885 pbx_load_config: The
use of '_.' for an extension is strongly discouraged and can have unexpected
behavior.  Please use '_X.' instead at line 1324 of
/etc/asterisk/extensions_additional.conf

  1314  [from-did-direct-ivr]
  1315  include => from-did-direct-ivr-custom
  1316  exten => *9999,1,Set(CONNECTEDLINE(name-charset,i)=utf8)
  1317  exten => *9999,n,Set(CONNECTEDLINE(name,i)=9999 Voicemail)
  1318  exten => *9999,n,Set(CONNECTEDLINE(num,i)=9999)
  1319  exten => *9999,n,Gosub(macro-blkvm-clr,s,1())
  1320  exten => *9999,n,Set(__NODEST=)
  1321  exten => *9999,n,Gosub(macro-vm,s,1(9999,DIRECTDIAL,${IVR_RETVM}))
  1322  exten => *9999,n,GotoIf($["${IVR_RETVM}" = "RETURN" & "${IVR_CONTEXT}"
!= ""]?ext-local,vmret,playret)
  1323  
  1324  exten => _.,1,GotoIf($[${DIALPLAN_EXISTS(from-did-direct,${EXTEN},1)} =
0]?i,1)
  1325  exten => _.,n,Gosub(macro-blkvm-clr,s,1())
  1326  exten => _.,n,Set(__NODEST=)
  1327  exten => _.,n,Goto(from-did-direct,${EXTEN},1)


[2026-06-15 19:07:49] WARNING[33572]: pbx_config.c:1885 pbx_load_config: The
use of '_.' for an extension is strongly discouraged and can have unexpected
behavior.  Please use '_X.' instead at line 127 of extensions.conf


   126  [from-pstn-toheader]
   127  exten =>  _.,1,NoOp(Attempting to extract DID from SIP To header)
   128  exten =>  _.,n,gotoif($["${CHANNEL(channeltype)}"="SIP"]?SIP)
   129  exten =>  _.,n,gotoif($["${CHANNEL(channeltype)}"="PJSIP"]?PJSIP)
   130  exten =>  _.,n,NoOp(Unable to determine SIP channel type)
   131  exten =>  _.,n,goto(from-pstn,${EXTEN},1))
   132  exten => 
_.,n(SIP),Goto(from-pstn,${CUT(CUT(SIP_HEADER(To),@,1),:,2)},1)
   133  exten => 
_.,n(PJSIP),Goto(from-pstn,${CUT(CUT(PJSIP_HEADER(read,To),@,1),:,2)},1)


Tried a force re-install of the Voicemail app in FreePBX. No good.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to