I found this piece of code on the forum or the web:
; inbound entry point for extension 5000
; will get callerid and then keepon with standard include => internal
; will be empty. - FACILITY IE has not been received yet.
exten => _X.,1,NoOp,${CALLERIDNAME}
; wait for the CO to find the name in the database
exten => _X.,2,Wait(1)
; now it shows the name
exten => _X.,3,NoOp,${CALLERIDNAME}
Where does CALLERID(name) come to play?
(I'm not familiar with custom apps)
Thanks for any help...