Recent upgrade to 1.8 - No trunk display
FOP2 Engineer:
I recently upgraded the following:
Asterisk 1.6 -> 1.8.4
FreePBX 2.8 -> 2.9.0.4
Unfortunately, following my upgrade, my FOP2 no longer dynamically display calls on the respective channels. I've checked the FOP2Admin to make sure that "1-24" was listed next to the trunk specification, as well as ran the "autoconfig-buttons-freepbx.sh" script. Still, to no prevail, the calls don't display on the trunk.
Some guidance on how to make this feature work would be appreciated. Also, would it be in my best interest to upgrade my FOP2 version? I believe I only have version 2 (instead of 2.2). Please lend me your guidance.
Thanks, Josh
I recently upgraded the following:
Asterisk 1.6 -> 1.8.4
FreePBX 2.8 -> 2.9.0.4
Unfortunately, following my upgrade, my FOP2 no longer dynamically display calls on the respective channels. I've checked the FOP2Admin to make sure that "1-24" was listed next to the trunk specification, as well as ran the "autoconfig-buttons-freepbx.sh" script. Still, to no prevail, the calls don't display on the trunk.
Some guidance on how to make this feature work would be appreciated. Also, would it be in my best interest to upgrade my FOP2 version? I believe I only have version 2 (instead of 2.2). Please lend me your guidance.
Thanks, Josh
Comments
Running the autoconfig-buttons-freepbx.sh script will do nothing, except show *you* what the button configuration is, including the trunks. It will not modify behavior in any way nor alter configuration. But what you see when running the script is useful for troubleshooting.
So, run the script, and look at the trunk configuration that is generated. Look at the channel name (between brackets) and the channel lines that are inside, will be something like:
[DAHDI/1]
type=trunk
channel=DAHDI/2
channel=DAHDI/3
or similar... look at all the channel lines there, those are the names that fop2 will track on that button.
Then make a call, and do an
asterisk -rx "core show channels"
Look for the channel names there, do they match? If so, it will work, if not, then you must make fop2 button configuration match the name of the channels in asterisk
Best regards,
Thanks for your reply. I'm still not able to resolve this. It appears that FreePBX is using the autoconfig-buttons-freepbx.sh script to set up the items and trunks lines. What I believe to be the problem is that Asterisk 1.8 now refers to incoming DAHDI calls as "DAHDI/i1/..." (see example)
Here is what is processed by the autoconfig script: I don't believe there are static config files for FOP2 that are used to match the DAHDI group to the FOP2 group config. I believe that Asterisk used to refer to each channel as 'g1', but there may have been an adjustment in the recent releases. Are there any additional suggestions you may be able to provide to help me resolve this issue? Thanks.
Josh
Edit the script /usr/local/fop2/autoconfig-buttons-freepbx.sh, line 58 or so, that looks like this:
Just add one option like:
Save the file, restart fop2, and see if it works.
That didn't work. There were two places that I had to change it. The calls on the respective channels of the trunk are still not appearing. Here is the code after I made the requested adjustments: Did I execute the code change correctly? Let me know if there are other steps we can take. Is there an upgrade? Would installing the latest version or even re-installing the version I have resolve this problem?
Thanks, Josh
What is the output now when you run autoconfig-buttons-freepbx.sh for your trunk?
Here is the output from the autoconfig-buttons-freepbx.sh script:
Best regards,