DAHDI Trunk Status not showing
Hi,
I'm using FreePBX 2.11 and FOP2 + the FreePBX Admin Module, but what ever I do I just can't get my DAHDI trunk status to show up - it never changes from the normal green status with no info.
I have tried many different combinations of the trunk number and name in the trunks channel box in the admin module, but all to no effect.
Doing a Core show channels gives: DAHDI/1-1
Please could someone advise the exact syntax of what I should put in the channels box?
Thanks very much,
Peter.
I'm using FreePBX 2.11 and FOP2 + the FreePBX Admin Module, but what ever I do I just can't get my DAHDI trunk status to show up - it never changes from the normal green status with no info.
I have tried many different combinations of the trunk number and name in the trunks channel box in the admin module, but all to no effect.
Doing a Core show channels gives: DAHDI/1-1
Please could someone advise the exact syntax of what I should put in the channels box?
Thanks very much,
Peter.
Comments
/usr/local/fop2/autoconfig-buttons-freepbx.sh
Inspect the output for your trunk buttons, what do you see as the channel in brackets and also the channel headers?
Thanks very much for your reply and sorry that I have not replied sooner.
I ran the script and go the output below relating to DAHDI
Thanks,
Peter.
[DAHDI/g0]
type=trunk
label=DAHDI/g0
queuecontext=from-internal
privacy=none
email=splitme-1-1
channel=DAHDI/i1
channel=ZAP/1
rtmp=0
[DAHDI/1]
type=trunk
label=DAHDI
channel=DAHDI/1-1
channel=DAHDI/1-2
channel=DAHDI/1-3
Thanks for the reply and sorry for not replying sooner.
Running the script produces output relating to DAHDI below:
Kind Regards,
Peter.
[DAHDI/g0]
type=trunk
label=DAHDI/g0
queuecontext=from-internal
privacy=none
email=splitme-1-1
channel=DAHDI/i1
channel=ZAP/1
rtmp=0
[DAHDI/1]
type=trunk
label=DAHDI
channel=DAHDI/1-1
channel=DAHDI/1-2
channel=DAHDI/1-3
Edit the autoconfig-buttons-freepbx.sh script and look for something similar to this:
and change it to this:
Finally restart fop2.
My autoconfig-buttons-freepbx.sh script only had:
[color=#40FF00:1uwnpldu]do
echo "channel=DAHDI/i$ZAPNUM"
echo "channel=ZAP/$ZAPNUM"
done[/color:1uwnpldu]
So I actually added:
[color=#40FF00:1uwnpldu]
echo "channel=DAHDI/$ZAPNUM"
[/color:1uwnpldu]
And that seems to have fixed it!
Thanks so much for your help.
Kind Regards,
Peter.