Mix #Exec and Static Configs
Hello,
I am having a problem where my Dahdi extensions and trunks show up but dont work interactively in FOP2.
I am using the latest beta with fop2admin in Trixbox 2.8 with openvox 4 port fxo card A400P
I have been able to make the Dahdi buttons work with a static config, but not with the fop2admin tool.
I read elsewhere in this forum that it is possible to mix static and #exec configs. Is this possible with fop2admin? If so can you give me some pointers on how to get started?
Thank you.
Alex
I am having a problem where my Dahdi extensions and trunks show up but dont work interactively in FOP2.
I am using the latest beta with fop2admin in Trixbox 2.8 with openvox 4 port fxo card A400P
I have been able to make the Dahdi buttons work with a static config, but not with the fop2admin tool.
I read elsewhere in this forum that it is possible to mix static and #exec configs. Is this possible with fop2admin? If so can you give me some pointers on how to get started?
Thank you.
Alex
Comments
It would be great to have it working with fop2admin. I wonder why it does not work with it but it does work with your manual config? You can find out by running the script autoconfig-buttons-freepbx.sh by hand at the linux console, it will output all the button configuration including trunks. You can compare the trunk config with your working manual config and find the difference. If it is a bug I will be able to fix it.
Now, in order to mix configurations, you can edit autobuttons.cfg and add your static buttons before the #exec line
Best regards,
Thank you for the fast reply.
I have found the problem, Its very odd. A Bug I think.
This is the code snippet for a DAHDI extension as generated by autoconfig-buttons-freepbx.sh This does not work:
And this is the code that is generated manually by me following the buttons.cfg.sample. This Does work. I bolded the differences:
The problem is clear! For some reason the script is not generating Dahdi buttons as Dahdi but as ZAP, and is also not putting the channel= line in place.
Is it possible for you to fix this and release another beta? Now I realize that those folks using ZAP may need it as ZAP so I don't know what mechanism you have to detect between ZAP and DAHDI (I am not a programmer).
Your help appreciated.
Alex
Regards
Alex
Has anyone else seen this?
Is there any solution?
Thanks
Alex