If I call the other extensions from my physical phone on the PBX, and there is no answer, it goes to voicemail.
It is only through the IVR that I have issues with the extension ringing and then going to voicemail.
When I look at the code, the IVR uses ext-local to call
extensions_additional.conf:exten => 5,1,Goto(ext-local,7873,1)
That is the code when I choose Core: and the extension number for option 5 in the IVR.
And if I choose voicemail for the extension on core I get
exten => 5,1,Goto(ext-local,${VM_PREFIX}7873,1)
Which both make sense. But is there something in ext-local that is keeping the voicemail from answering when the first option is in effect.
exten => 5,1,Goto(ext-local,7873,1)
If I create a custom like this
exten => _787N,1,playback(pls-wait-connect-call)
exten => _787N,2,Dial(SIP/${EXTEN},20,r)
exten => _787N,3,Macro(vm,${EXTEN})
exten => _787N,4,Hangup
and then choose custom app instead of core and send it: custom-ah,7873,1
The extension rings, and on no answer after 20 seconds, goes to voicemail.
Looking at the code for the directly entering an extension from the IVR, all I can tell is it must be calling something in ext-local also, which makes sense since it does the same thing, rings the phone forever and never goes to voicemail.
–
Phil