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/31
What is the correct setup for this trunk? DADHI or ZAP?
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/31
What is the correct setup for this trunk? DADHI or ZAP?
Comments
You probably need DAHDI, but it seems you have the autoconfig-buttons-freepbx.sh with a typo for Zap trunks... look for the line:
and change it to:
(Add the plus sign before the number 2 and after "tail -n ").
Finally restart fop2:
Best regards,
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:
I even tried setting to
channel=DADHI/1-1
channel=DADHI/2-1
...
Still no luck.
That is not correct, you have to remove the "-1" suffix from the channel name. Use only DAHDI/1, DAHDI/2, etc.
Best regards,
IE I tried first DADHI/1
DADHI/2
...
DADHI != DAHDI
enough said...
Zap is harder to mispell: ZAP, AZP, PAZ
But Dahdi : DADHI, DAHDI, DHADI, they all look the same!