I am running FreePBX Distro and trying to sync it with my AD. Everythinh is ok, iam connecting to AD, but after all i have a problem - only one user from near 525 syncs with FreePBX.
When i use “fwconsole userman --syncall --force -vvv” i got a error:
2023-02-28_11:19:33 - Retrieving all users…
2023-02-28_11:19:35 - Got 525 users
2023-02-28_11:19:35 - Updating vva
2023-02-28_11:19:35 - Creating pjsip Extension +4024
This device id is already in use
Finished
i havent pjsip extension +4024, my extensions list is empty.
I encountered a similar error. I have a lot of users that are created, but at some point in the process, I received the error and syncing stops. However, syncing stopped immediately after a user that had an invalid value in the attribute that we had specified for using for the extension. After I removed that value from that specific user, sync was able to complete successfully. In your case, I would look for a user in AD who has a value of “+4024” for whatever attribute you have set up as the “User extension Link attribute” for your connection to AD.
i found some records in mysql for freepbx, i think it was some bug an old record stays in sql and did’t showa in web interface.
After i reinstall freepbx from distro - no probems with AD sync