How’d that get there…
Thanks! You are correct, of course:
[ Context 'from-user' created by 'pbx_config' ]
'6002' => hint: SIP/6002 [pbx_config]
1. Macro(stdexten,6002,${HINT}) [pbx_config]
[ Included context 'stdexten' created by 'pbx_config' ]
'6002' => 1. NoOp(here i am) [pbx_config]
2. Goto(ivr-main,ivrMain,1) [pbx_config]
'_60XX' => 1. Dial(SIP/${EXTEN},20) [pbx_config]
2. Voicemail(${EXTEN},("BUSY"="${DIALSTATUS}")?b:u) [pbx_config]
3. Return() [pbx_config]
The first two lines of debug are:
*CLI> == Using SIP RTP CoS mark 5
-- Executing [6002@from-user:1] Macro("SIP/6005-b798f560", "stdexten,6002,SIP/6002") in new stack
-- Executing [s@macro-stdexten:1] Set("SIP/6005-b798f560", "__DYNAMIC_FEATURES=") in new stack
So I understand that represents fallthrough? But why didn’t it run 6002@stdexten?
[from-user]
include => stdexten
include => to-pstn-free
include => to-pstn-toll
include => queue-membership
[stdexten]
exten => 6002,1,NoOp(here i am)
exten => 6002,2,Goto(ivr-main,ivrMain,1)
exten => _60XX,1,Dial(SIP/${EXTEN},20)
exten => _60XX,n,Voicemail(${EXTEN},("BUSY"="${DIALSTATUS}")?b:u)
exten => _60XX,n,Return()
exten => a,1,VoicemailMain(${EXTEN})
exten => a,n,Return()
And no, my ““BUSY”=”${DIALSTATUS}")?b:u" doesn’t work, I’m still learning my way around.
And is stdexten special also? I ask because I have the feeling you may be cringing upon seeing what I’ve put in it.
Thanks again,
Shannon