[Solved] DAHDI error on debian

Hello there!

I have some trouble with my asterisk installed on Debian VM :

WARNING[8182][C-00000018]: channel.c:6261 ast_request: No channel type registered for 'DAHDI'
WARNING[8182][C-00000018]: app_dial.c:2530 dial_exec_full: Unable to create channel of type 'DAHDI' (cause 66 - Channel not implemented)

The thing is we don’t use DAHDI, its not configured in our solution.
I used verbose startup, look across all configuration files, read all related posts on asterisk forum but nothing help me.

Anyone have an idea?

Are you using the MeetMe app? It requires DAHDi. If not, please post the entire conversation and this section of the dialplan so we can see where it’s failing.

This is the Dial application. It’s not an artefact of meetme. Either dialplan or Originate really is trying to invoke dahdi.

I wonder if a sample configuration file has been left in and someone is attacking that.

Logs at at least verbosity 3 are needed.

Hi guys,

Today no DAHDI error but i have this “Forbidden” and “Unknown DYNAMIC_FEATURES item” :

[Sep 22 14:36:10]   == Using SIP RTP CoS mark 5
[Sep 22 14:36:10]     -- Executing [00223253100@rennes:1] Set("SIP/204-00000027", "CALLERID(num)=299863000") in new stack
[Sep 22 14:36:10]     -- Executing [00223253100@rennes:2] Dial("SIP/204-00000027", "SIP/0223253100@0033972462487,180,tT") in new stack
[Sep 22 14:36:10]   == Using SIP RTP CoS mark 5
[Sep 22 14:36:10]     -- Called SIP/0223253100@0033972462487
[Sep 22 14:36:10] WARNING[21876][C-00000018]: chan_sip.c:24065 handle_response_invite: Received response: "Forbidden" from '"Thierry" <sip:0033972462487@siptrunk.ovh.net>;tag=as658c3d60'
[Sep 22 14:36:10]   == Everyone is busy/congested at this time (1:0/0/1)
[Sep 22 14:36:10]     -- Executing [00223253100@rennes:3] NoOp("SIP/204-00000027", " Dial Status: CHANUNAVAIL") in new stack
[Sep 22 14:36:10]     -- Executing [00223253100@rennes:4] Set("SIP/204-00000027", "numero=00223253100") in new stack
[Sep 22 14:36:10]     -- Executing [00223253100@rennes:5] Goto("SIP/204-00000027", "s2-CHANUNAVAIL,1") in new stack
[Sep 22 14:36:10]     -- Goto (rennes,s2-CHANUNAVAIL,1)
[Sep 22 14:36:10]     -- Executing [s2-CHANUNAVAIL@rennes:1] Dial("SIP/204-00000027", "SIP/0223253100@0033972421682,180,tT") in new stack
[Sep 22 14:36:10]   == Using SIP RTP CoS mark 5
[Sep 22 14:36:10]     -- Called SIP/0223253100@0033972421682
[Sep 22 14:36:10] WARNING[21876][C-00000018]: chan_sip.c:24065 handle_response_invite: Received response: "Forbidden" from '"Thierry" <sip:0033972421682@siptrunk.ovh.net>;tag=as1e710ee9'
[Sep 22 14:36:10]   == Everyone is busy/congested at this time (1:0/0/1)
[Sep 22 14:36:10]     -- Executing [s2-CHANUNAVAIL@rennes:2] Goto("SIP/204-00000027", "s3-CHANUNAVAIL,1") in new stack
[Sep 22 14:36:10]     -- Goto (rennes,s3-CHANUNAVAIL,1)
[Sep 22 14:36:10]     -- Executing [s3-CHANUNAVAIL@rennes:1] PlayTones("SIP/204-00000027", "congestion") in new stack
[Sep 22 14:36:10]     -- Executing [s3-CHANUNAVAIL@rennes:2] Congestion("SIP/204-00000027", "") in new stack
[Sep 22 14:36:10]   == Spawn extension (rennes, s3-CHANUNAVAIL, 2) exited non-zero on 'SIP/204-00000027'
[Sep 22 14:38:03]   == Using SIP RTP CoS mark 5
[Sep 22 14:38:03]     -- Executing [00223253103@rennes:1] Set("SIP/204-0000002a", "CALLERID(num)=299863000") in new stack
[Sep 22 14:38:03]     -- Executing [00223253103@rennes:2] Dial("SIP/204-0000002a", "SIP/0223253103@0033972462487,180,tT") in new stack
[Sep 22 14:38:03]   == Using SIP RTP CoS mark 5
[Sep 22 14:38:03]     -- Called SIP/0223253103@0033972462487
[Sep 22 14:38:03] WARNING[21876][C-00000019]: chan_sip.c:24065 handle_response_invite: Received response: "Forbidden" from '"Thierry" <sip:0033972462487@siptrunk.ovh.net>;tag=as7fbdc4b3'
[Sep 22 14:38:03]   == Everyone is busy/congested at this time (1:0/0/1)
[Sep 22 14:38:03]     -- Executing [00223253103@rennes:3] NoOp("SIP/204-0000002a", " Dial Status: CHANUNAVAIL") in new stack
[Sep 22 14:38:03]     -- Executing [00223253103@rennes:4] Set("SIP/204-0000002a", "numero=00223253103") in new stack
[Sep 22 14:38:03]     -- Executing [00223253103@rennes:5] Goto("SIP/204-0000002a", "s2-CHANUNAVAIL,1") in new stack
[Sep 22 14:38:03]     -- Goto (rennes,s2-CHANUNAVAIL,1)
[Sep 22 14:38:03]     -- Executing [s2-CHANUNAVAIL@rennes:1] Dial("SIP/204-0000002a", "SIP/0223253103@0033972421682,180,tT") in new stack
[Sep 22 14:38:03]   == Using SIP RTP CoS mark 5
[Sep 22 14:38:03]     -- Called SIP/0223253103@0033972421682
[Sep 22 14:38:03] WARNING[21876][C-00000019]: chan_sip.c:24065 handle_response_invite: Received response: "Forbidden" from '"Thierry" <sip:0033972421682@siptrunk.ovh.net>;tag=as054db5c6'
[Sep 22 14:38:03]   == Everyone is busy/congested at this time (1:0/0/1)
[Sep 22 14:38:03]     -- Executing [s2-CHANUNAVAIL@rennes:2] Goto("SIP/204-0000002a", "s3-CHANUNAVAIL,1") in new stack
[Sep 22 14:38:03]     -- Goto (rennes,s3-CHANUNAVAIL,1)
[Sep 22 14:38:03]     -- Executing [s3-CHANUNAVAIL@rennes:1] PlayTones("SIP/204-0000002a", "congestion") in new stack
[Sep 22 14:38:03]     -- Executing [s3-CHANUNAVAIL@rennes:2] Congestion("SIP/204-0000002a", "") in new stack
[Sep 22 14:38:03]   == Spawn extension (rennes, s3-CHANUNAVAIL, 2) exited non-zero on 'SIP/204-0000002a'
[Sep 22 14:41:45]        > Saved useragent "snom821/8.7.5.44" for peer 108
[Sep 22 09:42:43]     -- Executing [105@interne:9] Dial("SIP/100-00000061", "SIP/105,30,xXtT") in new stack
[Sep 22 09:42:43]   == Using SIP VIDEO CoS mark 6
[Sep 22 09:42:43]   == Using SIP RTP CoS mark 5
[Sep 22 09:42:43]   == Extension Changed 105[default] new state Ringing for Notify User 111 
[Sep 22 09:42:43]   == Extension Changed 105[default] new state Ringing for Notify User 108 
[Sep 22 09:42:43]   == Extension Changed 105[default] new state Ringing for Notify User 100 
[Sep 22 09:42:43]   == Extension Changed 105[default] new state Ringing for Notify User 103 
[Sep 22 09:42:43]   == Extension Changed 105[default] new state Ringing for Notify User 101 
[Sep 22 09:42:43]   == Extension Changed 105[default] new state Ringing for Notify User 106 
[Sep 22 09:42:43]   == Extension Changed 105[default] new state Ringing for Notify User 110 
[Sep 22 09:42:43]   == Extension Changed 105[default] new state Ringing for Notify User 104 
[Sep 22 09:42:43]   == Extension Changed 105[default] new state Ringing for Notify User 102 
[Sep 22 09:42:43]   == Extension Changed 105[default] new state Ringing for Notify User 112 
[Sep 22 09:42:43]   == Extension Changed 105[default] new state Ringing for Notify User 304 
[Sep 22 09:42:43]     -- Called SIP/105
[Sep 22 09:42:43]     -- SIP/105-00000062 is ringing
[Sep 22 09:42:47]     -- SIP/105-00000062 answered SIP/100-00000061
[Sep 22 09:42:47]   == Extension Changed 105[default] new state InUse for Notify User 111 
[Sep 22 09:42:47]   == Extension Changed 105[default] new state InUse for Notify User 108 
[Sep 22 09:42:47]   == Extension Changed 105[default] new state InUse for Notify User 100 
[Sep 22 09:42:47]   == Extension Changed 105[default] new state InUse for Notify User 103 
[Sep 22 09:42:47]   == Extension Changed 105[default] new state InUse for Notify User 101 
[Sep 22 09:42:47]   == Extension Changed 105[default] new state InUse for Notify User 106 
[Sep 22 09:42:47]   == Extension Changed 105[default] new state InUse for Notify User 110 
[Sep 22 09:42:47]   == Extension Changed 105[default] new state InUse for Notify User 104 
[Sep 22 09:42:47]   == Extension Changed 105[default] new state InUse for Notify User 102 
[Sep 22 09:42:47]   == Extension Changed 105[default] new state InUse for Notify User 112 
[Sep 22 09:42:47]   == Extension Changed 105[default] new state InUse for Notify User 304 
[Sep 22 09:42:47] WARNING[13720][C-00000040]: features_config.c:1349 ast_get_chan_applicationmap: Unknown DYNAMIC_FEATURES item 'automon' on channel SIP/105-00000062.
[Sep 22 09:42:47]     -- Channel SIP/105-00000062 joined 'simple_bridge' basic-bridge <7704ea96-7325-4cdd-bba5-fc55af6155a2>
[Sep 22 09:42:47] WARNING[13717][C-00000040]: features_config.c:1349 ast_get_chan_applicationmap: Unknown DYNAMIC_FEATURES item 'automon' on channel SIP/100-00000061.
[Sep 22 09:42:47]     -- Channel SIP/100-00000061 joined 'simple_bridge' basic-bridge <7704ea96-7325-4cdd-bba5-fc55af6155a2>
[Sep 22 09:42:48]        > 0x45798e0 -- Probation passed - setting RTP source address to 192.168.12.100:65052
[Sep 22 09:42:48]        > 0x456fda0 -- Probation passed - setting RTP source address to 192.168.12.105:5004
[Sep 22 09:42:53]     -- Started music on hold, class 'default', on channel 'SIP/105-00000062'
[Sep 22 09:42:54]     -- Channel SIP/0033972421682-0000005f left 'simple_bridge' basic-bridge <97faba97-eda2-4b07-b7b5-da3b9446d465>
[Sep 22 09:42:54]     -- Channel SIP/100-00000061 left 'simple_bridge' basic-bridge <7704ea96-7325-4cdd-bba5-fc55af6155a2>
[Sep 22 09:42:54]     -- Channel SIP/0033972421682-0000005f swapped with SIP/100-00000061 into 'simple_bridge' basic-bridge <7704ea96-7325-4cdd-bba5-fc55af6155a2>
[Sep 22 09:42:54]     -- Stopped music on hold on SIP/105-00000062
[Sep 22 09:42:54]   == Spawn extension (interne, 105, 9) exited non-zero on 'SIP/100-00000061'
[Sep 22 09:42:54]     -- Channel SIP/100-00000060 left 'simple_bridge' basic-bridge <97faba97-eda2-4b07-b7b5-da3b9446d465>
[Sep 22 09:42:54]   == Extension Changed 100[default] new state Idle for Notify User 111 
[Sep 22 09:42:54]   == Extension Changed 100[default] new state Idle for Notify User 102 
[Sep 22 09:42:54]   == Extension Changed 100[default] new state Idle for Notify User 112 
[Sep 22 09:42:54]   == Extension Changed 100[default] new state Idle for Notify User 106 
[Sep 22 09:42:54]   == Extension Changed 100[default] new state Idle for Notify User 104 
[Sep 22 09:42:54]   == Extension Changed 100[default] new state Idle for Notify User 105 
[Sep 22 09:42:54]   == Extension Changed 100[default] new state Idle for Notify User 103 
[Sep 22 09:42:54]   == Extension Changed 100[default] new state Idle for Notify User 110 
[Sep 22 09:42:54]   == Extension Changed 100[default] new state Idle for Notify User 101 
[Sep 22 09:42:54]   == Extension Changed 100[default] new state Idle for Notify User 304 
[Sep 22 09:42:54]     -- Stopped music on hold on SIP/0033972421682-0000005f
[Sep 22 09:44:44]     -- Channel SIP/0033972421682-0000005f left 'simple_bridge' basic-bridge <7704ea96-7325-4cdd-bba5-fc55af6155a2>
[Sep 22 09:44:44]     -- Channel SIP/105-00000062 left 'simple_bridge' basic-bridge <7704ea96-7325-4cdd-bba5-fc55af6155a2>
[Sep 22 09:44:44]   == Extension Changed 105[default] new state Idle for Notify User 111 
[Sep 22 09:44:44]   == Extension Changed 105[default] new state Idle for Notify User 108 
[Sep 22 09:44:44]   == Extension Changed 105[default] new state Idle for Notify User 100 
[Sep 22 09:44:44]   == Extension Changed 105[default] new state Idle for Notify User 103 
[Sep 22 09:44:44]   == Extension Changed 105[default] new state Idle for Notify User 101 
[Sep 22 09:44:44]   == Extension Changed 105[default] new state Idle for Notify User 106 
[Sep 22 09:44:44]   == Extension Changed 105[default] new state Idle for Notify User 110 
[Sep 22 09:44:44]   == Extension Changed 105[default] new state Idle for Notify User 104 
[Sep 22 09:44:44]   == Extension Changed 105[default] new state Idle for Notify User 102 
[Sep 22 09:44:44]   == Extension Changed 105[default] new state Idle for Notify User 112 
[Sep 22 09:44:44]   == Extension Changed 105[default] new state Idle for Notify User 304 
[Sep 22 09:44:44]   == Spawn extension (ft-in, 1186, 13) exited non-zero on 'SIP/0033972421682-0000005f'
[Sep 22 09:44:44]     -- Executing [h@ft-in:1] TrySystem("SIP/0033972421682-0000005f", "/usr/local/bin/message2.sh") in new stack
[Sep 22 09:46:15]   == Using SIP RTP CoS mark 5
[Sep 22 09:46:15]     -- Executing [s@ovh-in:1] Goto("SIP/0033972421682-00000063", "ovh-in,0252350576,1") in new stack
[Sep 22 09:46:15]     -- Goto (ovh-in,0252350576,1)
[Sep 22 09:46:15]     -- Executing [0252350576@ovh-in:1] Set("SIP/0033972421682-00000063", "entrant=0252350576,g") in new stack
[Sep 22 09:46:15]     -- Executing [0252350576@ovh-in:2] Goto("SIP/0033972421682-00000063", "anjou-in,s,1") in new stack
[Sep 22 09:46:15]     -- Goto (anjou-in,s,1)
[Sep 22 09:46:15]     -- Executing [s@anjou-in:1] AGI("SIP/0033972421682-00000063", "callerid,0252350576,g") in new stack
[Sep 22 09:46:15]     -- Launched AGI Script /var/lib/asterisk/agi-bin/callerid
[Sep 22 09:46:15]     -- <SIP/0033972421682-00000063>AGI Script callerid completed, returning 0
[Sep 22 09:46:15]     -- Executing [s@anjou-in:2] AGI("SIP/0033972421682-00000063", "ouverture,0252350576,g") in new stack
[Sep 22 09:46:15]     -- Launched AGI Script /var/lib/asterisk/agi-bin/ouverture
[Sep 22 09:46:15]     -- <SIP/0033972421682-00000063>AGI Script ouverture completed, returning 0
[Sep 22 09:46:15]     -- Executing [s@anjou-in:3] GotoIf("SIP/0033972421682-00000063", "0?4:13") in new stack
[Sep 22 09:46:15]     -- Goto (anjou-in,s,13)
[Sep 22 09:46:15]     -- Executing [s@anjou-in:13] VoiceMail("SIP/0033972421682-00000063", "300@default,u") in new stack
[Sep 22 09:46:15]     -- <SIP/0033972421682-00000063> Playing 'vm-theperson.gsm' (language 'fr')
[Sep 22 09:46:15]        > 0x454fc60 -- Probation passed - setting RTP source address to 91.121.129.141:34514
[Sep 22 09:46:17]     -- <SIP/0033972421682-00000063> Playing 'digits/3.gsm' (language 'fr')
[Sep 22 09:46:17]     -- <SIP/0033972421682-00000063> Playing 'digits/0.gsm' (language 'fr')
[Sep 22 09:46:18]     -- <SIP/0033972421682-00000063> Playing 'digits/0.gsm' (language 'fr')
[Sep 22 09:46:19]     -- <SIP/0033972421682-00000063> Playing 'vm-isunavail.gsm' (language 'fr')
[Sep 22 09:46:20]     -- <SIP/0033972421682-00000063> Playing 'vm-intro.gsm' (language 'fr')
[Sep 22 09:46:21]   == Using SIP RTP CoS mark 5
[Sep 22 09:46:21]     -- Executing [s@ovh-in:1] Goto("SIP/0033972421682-00000064", "ovh-in,0296481186,1") in new stack
[Sep 22 09:46:21]     -- Goto (ovh-in,0296481186,1)
[Sep 22 09:46:21]     -- Executing [0296481186@ovh-in:1] Set("SIP/0033972421682-00000064", "entrant=0296481186,g") in new stack
[Sep 22 09:46:21]     -- Executing [0296481186@ovh-in:2] Goto("SIP/0033972421682-00000064", "ft-in,1186,1") in new stack
[Sep 22 09:46:21]     -- Goto (ft-in,1186,1)
[Sep 22 09:46:21]     -- Executing [1186@ft-in:1] AGI("SIP/0033972421682-00000064", "callerid,0296481186,g") in new stack
[Sep 22 09:46:21]     -- Launched AGI Script /var/lib/asterisk/agi-bin/callerid
[Sep 22 09:46:21]     -- <SIP/0033972421682-00000064>AGI Script callerid completed, returning 0
[Sep 22 09:46:21]     -- Executing [1186@ft-in:2] AGI("SIP/0033972421682-00000064", "ouverture,0296481186,g") in new stack
[Sep 22 09:46:21]     -- Launched AGI Script /var/lib/asterisk/agi-bin/ouverture
[Sep 22 09:46:21]     -- <SIP/0033972421682-00000064>AGI Script ouverture completed, returning 0
[Sep 22 09:46:21]     -- Executing [1186@ft-in:3] GotoIf("SIP/0033972421682-00000064", "0?4:12") in new stack
[Sep 22 09:46:21]     -- Goto (ft-in,1186,12)
[Sep 22 09:46:21]     -- Executing [1186@ft-in:12] Set("SIP/0033972421682-00000064", "CHANNEL(language)=fr") in new stack
[Sep 22 09:46:21]     -- Executing [1186@ft-in:13] Dial("SIP/0033972421682-00000064", "SIP/100,5,tT") in new stack
[Sep 22 09:46:21]   == Using SIP RTP CoS mark 5

I will start asking who wrote the dialplan?

Not me, my collegue.

OVH is rejecting your call, ask them what it is wrong

Hello,

According to OVH, there is no trouble.
But we still can’t make outgoing calls without perform an core restart.
We planned to migrate our asterisk and rewrite configuration files.

Hello there,

We have another VM running the same asterisk’s configuration and after a reboot (initiate by the service provider) asterisk restarted. Issue has been solved by shutting down the services.

Thanks.