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

VOIP Cisco Router Model 2921

Bahati Nkwabi
Level 1
Level 1

Hi Team,

My requirement is to forward incoming call from external to specific extension number instead of been auto attended then forwarded to the right ext number

i.e

0768988500 should translated and call on 600 ext

0768988504 translated to and call on 604 ext

currently with the configuration below all incoming call to any of the number 07689885xx  are going to ext 600

Devices installed

  1. VOIP Cisco Router Model 2921
  2. Telephone models
  • 7861
  •  7811
  •  7965

Current config on the Gateway router are

voice translation-rule 1
 rule 1 /^.*/ /0222194600/ type unknown national plan unknown isdn
!
voice translation-rule 2
 rule 1 /0222194600/ /600/
 rule 2 /0222194695/ /695/
 rule 3 /0222194/ //
!
voice translation-rule 3
 rule 1 /^.*/ /0768988500/ type unknown national plan unknown isdn
!
voice translation-rule 4
 rule 1 /0768988500/ /600/
 rule 2 /07689885\(..\)/ /6\1/

!
voice translation-profile PSTN_IN
translate called 2
translate called 4
!
voice translation-profile PSTN_OUT
translate calling 1
translate calling 3
!


dial-peer voice 1 pots
 incoming called-number .
 direct-inward-dial
!
dial-peer voice 112 pots
 description emergency call
 destination-pattern 112
 port 0/1/0:15
 forward-digits 3
!
dial-peer voice 10 pots
 description Long distance Dial peer
 destination-pattern 8882........
 port 0/1/0:15
 forward-digits 10
!
dial-peer voice 3 voip
 destination-pattern 6..
 session protocol sipv2
 session target ipv4:10.42.60.11
 voice-class codec 1
 dtmf-relay rtp-nte
 no vad
!
dial-peer voice 906 pots
 description TIGO
 destination-pattern 906[57].......
 port 0/1/0:15
 forward-digits 10
!
dial-peer voice 971 pots
 description TIGO
 destination-pattern 9071.......
 port 0/1/0:15
 forward-digits 10
!
dial-peer voice 978 pots
 description AIRTEL
 destination-pattern 90[67]8.......
 port 0/1/0:15
 forward-digits 10
!
dial-peer voice 907 pots
 description VODACOM
 destination-pattern 907[56].......
 incoming called-number .
 direct-inward-dial
 port 0/1/0:15
 forward-digits 10
!
dial-peer voice 973 pots
 description TTCL-MOBILE
 preference 1
 destination-pattern 9073.......
 port 0/1/0:15
 forward-digits 10
!
dial-peer voice 962 pots
 description HALOTEL
 destination-pattern 9062.......
 port 0/1/0:15
 forward-digits 10
!
dial-peer voice 977 pots
 description ZANTEL
 preference 1
 destination-pattern 9077.......
 port 0/1/0:15
 forward-digits 10
!
dial-peer voice 9061 pots
 description TIGO
 preference 1
 destination-pattern 906[57].......
 port 0/1/0:15
 forward-digits 10
!
dial-peer voice 9711 pots
 description TIGO
 preference 1
 destination-pattern 9071.......
 port 0/1/0:15
 forward-digits 10
!
dial-peer voice 9781 pots
 description AIRTEL
 preference 1
 destination-pattern 90[67]........
 port 0/1/0:15
 forward-digits 10
!
dial-peer voice 9071 pots
 description VODACOM
 preference 1
 destination-pattern 907[56].......
 incoming called-number .
 direct-inward-dial
 port 0/1/0:15
 forward-digits 10
!
dial-peer voice 9731 pots
 description TTCL-MOBILE
 destination-pattern 9073.......
 port 0/1/0:15
 forward-digits 10
!
dial-peer voice 9621 pots
 description HALOTEL
 preference 1
 destination-pattern 9062.......
 port 0/1/0:15
 forward-digits 10
!
dial-peer voice 9771 pots
 description ZANTEL
 destination-pattern 9077.......
 port 0/1/0:15
 forward-digits 10
!
dial-peer voice 103 voip
!
dial-peer voice 11 pots
 description Long distance Dial peer
 destination-pattern 902........
 direct-inward-dial
 port 0/0/2
 forward-digits 10
!
dial-peer voice 10000 pots
 service session
 destination-pattern 9011T
!
dial-peer voice 1986 voip
 service session
 destination-pattern 900T
 session target ipv4:10.42.60.11
!
dial-peer voice 9014 pots
 tone ringback alert-no-PI
 description PSTN-INTERNATIONAL
 destination-pattern 9000T
 progress_ind setup enable 3
 progress_ind alert enable 8
 port 0/0/1
 forward-digits 14
!
dial-peer voice 9015 pots
 tone ringback alert-no-PI
 description PSTN-INTERNATIONAL
 destination-pattern 9000T
 progress_ind setup enable 3
 progress_ind alert enable 8
 port 0/0/1
 forward-digits 15
!
dial-peer voice 71 pots
 description Long distance Dial peer
 preference 1
 destination-pattern 902........
 port 0/0/3
 forward-digits 10
!
dial-peer voice 72 pots
 description Long distance Dial peer
 preference 2
 destination-pattern 902........
 port 0/2/1
 forward-digits 10
!
!
sip-ua
 retry invite 3
 timers trying 100
!

      

1 Accepted Solution

Accepted Solutions

Chris Deren
Hall of Fame
Hall of Fame

You don't have "voice translation-profile PSTN_IN" applied to anything. Apply it properly to your ports, etc.

View solution in original post

1 Reply 1

Chris Deren
Hall of Fame
Hall of Fame

You don't have "voice translation-profile PSTN_IN" applied to anything. Apply it properly to your ports, etc.