Closed MatthewLJensen closed 1 month ago
Can you give me some more details about your system so that I can try to reproduce this?
I did restore from a FreePBX 16 system that was running an older version of asterisk. However (as far as I've found) there are no SIP (non-pjsip) endpoints on the old system, and so none should have been converted during the migration.
Asterisk Version: 21.4.3
chan_sip module loaded: doesn't appear so
chan_sip enabled? I don't think so. I don't even see the sip driver option in advanced settings. Asterisk SIP settings page only shows PJSIP
Any chan_sip endpoints? Not that I can locate
was this an upgrade/migration using backup/restore? Yes
were any chan_sip endpoints converted to pjsip in migration? No
Version of SMS Connector: 16.0.17.1 (is there a 17.x release I should be using?)
HOWEVER, after figuring this info out I realized that some of the extensions I was enabling this setting on were created new on the 17 system and some had come over in the restore process. I tried them one by one and they all worked except for one (out of two) extensions that had been restored. I then tried changing the name of the extension and reloading and that somehow solved the problem and I can now toggle sip sms off and on on the extension in question with no problem reloading.
Version of SMS Connector: 16.0.17.1 (is there a 17.x release I should be using?)
This is the correct version for both FreePBX 16 and 17.
I am unable to reproduce this and since you have resolved the problem on your system, I will close the issue at this time.
I tried enabling SIP SMS within the user settings on a FreePBX 17 system. When I tried to reload I got the following error:
It seems like it might be trying to run code related to SIP instead of PJSIP, but that's a total shot in the dark. Here's the code from sip.class.php around line 158: