There was an error during reload: Chan_sip module deprecated in Asterisk V21+

Hello,
I installed a new version of FreePBX 17 on a server. I restored from FreePBX 14 onto the new server. After the restore I’m getting a red apply config button and when I press it I get this message.

Error!
There was an error during reload: Chan_sip module deprecated in Asterisk V21+
Chan_sip module deprecated in Asterisk V21+ Convert the chan_sip extension to PJSIP. Please Run: fwconsole convert2pjsip -a.

I go into SSH on the server and try to run the command and getting this error.

fwconsole convert2pjsip -a
In functions_common.php line 2073:
Undefined array key “dpma”
convert2pjsip [-a|–all] [-r|–range RANGE]

I’m not able to run the convert command because of this error. Is this a bug that needs to be fixed. I cannot get past the apply config error. The old PBX was using Chan-SIP extensions. Any help is greatly appreciated. Thank you!

Hi @aarond ,

Could you please try reinstalling Endpoint Manager by running the command below?

fwconsole ma downloadinstall endpoint --tag 17.0.2.20

Please let us know whether the issue is resolved.

Thanks

Thank you for your assistance! I tried the command but got this error:
Unable to update module endpoint - 17.0.2.20, it does not exist:

I noticed I had 17.0.2.10 installed so I tried with that version and got similar error. I then tried with fwconsole ma uninstall endpoint. That worked and allowed me to run the command to convert to pjsip. However when I reinstall endpoint back all our deskphones that were brought over configured from the restore are gone including all the Brands we had. Is there something we can do that we don’t lose all our deskphones we have configured in endpoint? Thank you for your help.

Hi @aarond ,

Please follow the steps below to resolve this issue:

  1. Restore the backup.
  2. Install EPM: fwconsole ma install endpoint
  3. Run: fwconsole convert2pjsip -a

Thanks

Thank you that worked!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.