No channel type registered for 'AMP:Local'

Hi All!

When I try to dial a custom trunk “Local/[email protected]” 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 [[email protected]:1] Macro(“SIP/4547-00000000”, “user-callerid,LIMIT”) in new stack
– Executing [[email protected]:1] Set(“SIP/4547-00000000”, “TOUCH_MONITOR=1389017498.1”) in new stack
– Executing [[email protected]:2] Set(“SIP/4547-00000000”, “AMPUSER=4547”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/4547-00000000”, “0?report”) in new stack
– Executing [[email protected]:4] ExecIf(“SIP/4547-00000000”, “1?Set(REALCALLERIDNUM=4547)”) in new stack
– Executing [[email protected]:5] Set(“SIP/4547-00000000”, “AMPUSER=4547”) in new stack
– Executing [[email protected]:6] Set(“SIP/4547-00000000”, “AMPUSERCIDNAME=Cassio eyeBeam”) in new stack
– Executing [[email protected]:7] GotoIf(“SIP/4547-00000000”, “0?report”) in new stack
– Executing [[email protected]:8] Set(“SIP/4547-00000000”, “AMPUSERCID=4547”) in new stack
– Executing [[email protected]:9] Set(“SIP/4547-00000000”, “__DIAL_OPTIONS=Ttr”) in new stack
– Executing [[email protected]:10] Set(“SIP/4547-00000000”, “CALLERID(all)=“Cassio eyeBeam” <4547>”) in new stack
– Executing [[email protected]:11] GotoIf(“SIP/4547-00000000”, “0?limit”) in new stack
– Executing [[email protected]:12] ExecIf(“SIP/4547-00000000”, “1?Set(GROUP(concurrency_limit)=4547)”) in new stack
– Executing [[email protected]:13] GosubIf(“SIP/4547-00000000”, “7?sub-ccss,s,1(from-internal,968681291)”) in new stack
– Executing [[email protected]:1] ExecIf(“SIP/4547-00000000”, “0?Return()”) in new stack
– Executing [[email protected]:2] Set(“SIP/4547-00000000”, “CCSS_SETUP=TRUE”) in new stack
– Executing [[email protected]:3] GosubIf(“SIP/4547-00000000”, “0?monitor_config,1(from-internal,968681291):monitor_default,1(from-internal,968681291)”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/4547-00000000”, “0?is_exten”) in new stack
– Executing [[email protected]:2] StackPop(“SIP/4547-00000000”, “”) in new stack
– Executing [[email protected]:3] Return(“SIP/4547-00000000”, “FALSE”) in new stack
– Executing [[email protected]:14] ExecIf(“SIP/4547-00000000”, “1?Set(CHANNEL(language)=pt_BR)”) in new stack
– Executing [[email protected]:15] GotoIf(“SIP/4547-00000000”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,28)
– Executing [[email protected]:28] Set(“SIP/4547-00000000”, “CALLERID(number)=4547”) in new stack
– Executing [[email protected]:29] Set(“SIP/4547-00000000”, “CALLERID(name)=Cassio eyeBeam”) in new stack
– Executing [[email protected]:30] Set(“SIP/4547-00000000”, “CDR(cnum)=4547”) in new stack
– Executing [[email protected]:31] Set(“SIP/4547-00000000”, “CDR(cnam)=Cassio eyeBeam”) in new stack
– Executing [[email protected]:32] Set(“SIP/4547-00000000”, “CHANNEL(language)=pt_BR”) in new stack
– Executing [[email protected]:2] Set(“SIP/4547-00000000”, “ROUTEUSER=4547”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/4547-00000000”, “0?,968681291,2:outbound-allroutes,968681291,2”) in new stack
– Goto (outbound-allroutes,968681291,2)
– Executing [[email protected]:2] Set(“SIP/4547-00000000”, “MOHCLASS=default”) in new stack
– Executing [[email protected]:3] Set(“SIP/4547-00000000”, "NODEST=") in new stack
– Executing [[email protected]:4] Gosub(“SIP/4547-00000000”, “sub-record-check,s,1(out,968681291,)”) in new stack
– Executing [[email protected]:1] Set(“SIP/4547-00000000”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [[email protected]:2] GotoIf(“SIP/4547-00000000”, “1?check”) in new stack
– Goto (sub-record-check,s,7)
– Executing [[email protected]:7] Set(“SIP/4547-00000000”, “__MON_FMT=wav”) in new stack
– Executing [[email protected]:8] GotoIf(“SIP/4547-00000000”, “1?next”) in new stack
– Goto (sub-record-check,s,11)
– Executing [[email protected]:11] ExecIf(“SIP/4547-00000000”, “0?Return()”) in new stack
– Executing [[email protected]:12] ExecIf(“SIP/4547-00000000”, “0?Set(__REC_POLICY_MODE=)”) in new stack
– Executing [[email protected]:13] GotoIf(“SIP/4547-00000000”, “0?out,1”) in new stack
– Executing [[email protected]:14] Set(“SIP/4547-00000000”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [[email protected]:15] Set(“SIP/4547-00000000”, “NOW=1389017498”) in new stack
– Executing [[email protected]:16] Set(“SIP/4547-00000000”, “__DAY=06”) in new stack
– Executing [[email protected]:17] Set(“SIP/4547-00000000”, “__MONTH=01”) in new stack
– Executing [[email protected]:18] Set(“SIP/4547-00000000”, “__YEAR=2014”) in new stack
– Executing [[email protected]:19] Set(“SIP/4547-00000000”, “__TIMESTR=20140106-121138”) in new stack
– Executing [[email protected]:20] Set(“SIP/4547-00000000”, “__FROMEXTEN=4547”) in new stack
– Executing [[email protected]:21] Set(“SIP/4547-00000000”, “__CALLFILENAME=out-968681291-4547-20140106-121138-1389017498.1”) in new stack
– Executing [[email protected]:22] Goto(“SIP/4547-00000000”, “out,1”) in new stack
– Goto (sub-record-check,out,1)
– Executing [[email protected]:1] ExecIf(“SIP/4547-00000000”, “1?Set(__REC_POLICY_MODE=always)”) in new stack
– Executing [[email protected]:2] GosubIf(“SIP/4547-00000000”, “1?record,1(exten,968681291,4547)”) in new stack
– Executing [[email protected]:1] Set(“SIP/4547-00000000”, “AUDIOHOOK_INHERIT(MixMonitor)=yes”) in new stack
– Executing [[email protected]: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 [[email protected]:3] Set(“SIP/4547-00000000”, “__REC_STATUS=RECORDING”) in new stack
== Begin MixMonitor Recording SIP/4547-00000000
– Executing [[email protected]:4] Set(“SIP/4547-00000000”, “CDR(recordingfile)=out-968681291-4547-20140106-121138-1389017498.1.wav”) in new stack
– Executing [[email protected]:5] Return(“SIP/4547-00000000”, “”) in new stack
– Executing [[email protected]:3] Return(“SIP/4547-00000000”, “”) in new stack
– Executing [[email protected]:5] Macro(“SIP/4547-00000000”, “dialout-trunk,13,11968681291,off”) in new stack
– Executing [[email protected]:1] Set(“SIP/4547-00000000”, “DIAL_TRUNK=13”) in new stack
– Executing [[email protected]:2] GosubIf(“SIP/4547-00000000”, “0?sub-pincheck,s,1()”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/4547-00000000”, “0?disabletrunk,1”) in new stack
– Executing [[email protected]:4] Set(“SIP/4547-00000000”, “DIAL_NUMBER=11968681291”) in new stack
– Executing [[email protected]:5] Set(“SIP/4547-00000000”, “DIAL_TRUNK_OPTIONS=Ttr”) in new stack
– Executing [[email protected]:6] Set(“SIP/4547-00000000”, “OUTBOUND_GROUP=OUT_13”) in new stack
– Executing [[email protected]:7] GotoIf(“SIP/4547-00000000”, “1?nomax”) in new stack
– Goto (macro-dialout-trunk,s,9)
– Executing [[email protected]:9] GotoIf(“SIP/4547-00000000”, “0?skipoutcid”) in new stack
– Executing [[email protected]:10] Set(“SIP/4547-00000000”, “DIAL_TRUNK_OPTIONS=Tt”) in new stack
– Executing [[email protected]:11] Macro(“SIP/4547-00000000”, “outbound-callerid,13”) in new stack
– Executing [[email protected]:1] ExecIf(“SIP/4547-00000000”, “0?Set(CALLERPRES()=)”) in new stack
– Executing [[email protected]:2] ExecIf(“SIP/4547-00000000”, “0?Set(REALCALLERIDNUM=4547)”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/4547-00000000”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,6)
– Executing [[email protected]:6] Set(“SIP/4547-00000000”, “USEROUTCID=”) in new stack
– Executing [[email protected]:7] Set(“SIP/4547-00000000”, “EMERGENCYCID=”) in new stack
– Executing [[email protected]:8] Set(“SIP/4547-00000000”, “TRUNKOUTCID=”) in new stack
– Executing [[email protected]:9] GotoIf(“SIP/4547-00000000”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,14)
– Executing [[email protected]:14] ExecIf(“SIP/4547-00000000”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [[email protected]:15] ExecIf(“SIP/4547-00000000”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [[email protected]:16] ExecIf(“SIP/4547-00000000”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [[email protected]:17] ExecIf(“SIP/4547-00000000”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
– Executing [[email protected]:18] Set(“SIP/4547-00000000”, “CDR(outbound_cnum)=4547”) in new stack
– Executing [[email protected]:19] Set(“SIP/4547-00000000”, “CDR(outbound_cnam)=Cassio eyeBeam”) in new stack
– Executing [[email protected]:12] GosubIf(“SIP/4547-00000000”, “0?sub-flp-13,s,1()”) in new stack
– Executing [[email protected]:13] Set(“SIP/4547-00000000”, “OUTNUM=11968681291”) in new stack
– Executing [[email protected]:14] Set(“SIP/4547-00000000”, “custom=AMP”) in new stack
– Executing [[email protected]:15] ExecIf(“SIP/4547-00000000”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)”) in new stack
– Executing [[email protected]:16] ExecIf(“SIP/4547-00000000”, “0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))”) in new stack
– Executing [[email protected]:17] Macro(“SIP/4547-00000000”, “dialout-trunk-predial-hook,”) in new stack
– Executing [[email protected]:1] NoOp(“SIP/4547-00000000”, “Test Track Outbound”) in new stack
– Executing [[email protected]:2] NoOp(“SIP/4547-00000000”, “Trunk is AMP:Local/[email protected]”) in new stack
– Executing [[email protected]:3] NoOp(“SIP/4547-00000000”, “Dialout number is 11968681291”) in new stack
– Executing [[email protected]:4] NoOp(“SIP/4547-00000000”, “Dial options are Tt”) in new stack
– Executing [[email protected]:5] GotoIf(“SIP/4547-00000000”, “1?bypass”) in new stack
– Goto (macro-dialout-trunk-predial-hook,s,8)
– Executing [[email protected]:8] Set(“SIP/4547-00000000”, “PREDIAL_HOOK_RET=BYPASS”) in new stack
– Executing [[email protected]: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 [[email protected]:1] Set(“SIP/4547-00000000”, “QDIALER_QUEUE=10”) in new stack
– Executing [[email protected]:2] Set(“SIP/4547-00000000”, “QDIALER_AGENT=Cassio eyeBeam”) in new stack
– Executing [[email protected]:3] Set(“SIP/4547-00000000”, “QDIALER_CHANNEL=AMP:Local/[email protected]/11968681291”) in new stack
– Executing [[email protected]:4] Set(“SIP/4547-00000000”, “QueueName=10”) in new stack
– Executing [[email protected]: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 [[email protected]:6] Goto(“SIP/4547-00000000”, “qlog-queuedial,11968681291,1”) in new stack
== Begin MixMonitor Recording SIP/4547-00000000
– Goto (qlog-queuedial,11968681291,1)
– Executing [[email protected]:1] NoOp(“SIP/4547-00000000”, “Outbound call -> A:Cassio eyeBeam N:11968681291 Q:10 Ch:AMP:Local/[email protected]/11968681291”) in new stack
– Executing [[email protected]: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 [[email protected]:3] Set(“SIP/4547-00000000”, “GM=Cassio_eyeBeam”) in new stack
– Executing [[email protected]:4] Set(“SIP/4547-00000000”, “GLOBAL(Cassio_eyeBeam)=U”) in new stack
== Setting global variable ‘Cassio_eyeBeam’ to ‘U’
– Executing [[email protected]:5] Set(“SIP/4547-00000000”, “GLOBAL(Cassio_eyeBeamans)=0”) in new stack
== Setting global variable ‘Cassio_eyeBeamans’ to ‘0’
– Executing [[email protected]:6] Macro(“SIP/4547-00000000”, “queuelog,1389017498,1389017498.1,10,Cassio eyeBeam,ENTERQUEUE,-,11968681291”) in new stack
– Executing [[email protected]:1] QueueLog(“SIP/4547-00000000”, “10,1389017498.1,Cassio eyeBeam,ENTERQUEUE,-|11968681291|”) in new stack
– Executing [[email protected]:7] Dial(“SIP/4547-00000000”, “AMP:Local/[email protected]/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 [[email protected]: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 [[email protected]:1] NoOp(“SIP/4547-00000000”, " “Call exiting: status U answered at: 0 DS: CHANUNAVAIL” ") in new stack
– Executing [[email protected]: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 [[email protected]:3] Goto(“SIP/4547-00000000”, “case-U”) in new stack
– Goto (qlog-queuedial,h,5)
– Executing [[email protected]:5] Set(“SIP/4547-00000000”, “WT=0”) in new stack
– Executing [[email protected]:6] Macro(“SIP/4547-00000000”, “queuelog,1389017498,1389017498.1,10,Cassio eyeBeam,ABANDON,1,1,0”) in new stack
– Executing [[email protected]:1] QueueLog(“SIP/4547-00000000”, “10,1389017498.1,Cassio eyeBeam,ABANDON,1|1|0”) in new stack
– Executing [[email protected]: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 [[email protected]:3] Set(“SIP/4547-00000000”, “QDIALER_CHANNEL=AMP:Local/[email protected]/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.