Moblie

Wednesday, July 9, 2014

VOICE Number Translation Rule



VOICE Number  Translation Rule
IP Phone Three digit number for internal use
Eight Number DID use for outside call
-------------------------------------------

configure IP Phone ...


voice register dn  1
 number 001
 call-forward b2bua busy 42260000 
 call-forward b2bua noan 42260000 timeout 20
 name Reception
 mwi

voice register pool  1
 id mac 501C.BFFD.CFC9
 type 9951
 number 1 dn 1
 codec g711ulaw
 no vad
 
!
voice translation-rule 1
 rule 1 /^42260\(...\)/ /\1/
 rule 2 /^0\(..\)/ /422600\1/

!

voice translation-profile 3Digit-to-DID
 translate calling 1
!
Voice translation-profile DID-to-3Digit
 translate called 1
!
dial-peer voice 200 pots
 translation-profile incoming DID-to-3Digit
 translation-profile outgoing 3Digit-to-DID
 destination-pattern 9T
 incoming called-number .
 direct-inward-dial
 port 0/0/0:15

!
!
Create Profile command is very important for all type of IP phone registration and update.
voice register global
   create profile
 


 

No comments:

Post a Comment