CallerID Spoofing
This little gem lets you generate any callerID then let you
dial the target number. I use Teliax service to accomplish
this for my trunk.
0) Place this in the extensions_custom.conf file.
1) Then in CUSTOM DESTINATION in the custom destination
field add "custom-calleridspoof,s,1"
2) On Inbound routes, point custom destinations to the
CallerID Spoof name you gave.
[custom-calleridspoof]
exten => s,1,Playback(please-enter-the)
exten => s,n,Playback(ha/callerid)
exten => s,n,Read(calleridnum,then-press-pound)
exten => s,n,SayDigits(${calleridnum})
exten => s,n,Set(CALLERID(number)=${calleridnum})
exten => s,n,Playback(please-enter-the)
exten => s,n,Playback(telephone-number)
exten => s,n,Read(telnum,then-press-pound)
exten => s,n,SayDigits(${telnum})
exten => s,n,Playback(pls-hold-while-try)
exten => s,n,Dial(IAX2/teliax/${telnum})