Zap or Dadhi Trunk (Elastix 1.5.2)
-
I am pretty new to Asterisk so please be forgiving.
I am really impressed by FOP2 so we decided to buy it. I know that when I had the buttons auto configured the ZAP/DADHI trunk never showed as being in use.
In freepbx it list a PRI trunk as being ZAP/g0 (DADHI compatability mode) . Dadhi is installed and in use on the sytem.
Running the script to create buttons it creates
[DADHI/1]
type=trunk
label=DADHI
channel=DADHI/30
channel=DADHI/31What is the correct setup for this trunk? DADHI or ZAP?
-
Hi,
You probably need DAHDI, but it seems you have the autoconfig-buttons-freepbx.sh with a typo for Zap trunks... look for the line:
asterisk -rx "zap show channels" | grep -v from-internal | grep -v pseudo | grep -v Language | awk '{print $1}' | tail -n 2 | while read LINEAand change it to:
asterisk -rx "zap show channels" | grep -v from-internal | grep -v pseudo | grep -v Language | awk '{print $1}' | tail -n +2 | while read LINEA(Add the plus sign before the number 2 and after "tail -n ").
Finally restart fop2:
service fop2 restartBest regards,
-
-
If you do a "show channels" in the asterisk console when making some calls and see DAHDI/xx, then you have to use DAHDI. If you see ZAP, then change it to ZAP.
Anyways, the auto config script is creating your trunk incorrectly, as it only shows the 1st channel and the last two. If you write the config by hand it should look like:
[DADHI/1] type=trunk label=DADHI trunk channel=DADHI/2 channel=DADHI/3 channel=DADHI/4 channel=DADHI/5 channel=DADHI/6 channel=DADHI/7 channel=DADHI/8 channel=DADHI/9 .. {snip } .. channel=DADHI/30 channel=DADHI/31 -
-
-
-
-
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