When I initially set my PBX up, I created virtual extensions for all users, then added a FollowMe for different SIP endpoints. It was (mostly) functional, but has created a fair share of headaches in implementation.
Now, with the understanding that chan_pjsip can have multiple endpoints for a single extension, which would simplify my dialplans, ring groups, queues, etc. immensely. I upgraded the system to Asterisk 13, set up a test extension using chan_pjsip, and it seems to behave exactly the way I’m expecting.
My question is this: Can I change the virtual extension, which houses all of the user’s voicemail, and is already set up in the dialplan, to be a SIP extension? I’m reasonably sure I could go into the database and change the “technology” setting, but will this cause other issues?
I don’t mind doing this individually for each extension, but I’m hoping to avoid deleting and re-creating the extension as a SIP or PJSIP extension. If I did it that way, I would need to re-create all of the custom settings, re-add to dial plans, migrate voicemail, etc. Much easier if I could just add “This extension uses chan_pjsip technology” to an existing virtual extension. Even better if there were maybe a script or a GUI method that could accomplish the same end-goal.
Looking through the database, it seems that virtual extensions don’t get any sort of entry in the asterisk.sip table, so it would seem that there is no direct way to do it in the database. However, I’ve noticed in the bulkextensions export, there is a “technology” column. I could probably export it using bulkextensions, change the “technology” column, then re-import it over top of the old one.
However, this suggests that somewhere, there exists a script that can insert the values from a bulkextensions export into valid FreePBX extensions. Does there exist perhaps a version of this script that could perform the same functions without the need to exporting to a CSV, then importing back into the system?
Thanks in advance!