I did setup my asterisk box to enable callerID for the purpouses of getting past that dreaded message “The number you have does not except anonymous calls”
In extentions.conf
First CID example
;exten => _*82,1,set(DB(CIDBlock/${CHANNEL:4:4})=0)
;exten => _*82,2,Playback(privacy-your-callerid-is)
;exten => _*82,3,Playback(disabled)
;exten => _*82,4,Hangup()
; Enable CallerID Blocking for the dialing extension
;exten => _*81,1,Set(DB(CIDBlock/${CHANNEL:4:4})=1)
;exten => _*81,2,Playback(privacy-your-callerid-is)
;exten => _*81,3,Playback(enabled)
;exten => _*81,4,Hangup()
I also have used this.
exten =>_NXXNXXXXXX,1,Set(CIDBlock=${DB(CIDBlock/CHANNEL:4:4})})
exten =>_NXXNXXXXXX,2,Set(${IF($[${CIDBlock} = 1]?CALLERID(name)=lastname:CALLERID(name)=James)})
exten =>_NXXNXXXXXX,3,Set(${IF($[${CIDBlock} = 1]?CALLERID(number)=0-1-999:CALLERID(number)=206XXXXXXX)})
exten =>_NXXNXXXXXX,4,DIAL(dahdi/1/${EXTEN})
exten =>_NXXNXXXXXX,5,Hangup
Now, shouldnt there be a DB CID embeded within the fourth priority?
206XXXXXXX was substituted for this troubleshooting session. Normally my number goes there.
Either of these do echo back that CallerID is enabled and that Telus should see it. But in CLI, the *82 does not show before the number is dialed. What am I missing?