No channel type registered for 'AMP:Local'

Hi All!

When I try to dial a custom trunk “Local/$OUTNUM$@consulta” I get this:

[2014-01-06 12:11:38] WARNING[24413]: channel.c:5711 ast_request: No channel type registered for 'AMP:Local' [2014-01-06 12:11:38] WARNING[24413]: app_dial.c:2345 dial_exec_full: Unable to create channel of type 'AMP:Local' (cause 66 - Channel not implemented)

The problem begun after I updated dahdi from 2.7.0.1 to version 2.8.0.2 (I had to do so, HWEC wasn’t working)

elastix*CLI> dahdi show version
DAHDI Version: 2.8.0.1 Echo Canceller: HWEC

It looks like chan_local.so is being correctly loaded, so I really don’t know what I’m missing here…

Can anybody help me please?

Complete Log:

– Executing [968681291@from-internal:1] Macro(“SIP/4547-00000000”, “user-callerid,LIMIT”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/4547-00000000”, “TOUCH_MONITOR=1389017498.1”) in new stack
– Executing [s@macro-user-callerid:2] Set(“SIP/4547-00000000”, “AMPUSER=4547”) in new stack
– Executing [s@macro-user-callerid:3] GotoIf(“SIP/4547-00000000”, “0?report”) in new stack
– Executing [s@macro-user-callerid:4] ExecIf(“SIP/4547-00000000”, “1?Set(REALCALLERIDNUM=4547)”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/4547-00000000”, “AMPUSER=4547”) in new stack
– Executing [s@macro-user-callerid:6] Set(“SIP/4547-00000000”, “AMPUSERCIDNAME=Cassio eyeBeam”) in new stack
– Executing [s@macro-user-callerid:7] GotoIf(“SIP/4547-00000000”, “0?report”) in new stack
– Executing [s@macro-user-callerid:8] Set(“SIP/4547-00000000”, “AMPUSERCID=4547”) in new stack
– Executing [s@macro-user-callerid:9] Set(“SIP/4547-00000000”, “__DIAL_OPTIONS=Ttr”) in new stack
– Executing [s@macro-user-callerid:10] Set(“SIP/4547-00000000”, “CALLERID(all)=“Cassio eyeBeam” <4547>”) in new stack
– Executing [s@macro-user-callerid:11] GotoIf(“SIP/4547-00000000”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:12] ExecIf(“SIP/4547-00000000”, “1?Set(GROUP(concurrency_limit)=4547)”) in new stack
– Executing [s@macro-user-callerid:13] GosubIf(“SIP/4547-00000000”, “7?sub-ccss,s,1(from-internal,968681291)”) in new stack
– Executing [s@sub-ccss:1] ExecIf(“SIP/4547-00000000”, “0?Return()”) in new stack
– Executing [s@sub-ccss:2] Set(“SIP/4547-00000000”, “CCSS_SETUP=TRUE”) in new stack
– Executing [s@sub-ccss:3] GosubIf(“SIP/4547-00000000”, “0?monitor_config,1(from-internal,968681291):monitor_default,1(from-internal,968681291)”) in new stack
– Executing [monitor_default@sub-ccss:1] GotoIf(“SIP/4547-00000000”, “0?is_exten”) in new stack
– Executing [monitor_default@sub-ccss:2] StackPop(“SIP/4547-00000000”, “”) in new stack
– Executing [monitor_default@sub-ccss:3] Return(“SIP/4547-00000000”, “FALSE”) in new stack
– Executing [s@macro-user-callerid:14] ExecIf(“SIP/4547-00000000”, “1?Set(CHANNEL(language)=pt_BR)”) in new stack
– Executing [s@macro-user-callerid:15] GotoIf(“SIP/4547-00000000”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,28)
– Executing [s@macro-user-callerid:28] Set(“SIP/4547-00000000”, “CALLERID(number)=4547”) in new stack
– Executing [s@macro-user-callerid:29] Set(“SIP/4547-00000000”, “CALLERID(name)=Cassio eyeBeam”) in new stack
– Executing [s@macro-user-callerid:30] Set(“SIP/4547-00000000”, “CDR(cnum)=4547”) in new stack
– Executing [s@macro-user-callerid:31] Set(“SIP/4547-00000000”, “CDR(cnam)=Cassio eyeBeam”) in new stack
– Executing [s@macro-user-callerid:32] Set(“SIP/4547-00000000”, “CHANNEL(language)=pt_BR”) in new stack
– Executing [968681291@from-internal:2] Set(“SIP/4547-00000000”, “ROUTEUSER=4547”) in new stack
– Executing [968681291@from-internal:3] GotoIf(“SIP/4547-00000000”, “0?,968681291,2:outbound-allroutes,968681291,2”) in new stack
– Goto (outbound-allroutes,968681291,2)
– Executing [968681291@outbound-allroutes:2] Set(“SIP/4547-00000000”, “MOHCLASS=default”) in new stack
– Executing [968681291@outbound-allroutes:3] Set(“SIP/4547-00000000”, "NODEST=") in new stack
– Executing [968681291@outbound-allroutes:4] Gosub(“SIP/4547-00000000”, “sub-record-check,s,1(out,968681291,)”) in new stack
– Executing [s@sub-record-check:1] Set(“SIP/4547-00000000”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:2] GotoIf(“SIP/4547-00000000”, “1?check”) in new stack
– Goto (sub-record-check,s,7)
– Executing [s@sub-record-check:7] Set(“SIP/4547-00000000”, “__MON_FMT=wav”) in new stack
– Executing [s@sub-record-check:8] GotoIf(“SIP/4547-00000000”, “1?next”) in new stack
– Goto (sub-record-check,s,11)
– Executing [s@sub-record-check:11] ExecIf(“SIP/4547-00000000”, “0?Return()”) in new stack
– Executing [s@sub-record-check:12] ExecIf(“SIP/4547-00000000”, “0?Set(__REC_POLICY_MODE=)”) in new stack
– Executing [s@sub-record-check:13] GotoIf(“SIP/4547-00000000”, “0?out,1”) in new stack
– Executing [s@sub-record-check:14] Set(“SIP/4547-00000000”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [s@sub-record-check:15] Set(“SIP/4547-00000000”, “NOW=1389017498”) in new stack
– Executing [s@sub-record-check:16] Set(“SIP/4547-00000000”, “__DAY=06”) in new stack
– Executing [s@sub-record-check:17] Set(“SIP/4547-00000000”, “__MONTH=01”) in new stack
– Executing [s@sub-record-check:18] Set(“SIP/4547-00000000”, “__YEAR=2014”) in new stack
– Executing [s@sub-record-check:19] Set(“SIP/4547-00000000”, “__TIMESTR=20140106-121138”) in new stack
– Executing [s@sub-record-check:20] Set(“SIP/4547-00000000”, “__FROMEXTEN=4547”) in new stack
– Executing [s@sub-record-check:21] Set(“SIP/4547-00000000”, “__CALLFILENAME=out-968681291-4547-20140106-121138-1389017498.1”) in new stack
– Executing [s@sub-record-check:22] Goto(“SIP/4547-00000000”, “out,1”) in new stack
– Goto (sub-record-check,out,1)
– Executing [out@sub-record-check:1] ExecIf(“SIP/4547-00000000”, “1?Set(__REC_POLICY_MODE=always)”) in new stack
– Executing [out@sub-record-check:2] GosubIf(“SIP/4547-00000000”, “1?record,1(exten,968681291,4547)”) in new stack
– Executing [record@sub-record-check:1] Set(“SIP/4547-00000000”, “AUDIOHOOK_INHERIT(MixMonitor)=yes”) in new stack
– Executing [record@sub-record-check:2] MixMonitor(“SIP/4547-00000000”, “2014/01/06/out-968681291-4547-20140106-121138-1389017498.1.wav,/usr/local/parselog/update_mix_mixmonitor.pl ^{UNIQUEID} ^{MIXMONITOR_FILENAME}”) in new stack
– Executing [record@sub-record-check:3] Set(“SIP/4547-00000000”, “__REC_STATUS=RECORDING”) in new stack
== Begin MixMonitor Recording SIP/4547-00000000
– Executing [record@sub-record-check:4] Set(“SIP/4547-00000000”, “CDR(recordingfile)=out-968681291-4547-20140106-121138-1389017498.1.wav”) in new stack
– Executing [record@sub-record-check:5] Return(“SIP/4547-00000000”, “”) in new stack
– Executing [out@sub-record-check:3] Return(“SIP/4547-00000000”, “”) in new stack
– Executing [968681291@outbound-allroutes:5] Macro(“SIP/4547-00000000”, “dialout-trunk,13,11968681291,off”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“SIP/4547-00000000”, “DIAL_TRUNK=13”) in new stack
– Executing [s@macro-dialout-trunk:2] GosubIf(“SIP/4547-00000000”, “0?sub-pincheck,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/4547-00000000”, “0?disabletrunk,1”) in new stack
– Executing [s@macro-dialout-trunk:4] Set(“SIP/4547-00000000”, “DIAL_NUMBER=11968681291”) in new stack
– Executing [s@macro-dialout-trunk:5] Set(“SIP/4547-00000000”, “DIAL_TRUNK_OPTIONS=Ttr”) in new stack
– Executing [s@macro-dialout-trunk:6] Set(“SIP/4547-00000000”, “OUTBOUND_GROUP=OUT_13”) in new stack
– Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/4547-00000000”, “1?nomax”) in new stack
– Goto (macro-dialout-trunk,s,9)
– Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/4547-00000000”, “0?skipoutcid”) in new stack
– Executing [s@macro-dialout-trunk:10] Set(“SIP/4547-00000000”, “DIAL_TRUNK_OPTIONS=Tt”) in new stack
– Executing [s@macro-dialout-trunk:11] Macro(“SIP/4547-00000000”, “outbound-callerid,13”) in new stack
– Executing [s@macro-outbound-callerid:1] ExecIf(“SIP/4547-00000000”, “0?Set(CALLERPRES()=)”) in new stack
– Executing [s@macro-outbound-callerid:2] ExecIf(“SIP/4547-00000000”, “0?Set(REALCALLERIDNUM=4547)”) in new stack
– Executing [s@macro-outbound-callerid:3] GotoIf(“SIP/4547-00000000”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,6)
– Executing [s@macro-outbound-callerid:6] Set(“SIP/4547-00000000”, “USEROUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:7] Set(“SIP/4547-00000000”, “EMERGENCYCID=”) in new stack
– Executing [s@macro-outbound-callerid:8] Set(“SIP/4547-00000000”, “TRUNKOUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:9] GotoIf(“SIP/4547-00000000”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,14)
– Executing [s@macro-outbound-callerid:14] ExecIf(“SIP/4547-00000000”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:15] ExecIf(“SIP/4547-00000000”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:16] ExecIf(“SIP/4547-00000000”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:17] ExecIf(“SIP/4547-00000000”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:18] Set(“SIP/4547-00000000”, “CDR(outbound_cnum)=4547”) in new stack
– Executing [s@macro-outbound-callerid:19] Set(“SIP/4547-00000000”, “CDR(outbound_cnam)=Cassio eyeBeam”) in new stack
– Executing [s@macro-dialout-trunk:12] GosubIf(“SIP/4547-00000000”, “0?sub-flp-13,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:13] Set(“SIP/4547-00000000”, “OUTNUM=11968681291”) in new stack
– Executing [s@macro-dialout-trunk:14] Set(“SIP/4547-00000000”, “custom=AMP”) in new stack
– Executing [s@macro-dialout-trunk:15] ExecIf(“SIP/4547-00000000”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)”) in new stack
– Executing [s@macro-dialout-trunk:16] ExecIf(“SIP/4547-00000000”, “0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))”) in new stack
– Executing [s@macro-dialout-trunk:17] Macro(“SIP/4547-00000000”, “dialout-trunk-predial-hook,”) in new stack
– Executing [s@macro-dialout-trunk-predial-hook:1] NoOp(“SIP/4547-00000000”, “Test Track Outbound”) in new stack
– Executing [s@macro-dialout-trunk-predial-hook:2] NoOp(“SIP/4547-00000000”, “Trunk is AMP:Local/$OUTNUM$@consulta”) in new stack
– Executing [s@macro-dialout-trunk-predial-hook:3] NoOp(“SIP/4547-00000000”, “Dialout number is 11968681291”) in new stack
– Executing [s@macro-dialout-trunk-predial-hook:4] NoOp(“SIP/4547-00000000”, “Dial options are Tt”) in new stack
– Executing [s@macro-dialout-trunk-predial-hook:5] GotoIf(“SIP/4547-00000000”, “1?bypass”) in new stack
– Goto (macro-dialout-trunk-predial-hook,s,8)
– Executing [s@macro-dialout-trunk-predial-hook:8] Set(“SIP/4547-00000000”, “PREDIAL_HOOK_RET=BYPASS”) in new stack
– Executing [s@macro-dialout-trunk-predial-hook:9] Goto(“SIP/4547-00000000”, “queuedial,11968681291,1”) in new stack
– Goto (queuedial,11968681291,1)
== Channel ‘SIP/4547-00000000’ jumping out of macro ‘dialout-trunk-predial-hook’
== Channel ‘SIP/4547-00000000’ jumping out of macro ‘dialout-trunk’
– Executing [11968681291@queuedial:1] Set(“SIP/4547-00000000”, “QDIALER_QUEUE=10”) in new stack
– Executing [11968681291@queuedial:2] Set(“SIP/4547-00000000”, “QDIALER_AGENT=Cassio eyeBeam”) in new stack
– Executing [11968681291@queuedial:3] Set(“SIP/4547-00000000”, “QDIALER_CHANNEL=AMP:Local/$OUTNUM$@consulta/11968681291”) in new stack
– Executing [11968681291@queuedial:4] Set(“SIP/4547-00000000”, “QueueName=10”) in new stack
– Executing [11968681291@queuedial:5] MixMonitor(“SIP/4547-00000000”, “10-1389017498.1.wav,b,/usr/local/parselog/update_mix_mixmonitor.pl 1389017498.1 10-1389017498.1.wav”) in new stack
– Executing [11968681291@queuedial:6] Goto(“SIP/4547-00000000”, “qlog-queuedial,11968681291,1”) in new stack
== Begin MixMonitor Recording SIP/4547-00000000
– Goto (qlog-queuedial,11968681291,1)
– Executing [11968681291@qlog-queuedial:1] NoOp(“SIP/4547-00000000”, “Outbound call -> A:Cassio eyeBeam N:11968681291 Q:10 Ch:AMP:Local/$OUTNUM$@consulta/11968681291”) in new stack
– Executing [11968681291@qlog-queuedial:2] Set(“SIP/4547-00000000”, “ST=1389017498”) in new stack
[2014-01-06 12:11:38] WARNING[24413]: pbx.c:4507 pbx_substitute_variables_helper_full: Error in extension logic (missing ‘}’)
[2014-01-06 12:11:38] WARNING[24413]: pbx.c:4010 func_args: Can’t find trailing parenthesis for function 'REPLACE(QDIALER_AGENT, ,
’?
– Executing [11968681291@qlog-queuedial:3] Set(“SIP/4547-00000000”, “GM=Cassio_eyeBeam”) in new stack
– Executing [11968681291@qlog-queuedial:4] Set(“SIP/4547-00000000”, “GLOBAL(Cassio_eyeBeam)=U”) in new stack
== Setting global variable ‘Cassio_eyeBeam’ to ‘U’
– Executing [11968681291@qlog-queuedial:5] Set(“SIP/4547-00000000”, “GLOBAL(Cassio_eyeBeamans)=0”) in new stack
== Setting global variable ‘Cassio_eyeBeamans’ to ‘0’
– Executing [11968681291@qlog-queuedial:6] Macro(“SIP/4547-00000000”, “queuelog,1389017498,1389017498.1,10,Cassio eyeBeam,ENTERQUEUE,-,11968681291”) in new stack
– Executing [s@macro-queuelog:1] QueueLog(“SIP/4547-00000000”, “10,1389017498.1,Cassio eyeBeam,ENTERQUEUE,-|11968681291|”) in new stack
– Executing [11968681291@qlog-queuedial:7] Dial(“SIP/4547-00000000”, “AMP:Local/$OUTNUM$@consulta/11968681291,300,gM(queuedial-answer^1389017498.1^Cassio_eyeBeam^10^Cassio eyeBeam^1389017498)”) in new stack
[2014-01-06 12:11:38] WARNING[24413]: channel.c:5711 ast_request: No channel type registered for ‘AMP:Local’
[2014-01-06 12:11:38] WARNING[24413]: app_dial.c:2345 dial_exec_full: Unable to create channel of type ‘AMP:Local’ (cause 66 - Channel not implemented)
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [11968681291@qlog-queuedial:8] Set(“SIP/4547-00000000”, “CAUSECOMPLETE=”) in new stack
– Auto fallthrough, channel ‘SIP/4547-00000000’ status is ‘CHANUNAVAIL’
[2014-01-06 12:11:38] WARNING[24413]: channel.c:4753 ast_prod: Prodding channel ‘SIP/4547-00000000’ failed
– Executing [h@qlog-queuedial:1] NoOp(“SIP/4547-00000000”, " “Call exiting: status U answered at: 0 DS: CHANUNAVAIL” ") in new stack
– Executing [h@qlog-queuedial:2] Set(“SIP/4547-00000000”, “DB(LASTDIAL/Cassio eyeBeam)=1389017498”) in new stack
[2014-01-06 12:11:38] WARNING[24413]: pbx.c:10552 pbx_builtin_setvar: Please avoid unnecessary spaces on variables as it may lead to unexpected results (‘DB(LASTDIAL/Cassio eyeBeam)’ set to ‘1389017498’).
– Executing [h@qlog-queuedial:3] Goto(“SIP/4547-00000000”, “case-U”) in new stack
– Goto (qlog-queuedial,h,5)
– Executing [h@qlog-queuedial:5] Set(“SIP/4547-00000000”, “WT=0”) in new stack
– Executing [h@qlog-queuedial:6] Macro(“SIP/4547-00000000”, “queuelog,1389017498,1389017498.1,10,Cassio eyeBeam,ABANDON,1,1,0”) in new stack
– Executing [s@macro-queuelog:1] QueueLog(“SIP/4547-00000000”, “10,1389017498.1,Cassio eyeBeam,ABANDON,1|1|0”) in new stack
– Executing [h@qlog-queuedial:7] Hangup(“SIP/4547-00000000”, “”) in new stack
== Spawn extension (qlog-queuedial, h, 7) exited non-zero on ‘SIP/4547-00000000’
== Executing [/usr/local/parselog/update_mix_mixmonitor.pl 1389017498.1 10-1389017498.1.wav]

Any help is really appreciated.

Best Regards,

Cassio

From your post:-

– Executing [11968681291@queuedial:3] Set(“SIP/4547-00000000”, “QDIALER_CHANNEL=AMP:Local/$OUTNUM$@consulta/11968681291”) in new stack

apparently your queuemetric setup is confusing the dialplan with it’s “AMP:”

Thank you very much, you pointed me on the right direction. It is something related to Asternic Stats outgoing call monitoring, disabling it solved the problem.