cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
235
Views
0
Helpful
1
Replies

Dial-peer/Voice Translation Help :(

hellspire69_2
Level 1
Level 1

Hi guys wonder if anyone could give me a hand here, its the first time i am installing and configuring a VGW for one of our sites, everything seems to be working the calls are incoming into the GW as i can see, but they dont seem to be translating properly.. if anyone could tell me where im going wrong it would be appreciative :) the number range is 0207 510 9340 - 9369 which im trying to translate into the 7000 exntension range

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname DR-VGW

!

boot-start-marker

boot-end-marker

!

logging buffered 51200 warnings

enable secret xxx

!

no aaa new-model

!

resource policy

!

network-clock-participate wic 0

ip subnet-zero

!

!

ip cef

!

!

no ip domain lookup

ip domain name yourdomain.com

ip host etg-ccm02 10.5

ip host etg-ccm01.yourdomain.com 10.

isdn switch-type primary-net5

!

voice-card 0

no dspfarm

!

!

voice rtp send-recv

!

!

voice class codec 1000

codec preference 1 g711alaw

codec preference 2 g711ulaw

codec preference 3 g729r8

!

!

!

voice class h323 1

h225 timeout tcp establish 5

!

!

!

!

!

!

voice translation-rule 90

rule 1 /^....$/ /&/

rule 2 /^......$/ /&/

rule 3 /^1/ /901/

rule 4 /^2/ /902/

rule 5 /^3/ /903/

rule 6 /^4/ /904/

rule 7 /^5/ /905/

rule 8 /^6/ /906/

rule 9 /^7/ /907/

rule 10 /^8/ /908/

rule 11 /^9/ /909/

rule 12 /^0/ /900/

!

voice translation-rule 7000

rule 1 /^5109/ /7/

rule 2 /^109/ /7/

rule 3 /^09/ /7/

rule 4 /^9/ /7/

!

voice translation-rule 75109430

rule 1 /^7.../ /75109340/

!

!

voice translation-profile Inbound_Translation

translate calling 90

translate called 7000

!

voice translation-profile Outbound-CLI

translate calling 75109430

!

!

!

!

!

!

controller E1 0/0/0

pri-group timeslots 1-30

!

controller E1 0/0/1

!

!

!

interface FastEthernet0/0

description ***Lan Interface***

ip address 10. 255.255.255.0

duplex auto

speed auto

h323-gateway voip bind srcaddr 10.

!

interface FastEthernet0/1

no ip address

shutdown

duplex auto

speed auto

!

interface Serial0/0/0:15

no ip address

isdn switch-type primary-net5

isdn incoming-voice voice

no cdp enable

!

ip classless

ip route 0.0.0.0 0.0.0.0 10.

!

!

no ip http server

ip http authentication local

no ip http secure-server

ip http timeout-policy idle 60 life 86400 requests 10000

!

!

!

!

control-plane

!

!

!

voice-port 0/0/0:15

input gain 6

echo-cancel coverage 32

cptone GB

timeouts interdigit 4

bearer-cap Speech

!

!

!

!

!

dial-peer voice 90 pots

description ***Outbound PSTN Calls***

translation-profile incoming Inbound_Translation

translation-profile outgoing Outbound-CLI

destination-pattern 9T

progress_ind alert enable 8

progress_ind progress enable 8

progress_ind connect enable 8

incoming called-number .

direct-inward-dial

port 0/0/0:15

!

dial-peer voice 7000 voip

destination-pattern 7...

progress_ind setup enable 3

no modem passthrough

voice-class codec 1000

voice-class h323 1

session target dns:etg-ccm02

incoming called-number .

dtmf-relay h245-alphanumeric

fax-relay ecm disable

ip qos dscp cs3 signaling

no vad

!

dial-peer voice 7001 voip

preference 1

destination-pattern 7...

progress_ind setup enable 3

no modem passthrough

voice-class codec 1000

voice-class h323 1

session target dns:etg-ccm01

incoming called-number .

dtmf-relay h245-alphanumeric

fax-relay ecm disable

ip qos dscp cs3 signaling

no vad

!

dial-peer voice 91 voip

description ***Outbound PSTN Calls (backup dial peer to TRA GW)***

preference 1

destination-pattern 9T

progress_ind alert enable 8

progress_ind progress enable 8

progress_ind connect enable 8

session target ipv4:

incoming called-number .

1 Reply 1

singhcisco
Level 1
Level 1

If you want to send out individual number, then change;

voice translation-rule 75109430

rule 1 /^7.../ /75109340/ <--- this to

voice translation-rule 75109430

rule 1 /^7\(...\)/ /75109\1/

assuming that last 3 digits of your internal extensions matches the last 3 digits of your inbound number range.

voice translation-profile Outbound_Mask

translate calling 75109430

voice translation-rule 2

rule 1 /^9\(3..\)/ /7\1/

voice translation-profile Internal_Ext

translate called 2

If PSTN is sending 4 digits to your router.

voice-port 0/0/0:15

translation-profile outgoing Outbound_Mask

translation-profile incoming Internal_Ext

dial-peer voice 1 pots

destination-address 7...

direct-dial-inward

port 0/0/0:15