When calling out BRI, I want individual numbers displayed as caller id. For incoming calls, I want to display the caller id on the phone. So I have a rule to translate the outgoing calling number, but the main office number 6321000 is displayed as the calling number. Incoming caller-id is shown as 'unknown'. 9 is PSTN access code. Extensions are 10xx.
voice translation-rule 9
rule 1 // /1/
!
voice translation-rule 10
rule 1 /^10/ /632&/
!
voice translation-rule 11
rule 1 /^9/ //
rule 2 /^111$/ /111/
!
!
voice translation-profile DID_TO_EXT
translate called 9
!
voice translation-profile OUT-GOING
translate calling 10
translate called 11
!
Please point out the errors I have made. Or give some reference.
Thanks in advance.