C.54. TXTCIDNAME()

TXTCIDNAME(number)
Looks up the CID name of the caller in DNS (via a TXT-Record).
exten => 123,1,Set(foo=${TXTCIDNAME(9755557346)})