Hi I am trying to get some help to get the incoming CNAM to show. I am using FreePBX 2.8.0.4 with Asterisk 1.6.2.15, DAHDI 2.4 and Digium TE121 card. complete install was using AsteriskNow. We currently do recieve CNAM on our PRI.
I did a trace of an incoming call over the PRI circuit:
– Executing [s@macro-user-callerid:18] NoOp(“DAHDI/1-1”, “Using CallerID “LA:8187958811” <8187958811>”) in new stack
I found this article below, but I am not sure where to add it… yes I am still a newbie, but learning fast!!
On ISDN PRI lines (US NI-2 type) Callerid name information CNAM is transmitted in a separate FACILITY IE. some time AFTER the initial SETUP message. If you are using CNAM in your dialplan make sure to insert a wait statement before using the calleridname variable. Otherwise CALLERIDNAME will not be populated initially.
i.e.:
exten => _X.,1,NoOp,${CALLERIDNAME} ; will be empty. - FACILITY IE has not been received yet.
exten => _X.,2,Wait(1) ; wait for the CO to find the name in the database
exten => _X.,3,NoOp,${CALLERIDNAME} ; now it shows the name