Addpacvoip语音网关缩位号码四例

案例一、

网站建设哪家好,找创新互联公司!专注于网页设计、网站建设、微信开发、微信小程序定制开发、集团企业网站建设等服务项目。为回馈新老客户创新互联还提供了弥勒免费建站欢迎大家使用!

Voip peer configuration 

!Voip peer configuration. 
dial-peer voice 1000 voip 
destination-pattern 0.T 
session target ras  
dtmf-relay h345-alphanumeric 
translate-outgoing called-number 0 
dial-peer voice 1001 voip 
destination-pattern [1-5]. 
session target ras  
dtmf-relay h345-alphanumeric 
translate-outgoing called-number 100 
!Translation Rule configuration. 
translation-rule 0 
rule 10     002                      001%04%99                        
translation-rule 100 
rule 11     11                       xxxxxxxxx                    
rule 22     22                       xxxxxxxxx                     
rule 33     33                       xxxxxxxxx                     
rule 44     44                       xxxxxxxxx                     

案例二、
Voip peer configuration. 
dial-peer voice 1000 voip 
destination-pattern 0..T 
session target ras 
dtmf-relay h345-alphanumeric 
 dial-peer voice 1001 voip 
destination-pattern [1-2][1-2] 
session target ras 
dtmf-relay h345-alphanumeric 
translate-outgoing called-number 100

!Translation Rule configuration. 
translation-rule 100 
rule 10     11                      xxxxxxxxx                     
rule 11     22                      xxxxxxxxx 

案例三、
! Voip peer configuration. 
dial-peer voice 1000 voip 
destination-pattern 0..T 
session target ras 
dtmf-relay h345-alphanumeric 
dial-peer voice 1001 voip 
destination-pattern *.. 
session target ras 
dtmf-relay h345-alphanumeric 
translate-outgoing called-number 200 
dial-peer terminator n 
dial-peer ipaddr-prefix n 
Translation Rule configuration. 
translation-rule 200 
rule 10     *11                      xxxxxxxxx                    
rule 11     *22                      xxxxxxxxx                     
rule 12     *33                      xxxxxxxxx                     
rule 13     *44                      xxxxxxxxx                     

案例四、
! Voip peer configuration

dial-peer voice 1000 voip
destination-pattern 0...T
session target ras
dtmf-relay h345-alphanumeric
dial-peer voice 1001 voip
destination-pattern 99
session target ras
dtmf-relay h345-alphanumeric
translate-outgoing called-number 99

dial-peer voice 1002 voip
destination-pattern 98
session target ras
dtmf-relay h345-alphanumeric
translate-outgoing called-number 98
Translation Rule configuration.
translation-rule 98
rule 11     98                       xxxxxxxxx
translation-rule 99
rule 10     99                       xxxxxxxxx

附件:http://down.51cto.com/data/2366524

当前题目:Addpacvoip语音网关缩位号码四例
标题链接:http://myzitong.com/article/pegjds.html