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.
-
you should set up a channel range like 1-10, the easiest way to check what fop2 will see is to run the script
/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?
-
Hi,
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 -
Hi,
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 -
Maybe your DAHDI channels are prefixed with an "i" for interface. The latest autoconfig scripts already include that name, if you have an older autoconfig script, you can modify it and add the line that outputs DAHDI/ix:
Edit the autoconfig-buttons-freepbx.sh script and look for something similar to this:
do echo "channel=DAHDI/$ZAPNUM" echo "channel=ZAP/$ZAPNUM" doneand change it to this:
do echo "channel=DAHDI/$ZAPNUM" echo "channel=DAHDI/i$ZAPNUM" echo "channel=ZAP/$ZAPNUM" doneFinally restart fop2.
-
Thanks very much that's fixed it !
My autoconfig-buttons-freepbx.sh script only had:
do
echo "channel=DAHDI/i$ZAPNUM"
echo "channel=ZAP/$ZAPNUM"
done[/color:1uwnpldu]So I actually added:
echo "channel=DAHDI/$ZAPNUM"
[/color:1uwnpldu]And that seems to have fixed it!
Thanks so much for your help.
Kind Regards,
Peter.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login