Direct Transfer to voicemail from Queue

I need help/advice troubleshooting an issue. We still use FOP2 and I recently migrated to a newer version of FreePBX. This was not an upgrade but a side-by-side rebuild. I don’t know that this is actually an issue with FOP2, but I did also post in their forum.

When a call comes into a queue and is then transferred directly to voicemail via FOP2, it is disconnected and all I’m seeing in the log is a hangup. This does not happen when transferring non-queue calls to voicemail via FOP2. This also doesn’t happen when transferring queue calls to *EXT from the phone.

Our extensions are 48xx and do not match any feature codes.
The queue extension is 1000.

FOP2 is using the ext-local context for transferring to voicemail: extenvoicemail=*4807@ext-local

Our previous server used the from-internal context. I tested this and was still disconnected.

It seems this is only happening with outside calls. If I call the queue from another extension it works as expected. This is why I’m leaning towards it NOT being an issue with FOP2.

# asterisk -rx "dialplan show *4807@ext-local"
[ Context 'ext-local' created by 'pbx_config' ]
  '*4807' =>        1. Set(CONNECTEDLINE(name-charset,i)=utf8)    [extensions_additional.conf:6431]
                    2. Set(CONNECTEDLINE(name,i)=4807 Voicemail)  [extensions_additional.conf:6432]
                    3. Set(CONNECTEDLINE(num,i)=4807)             [extensions_additional.conf:6433]
                    4. Macro(vm,4807,DIRECTDIAL,${IVR_RETVM})     [extensions_additional.conf:6434]
                    5. Goto(vmret,1)                              [extensions_additional.conf:6435]

-= 1 extension (5 priorities) in 1 context. =-
# asterisk -rx "dialplan show *4807@from-internal"
[ Included context 'ext-local' created by 'pbx_config' ]
  '*4807' =>        1. Set(CONNECTEDLINE(name-charset,i)=utf8)    [extensions_additional.conf:6431]
                    2. Set(CONNECTEDLINE(name,i)=4807 Voicemail)  [extensions_additional.conf:6432]
                    3. Set(CONNECTEDLINE(num,i)=4807)             [extensions_additional.conf:6433]
                    4. Macro(vm,4807,DIRECTDIAL,${IVR_RETVM})     [extensions_additional.conf:6434]
                    5. Goto(vmret,1)                              [extensions_additional.conf:6435]

-= 1 extension (5 priorities) in 1 context. =-
# asterisk -rx "dialplan show *4807@from-internal-xfer"
[ Included context 'ext-local' created by 'pbx_config' ]
  '*4807' =>        1. Set(CONNECTEDLINE(name-charset,i)=utf8)    [extensions_additional.conf:6431]
                    2. Set(CONNECTEDLINE(name,i)=4807 Voicemail)  [extensions_additional.conf:6432]
                    3. Set(CONNECTEDLINE(num,i)=4807)             [extensions_additional.conf:6433]
                    4. Macro(vm,4807,DIRECTDIAL,${IVR_RETVM})     [extensions_additional.conf:6434]
                    5. Goto(vmret,1)                              [extensions_additional.conf:6435]

-= 1 extension (5 priorities) in 1 context. =-

Since this is only happening when it is a queue call, what should I be looking for?

All I had to do was post and that was enough to realize that I wrote an override dialplan for this queue and was adding the extensions via PJSIP/EXTN instead of Local/EXTN and I believe that was my problem.

Test calls worked. I’ll give it a few days of usage to make sure that was it, but I’m feeling pretty good about it.

1 Like