with extenpatternmatchnew=no [ Context 'macro-stdexten' created by 'pbx_config' ] 's' => 1. GotoIf($["${MACRO_EXTEN}" = "${CALLERID(num)}"]?callself) [pbx_config] 2. GotoIf($["${VMCOUNT(${ARG1})}" != "0"]?vm) [pbx_config] 3. GotoIf($["${VMCOUNT(${ARG1})}" = "0"]?novm) [pbx_config] [vm] 4. SendText(You have voicemail messages) [pbx_config] [novm] 5. Dial(${ARG2},17,tTr) [pbx_config] 6. Goto(s-${DIALSTATUS},1) [pbx_config] [callself] 7. Wait(2) [pbx_config] 8. VoiceMailMain(${ARG1}) [pbx_config] 9. Hangup() [pbx_config] 's-BUSY' => 1. Voicemail(b${ARG1}) [pbx_config] 2. Hangup() [pbx_config] 's-CHANUNAVAIL' => 1. Voicemail(u${ARG1}) [pbx_config] 2. Hangup() [pbx_config] 's-CONGESTION' => 1. Congestion() [pbx_config] 2. Hangup() [pbx_config] 's-NOANSWER' => 1. Voicemail(u${ARG1}) [pbx_config] 2. Hangup() [pbx_config] '_s-.' => 1. Hangup() [pbx_config] Verbosity is at least 20 == Using SIP RTP CoS mark 5 -- Executing [2612@from-sip-internal:1] Macro("SIP/2611-00000015", "stdexten,2612,SIP/2612") in new stack -- Executing [s@macro-stdexten:1] GotoIf("SIP/2611-00000015", "0?callself") in new stack -- Executing [s@macro-stdexten:2] GotoIf("SIP/2611-00000015", "0?vm") in new stack -- Executing [s@macro-stdexten:3] GotoIf("SIP/2611-00000015", "1?novm") in new stack -- Goto (macro-stdexten,s,5) -- Executing [s@macro-stdexten:5] Dial("SIP/2611-00000015", "SIP/2612,17,tTr") in new stack == Using SIP RTP CoS mark 5 -- Called 2612 -- SIP/2612-00000016 is ringing -- Nobody picked up in 17000 ms -- Executing [s@macro-stdexten:6] Goto("SIP/2611-00000015", "s-NOANSWER,1") in new stack -- Goto (macro-stdexten,s-NOANSWER,1) -- Executing [s-NOANSWER@macro-stdexten:1] VoiceMail("SIP/2611-00000015", "u2612") in new stack [Sep 29 17:24:08] WARNING[2051]: app_voicemail.c:5257 leave_voicemail: No entry in voicemail config file for 'u2612' -- Executing [s-NOANSWER@macro-stdexten:2] Hangup("SIP/2611-00000015", "") in new stack == Spawn extension (macro-stdexten, s-NOANSWER, 2) exited non-zero on 'SIP/2611-00000015' in macro 'stdexten' == Spawn extension (from-sip-internal, 2612, 1) exited non-zero on 'SIP/2611-00000015' ---------------------------------------------------------------------------------------------- with extenpatternmatchnew=yes [ Context 'macro-stdexten' created by 'pbx_config' ] 's' => 1. GotoIf($["${MACRO_EXTEN}" = "${CALLERID(num)}"]?callself) [pbx_config] 2. GotoIf($["${VMCOUNT(${ARG1})}" != "0"]?vm) [pbx_config] 3. GotoIf($["${VMCOUNT(${ARG1})}" = "0"]?novm) [pbx_config] [vm] 4. SendText(You have voicemail messages) [pbx_config] [novm] 5. Dial(${ARG2},17,tTr) [pbx_config] 6. Goto(s-${DIALSTATUS},1) [pbx_config] [callself] 7. Wait(2) [pbx_config] 8. VoiceMailMain(${ARG1}) [pbx_config] 9. Hangup() [pbx_config] 's-BUSY' => 1. Voicemail(b${ARG1}) [pbx_config] 2. Hangup() [pbx_config] 's-CHANUNAVAIL' => 1. Voicemail(u${ARG1}) [pbx_config] 2. Hangup() [pbx_config] 's-CONGESTION' => 1. Congestion() [pbx_config] 2. Hangup() [pbx_config] 's-NOANSWER' => 1. Voicemail(u${ARG1}) [pbx_config] 2. Hangup() [pbx_config] '_s-.' => 1. Hangup() [pbx_config] -= 6 extensions (18 priorities) in 1 context. =- == Using SIP RTP CoS mark 5 -- Executing [2612@from-sip-internal:1] Macro("SIP/2611-00000017", "stdexten,2612,SIP/2612") in new stack -- Executing [s@macro-stdexten:1] GotoIf("SIP/2611-00000017", "0?callself") in new stack -- Executing [s@macro-stdexten:2] GotoIf("SIP/2611-00000017", "0?vm") in new stack -- Executing [s@macro-stdexten:3] GotoIf("SIP/2611-00000017", "1?novm") in new stack -- Goto (macro-stdexten,s,5) -- Executing [s@macro-stdexten:5] Dial("SIP/2611-00000017", "SIP/2612,17,tTr") in new stack == Using SIP RTP CoS mark 5 -- Called 2612 -- SIP/2612-00000018 is ringing -- Nobody picked up in 17000 ms -- Executing [s@macro-stdexten:6] Goto("SIP/2611-00000017", "s-NOANSWER,1") in new stack -- Goto (macro-stdexten,s-NOANSWER,1) -- Executing [s-NOANSWER@macro-stdexten:1] Hangup("SIP/2611-00000017", "") in new stack == Spawn extension (macro-stdexten, s-NOANSWER, 1) exited non-zero on 'SIP/2611-00000017' in macro 'stdexten' == Spawn extension (from-sip-internal, 2612, 1) exited non-zero on 'SIP/2611-00000017'