Custom Trunk Error

Hello,

can someone help me, the config of my Custom Trunk is wrong.

Manually it works like this:

extensions_custom.conf
[capitest]
exten => 954,1,Dial(CAPI/ISDN1/954/b)

In Freepbx I defined a new custom Trunk:

Trunkname: CAPI
Maximum Channels: 2
Number Manipulation Rules: + 99 | .
Custom Dial String: I tried 3 different:
CAPI/ISDN1/${EXTEN}:2
CAPI/ISDN1/954
CAPI/ISDN1/954/b

and a new Outbound Route:
Route name: ISDNout
Number Manipulation Rules: + 99 | .
Trunk Sequence for Matched Routes: 0 CAPI

The logs tell me:
It tried to call /954. Correctly it should be CAPI/ISDN1/954.
So it tells me: "No channel type registered for ‘’"
Which leads to “Unable to create channel of type ‘’ (cause 66 - Channel not implemented)”

What am I doing wrong?

Thanks for your help :slight_smile:
gna

I tried
CAPI/ISDN1/$OUTNUM$/b
CAPI/ISDN1/$OUTNUM$
CAPI/ISDN1/$OUTNUM$/bt
CAPI/g1/$OUTNUM$

tried also
context=from-pstn
=from-trunk
=from-internal
=capi-in (with capi-in including from-pstn)

Without success.

I read that I have to set Outbound Caller ID to the MSN in capi.conf. What is this Number? There are 2 capi.conf, both don’t seem to contain it. Should it be the incomingmsn then its set to *.

My guess is that something is wrong with the Custom Dial String or with the /etc/asterisk/capi.conf. But I did every change that was mentioned on the first 4 google hits, without any success…

Can anyone tell me what is wrong?