VoIP gateway 's config

From: Tom Young (gitsyoung@yahoo.co.jp)
Date: Wed Apr 20 2005 - 04:10:25 GMT-3


hi, group
   I read a configuration about VoIP gateway, it is funny
but it is very difficult to understand what means of
setting the #00T, #01T translation, who can tell me what's
means about those two translations ?

Thanks

voice call send-alert
voice call convert-discpi-to-prog always
voice rtp send-recv
!
!
voice class h323 1
 h225 timeout tcp establish 3
!
!
voice translation-rule 4
 rule 1 /^0/ /#00/
!
voice translation-rule 5
 rule 1 /^0/ /#01/
!
!
voice translation-profile ForFirstLine
 translate called 4
!
voice translation-profile ForSecondLine
 translate called 5
!
ccm-manager music-on-hold
!
!
interface FastEthernet0/0
 no ip address
 speed 100
 full-duplex
!
interface BRI2/0
 no ip address
 isdn switch-type ntt
 isdn network-failure-cause 17
 isdn incoming-voice voice
 isdn map address .* plan unknown type unknown
!
interface BRI2/1
 no ip address
 isdn switch-type ntt
 isdn network-failure-cause 17
 isdn incoming-voice voice
 isdn map address .* plan unknown type unknown
!
interface BRI3/0
 no ip address
 isdn switch-type ntt
 isdn network-failure-cause 17
 isdn incoming-voice voice
 isdn map address .* plan unknown type unknown
!
interface BRI3/1
 no ip address
 isdn switch-type ntt
!
!
control-plane
!
!
voice-port 2/0
 cptone JP
 timeouts interdigit 2
 busyout monitor FastEthernet0/0
!
voice-port 2/1
 cptone JP
 timeouts interdigit 2
 busyout monitor FastEthernet0/0
!
voice-port 3/0
 cptone JP
 timeouts interdigit 2
 busyout monitor FastEthernet0/0
!
voice-port 3/1
!
!
!
!
!
dial-peer voice 1 pots
 translation-profile incoming potsin
 translation-profile outgoing potsout
 destination-pattern #00T
 direct-inward-dial
 port 2/0
!
dial-peer voice 2 pots
 translation-profile incoming potsin
 translation-profile outgoing potsout
 preference 1
 destination-pattern #00T
 direct-inward-dial
 port 2/1
!
dial-peer voice 3 pots
 translation-profile incoming potsin
 translation-profile outgoing potsout
 destination-pattern #01T
 direct-inward-dial
 port 3/0
!
dial-peer voice 13 voip
 destination-pattern 0T
 session target ipv4:139.27.6.1
 dtmf-relay h245-alphanumeric
 codec g711ulaw
 no vad
!
dial-peer voice 20 voip
 translation-profile incoming ForFirstLine
 max-conn 3
 answer-address 74102599
 dtmf-relay h245-alphanumeric
 codec g711ulaw
 no vad
!
dial-peer voice 21 voip
 translation-profile incoming ForFirstLine
 max-conn 1
 answer-address 74102598
 dtmf-relay h245-alphanumeric
 codec g711ulaw
 no vad
!
dial-peer voice 22 voip
 translation-profile incoming ForSecondLine
 max-conn 1
 answer-address 74102597
 dtmf-relay h245-alphanumeric
 codec g711ulaw
 no vad
!
dial-peer voice 23 voip
 translation-profile incoming ForSecondLine
 max-conn 1
 answer-address 74102596
 dtmf-relay h245-alphanumeric
 codec g711ulaw
 no vad
!
dial-peer voice 24 voip
 translation-profile incoming ForFirstLine
 answer-address 7.......
 dtmf-relay h245-alphanumeric
 codec g711ulaw
 no vad
!
!
call-manager-fallback
 secondary-dialtone 0
 max-conferences 2
 transfer-system full-consult
 timeouts interdigit 4
 ip source-address 192.168.1.1 port 2000
 max-ephones 24
 max-dn 150
 transfer-pattern 0T
 no huntstop
 alias 1 141010.. to 14101000
 alias 2 141010.. to 14101001
!

__________________________________
Do You Yahoo!?
Upgrade Your Life
http://bb.yahoo.co.jp/



This archive was generated by hypermail 2.1.4 : Tue May 03 2005 - 07:55:02 GMT-3