FOP 2 shows Duplicate Users in Extension Panel
Hello. I am not sure why but my Extension Panel shows the users twice. I am using FreePBX 2.9.0.0. So far FOP2 seems to work very nicely. I just need to find a way to remove the duplicates. With that said, Usually 1 works and the other doesn't.
Any assistance would help.
Thanks
Any assistance would help.
Thanks
Comments
That script will read the freepbx database and create buttons based on those entries. Do you see duplicate buttons when running the above script in the command line? Perhaps you have some kind of configuration in your DB that is generating duplicate records with a slight difference?
Here is an example....
[SIP/2005]
type=extension
extension=2005
label=Serina Mendoza
mailbox=2005@default
context=from-internal
queuecontext=from-queue
extenvoicemail=*2005@default
privacy=none
customastdb=CF/2005
SIP/2005]
type=extension
extension=2005
label=Serina Mendoza
mailbox=2005@default
context=from-internal
queuecontext=from-queue
extenvoicemail=*2005@default
privacy=none
queuechannel=Local/2005@from-queue/n|Penalty=0|MemberName=Serina Mendoza|StateInterfac e=SIP/2005
customastdb=CF/2005
If you did not modify the scripts then you have some kind of strange data in your freepbx mysql tables. If using fop2admin, try uninstalling it. You will lose your fop2 permissions and custom config if you have any. Then run the autoconfig script again, inspect the output. Then install fop2admin again, apply changes, and run the autoconfig script once more.
Did you install fop2admin for freepbx? If so, how many buttons do you see on the fop2 buttons page? Do you see them duplicated? This is not a fop2 problem itself, is an interaction with probably some dirty data in your mysql tables and freepbx. If you installed fop2admin, UNINSTALL it, as I recommended before. Then check again.