Unable to determine channel for data trunk_1

I’ve installed the following on a PC running Ubuntu 9.04:


I have an analog telephone working on my FXS (TDM11B), a PSTN line as a trunk on the FXO (X100P), and a SIP softphone. Station-to-station and incoming calls on the trunk work fine but all attempts at out-calling from either analog set or SIP phone result in the following:

[Jul 6 15:50:01] WARNING[8889] chan_dahdi.c: Unable to determine channel for data trunk_1/
[Jul 6 15:50:01] WARNING[8889] app_dial.c: Unable to create channel of type ‘DAHDI’ (cause 0 - Unknown)

NOTE: All administration to-date has been via the GUI.


OK - still digging, time permitting. Looked at dahdi_request in chan_dahdi.c and see that it’s attempting to parse trunk_1 as a DAHDI channel. Something’s awry.

Grasping at straws, noted the following in extensions.conf:

trunk_1 = DAHDI/trunk_1

Changed it to the following and outbound calling now works:

trunk_1 = DAHDI/1

Again, I’m using the GUI for all administration (minus this tweak). I see no way to define spans or trunk groups in the GUI. Outgoing Calling Rules prompt for an individual trunk and not a group or span - nor does the Trunks screen have any group or span attributes.

What am I missing?

Change DAHDI/trunk_1 to DAHDI/g1

Also see this as potentially a solution… maybe completely wrong.


If you’re having issues after that, maybe it’s this. :stuck_out_tongue:

issues.asterisk.org/bug_view_ad … g_id=14577