Can't get a simple CLID/ANI read-back to work - ARGH!

Good evening all. I’ve been trying for hours to piece together various info from scouring the interwebs in order to create a very simple:
“The number you have reached… x-x-x-x-x-x-x-x-x-x is not in service. Please check the number and try your call again.”

I’ve created the following in extensions_custom.conf:


[read-caller-id]
exten => s,1,Answer()
exten => s,n,SayDigits(${CALLERID(num)})
exten => s,n,Hangup()

I then created the following in the module Custom Destinations:


Custom Destination: read-caller-id,s,1
Description: Read ANI/CLID

Finally, I created the following Miscellaneous Application:


Description: Read CLID
Feature Code: 1999
Feature Status: Enabled
Destination: CustomDestinations --> Read ANI/CLID

Calling it returns “NO RESPONSE” with a busy signal. I have no idea why it’s not calling it - The only thing I can assume at this point is extensions_custom.conf isn’t the appropriate place (though I thought that was always read anyway.

Anyone have any thoughts as to why this isn’t working?
FreePBX - Asterisk 11.10.2

Thx.

Care to provide a call Trace

That would be helpful, wouldn’t it. :smile:

== Using SIP VIDEO TOS bits 136
== Using SIP VIDEO CoS mark 6
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES (‘CHAN_START’,{ts ‘2014-07-23 11:26:23’},‘Guntzelman Upper Office’,‘3108’,’’,’’,’’,‘1999’,‘from-internal’,‘SIP/3108-0000019c’,’’,’’,3,’’,‘1406129183.28138’,‘1406129183.28138’,’’,’’,’’)]
== Extension Changed 3108[ext-local] new state InUse for Notify User 3108
– Executing [1999@from-internal:1] NoOp(“SIP/3108-0000019c”, “Running miscapp 11: Read CLID”) in new stack
– Executing [1999@from-internal:2] Macro(“SIP/3108-0000019c”, “user-callerid,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/3108-0000019c”, “TOUCH_MONITOR=1406129183.28138”) in new stack
– Executing [s@macro-user-callerid:2] Set(“SIP/3108-0000019c”, “AMPUSER=3108”) in new stack
– Executing [s@macro-user-callerid:3] GotoIf(“SIP/3108-0000019c”, “0?report”) in new stack
– Executing [s@macro-user-callerid:4] ExecIf(“SIP/3108-0000019c”, “1?Set(REALCALLERIDNUM=3108)”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/3108-0000019c”, “AMPUSER=3108”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“SIP/3108-0000019c”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:7] Set(“SIP/3108-0000019c”, “AMPUSERCIDNAME=Guntzelman Upper Office”) in new stack
– Executing [s@macro-user-callerid:8] GotoIf(“SIP/3108-0000019c”, “0?report”) in new stack
– Executing [s@macro-user-callerid:9] Set(“SIP/3108-0000019c”, “AMPUSERCID=3108”) in new stack
– Executing [s@macro-user-callerid:10] Set(“SIP/3108-0000019c”, “__DIAL_OPTIONS=r”) in new stack
– Executing [s@macro-user-callerid:11] Set(“SIP/3108-0000019c”, “CALLERID(all)=“Guntzelman Upper Office” <3108>”) in new stack
– Executing [s@macro-user-callerid:12] GotoIf(“SIP/3108-0000019c”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:13] ExecIf(“SIP/3108-0000019c”, “0?Set(GROUP(concurrency_limit)=3108)”) in new stack
– Executing [s@macro-user-callerid:14] GosubIf(“SIP/3108-0000019c”, “7?sub-ccss,s,1(from-internal,1999)”) in new stack
– Executing [s@sub-ccss:1] ExecIf(“SIP/3108-0000019c”, “0?Return()”) in new stack
– Executing [s@sub-ccss:2] Set(“SIP/3108-0000019c”, “CCSS_SETUP=TRUE”) in new stack
– Executing [s@sub-ccss:3] GosubIf(“SIP/3108-0000019c”, “0?monitor_config,1(from-internal,1999):monitor_default,1(from-internal,1999)”) in new stack
– Executing [monitor_default@sub-ccss:1] GotoIf(“SIP/3108-0000019c”, “0?is_exten”) in new stack
– Executing [monitor_default@sub-ccss:2] StackPop(“SIP/3108-0000019c”, “”) in new stack
– Executing [monitor_default@sub-ccss:3] Return(“SIP/3108-0000019c”, “FALSE”) in new stack
– Executing [s@macro-user-callerid:15] ExecIf(“SIP/3108-0000019c”, “0?Set(CHANNEL(language)=)”) in new stack
– Executing [s@macro-user-callerid:16] GotoIf(“SIP/3108-0000019c”, “0?continue”) in new stack
– Executing [s@macro-user-callerid:17] ExecIf(“SIP/3108-0000019c”, “1?Set(__CALLEE_ACCOUNCODE=)”) in new stack
– Executing [s@macro-user-callerid:18] Set(“SIP/3108-0000019c”, “__TTL=64”) in new stack
– Executing [s@macro-user-callerid:19] GotoIf(“SIP/3108-0000019c”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,30)
– Executing [s@macro-user-callerid:30] Set(“SIP/3108-0000019c”, “CALLERID(number)=3108”) in new stack
– Executing [s@macro-user-callerid:31] Set(“SIP/3108-0000019c”, “CALLERID(name)=Guntzelman Upper Office”) in new stack
– Executing [s@macro-user-callerid:32] Set(“SIP/3108-0000019c”, “CDR(cnum)=3108”) in new stack
– Executing [s@macro-user-callerid:33] Set(“SIP/3108-0000019c”, “CDR(cnam)=Guntzelman Upper Office”) in new stack
– Executing [s@macro-user-callerid:34] Set(“SIP/3108-0000019c”, “CHANNEL(language)=en”) in new stack
– Executing [1999@from-internal:3] Goto(“SIP/3108-0000019c”, “read-caller-id,s,1”) in new stack
– Goto (read-caller-id,s,1)
[2014-07-23 11:26:23] WARNING[15430][C-000037b3]: pbx.c:6640 __ast_pbx_run: Channel ‘SIP/3108-0000019c’ sent to invalid extension but no invalid handler: context,exten,priority=read-caller-id,s,1
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES (‘HANGUP’,{ts ‘2014-07-23 11:26:23’},‘Guntzelman Upper Office’,‘3108’,‘3108’,’’,‘1999’,‘s’,‘read-caller-id’,‘SIP/3108-0000019c’,’’,’’,3,’’,‘1406129183.28138’,‘1406129183.28138’,’’,’’,’’)]
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES (‘CHAN_END’,{ts ‘2014-07-23 11:26:23’},‘Guntzelman Upper Office’,‘3108’,‘3108’,’’,‘1999’,‘s’,‘read-caller-id’,‘SIP/3108-0000019c’,’’,’’,3,’’,‘1406129183.28138’,‘1406129183.28138’,’’,’’,’’)]
== Extension Changed 3108[ext-local] new state Idle for Notify User 3108
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES (‘LINKEDID_END’,{ts ‘2014-07-23 11:26:23’},‘Guntzelman Upper Office’,‘3108’,‘3108’,’’,‘1999’,‘s’,‘read-caller-id’,‘SIP/3108-0000019c’,’’,’’,3,’’,‘1406129183.28138’,‘1406129183.28138’,’’