Is there a way to setup FreePBX to read back the number that the call is coming in from?
I have an analog test set the Fluke TS52 Pro and I’d like to have our own number for doing the ANI lookup when calling into one of our trunks. There will be an IVR where you can select echo test, ANI, etc…
Assuming that you have a trunk that allows sending an arbitrary caller ID, the lazy way is to set up a Misc Destination that routes to someone else’s test number. For US or Canada, I recommend 1 800 437 7950.
Use with Custom Destination of readback-digits,${CALLERID(number)},1
[readback-digits]
exten => _X.,1,noop(entering user defined context [readback-digits] in extensions_custom.conf)
exten => _X.,n,Answer()
exten => _X.,n,Wait(1) ; necessary to insert a pause to prevent audio clipping
exten => _X.,n,SayDigits(${EXTEN})
exten => _X.,n,hangup
; end [readback-digits]