cme_router#sh running-config Building configuration... Current configuration : 3456 bytes ! ! No configuration change since last restart ! version 12.4 service tcp-keepalives-in service tcp-keepalives-out service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname cme_router ! boot-start-marker boot-end-marker ! enable secret 5 $1$HBWz$K0gg2k0bwMGePay9Y1nIA0 ! no aaa new-model clock timezone AEST -23 no ip cef ! ! no ip dhcp use vrf connected ip dhcp excluded-address 192.168.0.12 ! ip dhcp pool Data_Scope network 192.168.1.0 255.255.255.0 default-router 192.168.0.1 dns-server 192.168.0.102 ! ip dhcp pool Voice_Scope network 192.168.2.0 255.255.255.0 default-router 192.168.2.2 dns-server 192.168.0.102 option 150 ip 192.168.2.2 ! ip dhcp pool 192.168.1.0/24 ! no ip domain lookup isdn switch-type basic-ts013 carrier-id source ! ! ! voice service voip allow-connections h323 to h323 ! ! ! ! ! ! ! ! ! ! voice translation-rule 1 rule 1 /^80070300$/ /0300/ plan any private ! ! voice translation-profile PSTN-IN translate called 1 ! ! ! ! username xxxxxx privilege 15 password 0 xxxxxxxx username xxxxxx privilege 15 password 0 xxxxxxxx ! ! ! ! ! interface FastEthernet0/0 ip address 192.168.0.12 255.255.255.0 duplex auto speed auto ! interface FastEthernet0/0.1 description Data Vlan encapsulation dot1Q 2 ip address 192.168.1.2 255.255.255.0 ! interface FastEthernet0/0.2 description Voice Vlan encapsulation dot1Q 3 ip address 192.168.2.2 255.255.255.0 h323-gateway voip interface h323-gateway voip bind srcaddr 192.168.2.2 ! interface BRI0/0 no ip address encapsulation hdlc shutdown isdn switch-type basic-ts013 isdn point-to-point-setup ! interface FastEthernet0/1 no ip address duplex auto speed auto ! no ip classless ip default-network 192.168.2.0 no ip forward-protocol nd ip route 0.0.0.0 0.0.0.0 192.168.0.102 ip route 192.168.0.0 255.255.255.0 192.168.0.1 ip route 192.168.0.0 255.255.255.0 FastEthernet0/0 ip route 192.168.1.0 255.255.255.0 192.168.2.0 ! ip http server ip http authentication local no ip http secure-server ip http path flash: ! ! tftp-server flash:CP7912060000SCCP050124A.sbin alias CP7912060000SCCP050124A.sbin tftp-server flash:SEPDEFAULT.cnf tftp-server flash:XMLDefault.cnf.xml tftp-server flash:CP7912060000SCCP050124A.sbin alias CP7912060000SCCP050124A ! control-plane ! voice-port 1/0/0 signal did immediate translation-profile incoming PSTN-IN ! voice-port 1/0/1 ! ! ! ! ! no dial-peer outbound status-check pots ! telephony-service max-ephones 4 max-dn 5 ip source-address 192.168.2.2 port 2000 time-format 24 date-format dd-mm-yy create cnf-files version-stamp 7960 Feb 28 2002 04:55:47 max-conferences 4 gain -6 web admin system name xxxxxxxxxx password xxxxxxxxxxxxx dn-webedit time-webedit ! ! ephone-dn 1 dual-line number 0300 description Primary Line name John Cheetley translate called 1 translation-profile incoming Incoming translation-profile outgoing Outgoing ! ! ephone-dn 2 dual-line number 1002 description Secondary Line name John Cheetley 2 ! ! ephone 1 mac-address xxxx.xxxx.xxxx type 7912 ! ntp master 1 ntp server 192.189.54.17 ntp server 203.161.123.133 ! end cme_router#sh voice port summary IN OUT PORT CH SIG-TYPE ADMIN OPER STATUS STATUS EC =============== == ============ ===== ==== ======== ======== == 1/0/0 -- did-in-imd up dorm idle idle y 1/0/1 -- did-in-wnk up up seized idle y 50/0/1 1 efxs up dorm on-hook idle y 50/0/1 2 efxs up dorm on-hook idle y 50/0/2 1 efxs up up on-hook idle y 50/0/2 2 efxs up up on-hook idle y PWR FAILOVER PORT PSTN FAILOVER PORT ================= ================== cme_router# cme_router#sh telephony-service dial-peer dial-peer voice 20001 pots destination-pattern 0300$ huntstop progress_ind setup enable 3 port 50/0/1 dial-peer voice 20002 pots destination-pattern 1002$ huntstop progress_ind setup enable 3 port 50/0/2 cme_router# cme_router#sh voice translation-profile Translation Profile: PSTN-IN Rule for Calling number: Rule for Called number: 1 Rule for Redirect number: cme_router# cme_router#sh voice translation-rule Translation-rule tag: 1 Rule 1: Match pattern: ^80070300$ Replace pattern: 0300 Match type: none Replace type: none Match plan: any Replace plan: private cme_router# cme_router#sh dial-peer voice summary dial-peer hunt 0 AD PRE PASS OUT TAG TYPE MIN OPER PREFIX DEST-PATTERN FER THRU SESS-TARGET STAT PORT 20001 pots up up 0300$ 0 50/0/1 20002 pots up up 1002$ 0 50/0/2 cme_router#debug voice translation VoIP Translation Rule debugging is enabled cme_router#test voice translation-rule 1 0300 0300 Didn't match with any of rules cme_router# Mar 1 03:04:18.519: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: No match; number=0300 rule precedence=1 Mar 1 03:04:18.519: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: No match; number=0300 rule precedence=1