Hey all,
Apologies if this isn’t the right board, I’ve researched this the last few days and none of the solutions I find are working.
When calling *97 to go to Voicemail it dials and then hands up, I’ve included the logs below, I assume that the follow line is the issue
[2017-10-25 23:07:44] WARNING[31748][C-00000048] pbx.c: No application ‘VoiceMailMain’ for extension (from-internal, *97, 10)
I’ve taken a look at other threads and rebuilt asterisk a couple of times ensuring VM is built, I know I’m missing something simple hoping someone can point it out for me
Thanks in advance!
[2017-10-25 23:07:42] VERBOSE[31748][C-00000048] pbx.c: Executing [*97@from-internal:1] Macro("PJSIP/901-00000039", "user-callerid,") in new stack
[2017-10-25 23:07:42] VERBOSE[31748][C-00000048] pbx.c: Executing [s@macro-user-callerid:1] Set("PJSIP/901-00000039", "TOUCH_MONITOR=1508926062.232") in new stack
[2017-10-25 23:07:42] VERBOSE[31748][C-00000048] pbx.c: Executing [s@macro-user-callerid:2] Set("PJSIP/901-00000039", "AMPUSER=901") in new stack
[2017-10-25 23:07:42] VERBOSE[31748][C-00000048] pbx.c: Executing [s@macro-user-callerid:3] GotoIf("PJSIP/901-00000039", "0?report") in new stack
[2017-10-25 23:07:42] VERBOSE[31748][C-00000048] pbx.c: Executing [s@macro-user-callerid:4] ExecIf("PJSIP/901-00000039", "1?Set(__REALCALLERIDNUM=901)") in new stack
[2017-10-25 23:07:42] VERBOSE[31748][C-00000048] pbx.c: Executing [s@macro-user-callerid:5] Set("PJSIP/901-00000039", "AMPUSER=901") in new stack
[2017-10-25 23:07:42] VERBOSE[31748][C-00000048] pbx.c: Executing [s@macro-user-callerid:6] GotoIf("PJSIP/901-00000039", "0?limit") in new stack
[2017-10-25 23:07:42] VERBOSE[31748][C-00000048] pbx.c: Executing [s@macro-user-callerid:7] Set("PJSIP/901-00000039", "AMPUSERCIDNAME=Christopher Downs") in new stack
[2017-10-25 23:07:42] VERBOSE[31748][C-00000048] pbx.c: Executing [s@macro-user-callerid:8] GotoIf("PJSIP/901-00000039", "0?report") in new stack
[2017-10-25 23:07:42] VERBOSE[31748][C-00000048] pbx.c: Executing [s@macro-user-callerid:9] Set("PJSIP/901-00000039", "AMPUSERCID=901") in new stack
[2017-10-25 23:07:42] VERBOSE[31748][C-00000048] pbx.c: Executing [s@macro-user-callerid:10] Set("PJSIP/901-00000039", "__DIAL_OPTIONS=HhTtr") in new stack
[2017-10-25 23:07:42] VERBOSE[31748][C-00000048] pbx.c: Executing [s@macro-user-callerid:11] Set("PJSIP/901-00000039", "CALLERID(all)="Christopher Downs" <901>") in new stack
[2017-10-25 23:07:42] VERBOSE[31748][C-00000048] pbx.c: Executing [s@macro-user-callerid:12] GotoIf("PJSIP/901-00000039", "0?limit") in new stack
[2017-10-25 23:07:42] VERBOSE[31748][C-00000048] pbx.c: Executing [s@macro-user-callerid:13] ExecIf("PJSIP/901-00000039", "0?Set(GROUP(concurrency_limit)=901)") in new stack
[2017-10-25 23:07:42] VERBOSE[31748][C-00000048] pbx.c: Executing [s@macro-user-callerid:14] ExecIf("PJSIP/901-00000039", "0?Set(CHANNEL(language)=)") in new stack
[2017-10-25 23:07:42] VERBOSE[31748][C-00000048] pbx.c: Executing [s@macro-user-callerid:15] GotoIf("PJSIP/901-00000039", "0?continue") in new stack
[2017-10-25 23:07:42] VERBOSE[31748][C-00000048] pbx.c: Executing [s@macro-user-callerid:16] ExecIf("PJSIP/901-00000039", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
[2017-10-25 23:07:42] VERBOSE[31748][C-00000048] pbx.c: Executing [s@macro-user-callerid:17] Set("PJSIP/901-00000039", "__TTL=6") in new stack
[2017-10-25 23:07:42] VERBOSE[31748][C-00000048] pbx.c: Executing [s@macro-user-callerid:18] GotoIf("PJSIP/901-00000039", "1?continue") in new stack
[2017-10-25 23:07:42] VERBOSE[31748][C-00000048] pbx_builtins.c: Goto (macro-user-callerid,s,29)
[2017-10-25 23:07:42] VERBOSE[31748][C-00000048] pbx.c: Executing [s@macro-user-callerid:29] Set("PJSIP/901-00000039", "CALLERID(number)=901") in new stack
[2017-10-25 23:07:42] VERBOSE[31748][C-00000048] pbx.c: Executing [s@macro-user-callerid:30] Set("PJSIP/901-00000039", "CALLERID(name)=Christopher Downs") in new stack
[2017-10-25 23:07:42] VERBOSE[31748][C-00000048] pbx.c: Executing [s@macro-user-callerid:31] GotoIf("PJSIP/901-00000039", "0?cnum") in new stack
[2017-10-25 23:07:42] VERBOSE[31748][C-00000048] pbx.c: Executing [s@macro-user-callerid:32] Set("PJSIP/901-00000039", "CDR(cnam)=Christopher Downs") in new stack
[2017-10-25 23:07:42] VERBOSE[31748][C-00000048] pbx.c: Executing [s@macro-user-callerid:33] Set("PJSIP/901-00000039", "CDR(cnum)=901") in new stack
[2017-10-25 23:07:42] VERBOSE[31748][C-00000048] pbx.c: Executing [s@macro-user-callerid:34] Set("PJSIP/901-00000039", "CHANNEL(language)=en_NZ") in new stack
[2017-10-25 23:07:42] VERBOSE[31748][C-00000048] pbx.c: Executing [*97@from-internal:2] Set("PJSIP/901-00000039", "CONNECTEDLINE(name-charset,i)=utf8") in new stack
[2017-10-25 23:07:42] VERBOSE[31748][C-00000048] pbx.c: Executing [*97@from-internal:3] Set("PJSIP/901-00000039", "CONNECTEDLINE(name,i)=My Voicemail") in new stack
[2017-10-25 23:07:42] VERBOSE[31748][C-00000048] pbx.c: Executing [*97@from-internal:4] Set("PJSIP/901-00000039", "CONNECTEDLINE(num,i)=901") in new stack
[2017-10-25 23:07:42] VERBOSE[31748][C-00000048] pbx.c: Executing [*97@from-internal:5] Answer("PJSIP/901-00000039", "") in new stack
[2017-10-25 23:07:43] VERBOSE[31748][C-00000048] pbx.c: Executing [*97@from-internal:6] Wait("PJSIP/901-00000039", "1") in new stack
[2017-10-25 23:07:44] VERBOSE[31748][C-00000048] pbx.c: Executing [*97@from-internal:7] Macro("PJSIP/901-00000039", "get-vmcontext,901") in new stack
[2017-10-25 23:07:44] VERBOSE[31748][C-00000048] pbx.c: Executing [s@macro-get-vmcontext:1] Set("PJSIP/901-00000039", "VMCONTEXT=default") in new stack
[2017-10-25 23:07:44] VERBOSE[31748][C-00000048] pbx.c: Executing [s@macro-get-vmcontext:2] GotoIf("PJSIP/901-00000039", "0?200:300") in new stack
[2017-10-25 23:07:44] VERBOSE[31748][C-00000048] pbx_builtins.c: Goto (macro-get-vmcontext,s,300)
[2017-10-25 23:07:44] VERBOSE[31748][C-00000048] pbx.c: Executing [s@macro-get-vmcontext:300] NoOp("PJSIP/901-00000039", "") in new stack
[2017-10-25 23:07:44] ERROR[31748][C-00000048] pbx_functions.c: Function VM_INFO not registered
[2017-10-25 23:07:44] WARNING[31748][C-00000048] func_logic.c: Syntax IF(<expr>?[<true>][:<false>]) (expr must be non-null, and either <true> or <false> must be non-null)
[2017-10-25 23:07:44] WARNING[31748][C-00000048] func_logic.c: In this case, <expr>='', <true>='SUCCESS', and <false>='FAILED'
[2017-10-25 23:07:44] VERBOSE[31748][C-00000048] pbx.c: Executing [*97@from-internal:8] Set("PJSIP/901-00000039", "VMBOXEXISTSSTATUS=") in new stack
[2017-10-25 23:07:44] VERBOSE[31748][C-00000048] pbx.c: Executing [*97@from-internal:9] GotoIf("PJSIP/901-00000039", "0?mbexist") in new stack
[2017-10-25 23:07:44] WARNING[31748][C-00000048] pbx.c: No application 'VoiceMailMain' for extension (from-internal, *97, 10)
[2017-10-25 23:07:44] VERBOSE[31748][C-00000048] pbx.c: Spawn extension (from-internal, *97, 10) exited non-zero on 'PJSIP/901-00000039'
[2017-10-25 23:07:44] VERBOSE[31748][C-00000048] pbx.c: Executing [h@from-internal:1] Macro("PJSIP/901-00000039", "hangupcall") in new stack
[2017-10-25 23:07:44] VERBOSE[31748][C-00000048] pbx.c: Executing [s@macro-hangupcall:1] GotoIf("PJSIP/901-00000039", "1?theend") in new stack
[2017-10-25 23:07:44] VERBOSE[31748][C-00000048] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2017-10-25 23:07:44] VERBOSE[31748][C-00000048] pbx.c: Executing [s@macro-hangupcall:3] ExecIf("PJSIP/901-00000039", "0?Set(CDR(recordingfile)=)") in new stack
[2017-10-25 23:07:44] VERBOSE[31748][C-00000048] pbx.c: Executing [s@macro-hangupcall:4] NoOp("PJSIP/901-00000039", " monior file= ") in new stack
[2017-10-25 23:07:44] VERBOSE[31748][C-00000048] pbx.c: Executing [s@macro-hangupcall:5] AGI("PJSIP/901-00000039", "attendedtransfer-rec-restart.php,,") in new stack
[2017-10-25 23:07:44] VERBOSE[31748][C-00000048] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
[2017-10-25 23:07:44] VERBOSE[31748][C-00000048] res_agi.c: <PJSIP/901-00000039>AGI Script attendedtransfer-rec-restart.php completed, returning 0
[2017-10-25 23:07:44] VERBOSE[31748][C-00000048] pbx.c: Executing [s@macro-hangupcall:6] Hangup("PJSIP/901-00000039", "") in new stack
[2017-10-25 23:07:44] VERBOSE[31748][C-00000048] app_macro.c: Spawn extension (macro-hangupcall, s, 6) exited non-zero on 'PJSIP/901-00000039' in macro 'hangupcall'
[2017-10-25 23:07:44] VERBOSE[31748][C-00000048] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/901-00000039'