We have successfully restored the backup from FreePBX 16 to FreePBX 17. A few extensions were using Chan_SIP, while others were on PJSIP. However, after the restore, all extensions have been converted to PJSIP.
We are now facing a strange issue: when extensions register with FreePBX 17, they successfully register, but when we call these extensions, the calls go directly to voicemail. The extensions can still make outbound calls without any issue.
Interestingly, when we delete the extension, recreate it, and have it register again, the extension works fine, and calls are no longer directed to voicemail.
Has anyone encountered this issue before, or does anyone have suggestions on how to resolve it?
Hi @faisalkhan does this issue i.e. “incoming call going to voicemail” is only with converted extensions or happening with every single migrated extension ?
also would be good to see asterisk cli log to know why incoming calls are directly going to voicemail.
This is with the extensions which are restored from the FreePBX 16. I Fixed it.
Two findings
Extensions which were configured on FreePBX 16 with PJSIP are shown in the database for FreePBX 17 with “PJPJSIP” and the Extensions which were on Chan_SIP they are now converted to PJSIP.
You can find this asterisk database → sip table
Fix:
I used the bulk handler tool to export all the extensions and where it says PJPJSIP, replaced it with PJSIP and import all the extensions again. This will fix the issue as it updated the database for all the extensions according to the FreePBX 17 archtecture.
We have created chan_sip and pjsip extension on 16 , took the backup and confirmed its successfully restored to 17. We didnt find any PJPJSIP entry in the DB.
If its reproducible for you then may be you can DM me your backup tarball so we can try to restore the same into our 17 system.