cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

341
Views
0
Helpful
1
Replies
Highlighted

Allow users to dial 91 for outbound calls on CME

I'm trying to allow users to dial 91 for all outbound calls including local and long-distance but if they only dial 9 for local then I want to allow that to work. Below is my configuration, let me know what I need to do in order to accomplish this task. I've cut out the parts of my config that shouldn't be relevant.

 


voice translation-rule 1
 rule 1 /^1...$/ /301555\0/
!
voice translation-rule 2
 rule 1 /^9\.*/ /\1/
 rule 2 /^91\.*/ /\1/
!
voice translation-rule 5
 rule 1 /^202/ /9202\1/
 rule 2 /^571/ /9571\1/
 rule 3 /^703/ /9703\1/
 rule 4 // /91\1/
!
voice translation-rule 9
 rule 1 // /571777\1/
!
voice translation-rule 10
 rule 1 // /9\0/
!
voice translation-rule 571
 rule 1 /^571403\(.*\)/ /\1/
 rule 2 /^571777\(.*\)/ /\1/
!
!
voice translation-profile 911
translate calling 9
!
voice translation-profile CallDirectory
translate calling 10
!
voice translation-profile CallerID
translate calling 1
translate called 2
!
voice translation-profile InboundSIP
translate calling 5
translate called 571
!
voice translation-profile OutboundSIP
translate calling 9
translate called 2
!

dial-peer cor custom
 name LOCAL
 name LONGDISTANCE
 name INTERNATIONAL
 name TFRAUD
!
!
dial-peer cor list EMPLOYEE
 member LOCAL
 member LONGDISTANCE
 member INTERNATIONAL
!
dial-peer cor list EXECUTIVE
 member LOCAL
 member LONGDISTANCE
 member INTERNATIONAL
!
dial-peer cor list CALLLOCAL
 member LOCAL
!
dial-peer cor list CALLLD
 member LONGDISTANCE
!
dial-peer cor list CALLINTL
 member INTERNATIONAL
!
!
dial-peer voice 100 voip
 corlist outgoing CALLLD
 description "Long Distance"
 translation-profile outgoing OutboundSIP
 destination-pattern 91[2-9]..[2-9]......
 session protocol sipv2
 session target sip-server
 voice-class codec 1  
 voice-class sip early-offer forced
 voice-class sip options-keepalive
 voice-class sip bind control source-interface Loopback100
 voice-class sip bind media source-interface Loopback100
 dtmf-relay rtp-nte
 fax rate disable
 no vad
!
dial-peer voice 1 voip
 description INBOUND from Vz
 translation-profile incoming InboundSIP
 session protocol sipv2
 incoming called-number .
 voice-class codec 1  
 voice-class sip early-offer forced
 voice-class sip bind control source-interface Loopback100
 voice-class sip bind media source-interface Loopback100
 dtmf-relay rtp-nte
 fax rate disable
 no vad
 no supplementary-service sip moved-temporarily
 no supplementary-service sip refer
!
dial-peer voice 101 voip
 corlist outgoing CALLLOCAL
 description "Local Calls"
 translation-profile outgoing OutboundSIP
 destination-pattern 9[2-9]..[2-9]......
 session protocol sipv2
 session target sip-server
 voice-class codec 1  
 voice-class sip early-offer forced
 voice-class sip options-keepalive
 voice-class sip bind control source-interface Loopback100
 voice-class sip bind media source-interface Loopback100
 dtmf-relay rtp-nte
 fax rate disable
 no vad
!
dial-peer voice 102 voip
 corlist outgoing CALLINTL
 description "International"
 translation-profile outgoing OutboundSIP
 destination-pattern 9011T
 session protocol sipv2
 session target sip-server
 voice-class codec 1  
 voice-class sip early-offer forced
 voice-class sip options-keepalive
 voice-class sip bind control source-interface Loopback100
 voice-class sip bind media source-interface Loopback100
 dtmf-relay rtp-nte
 fax rate disable
 no vad
!
dial-peer voice 103 voip
 corlist outgoing CALLLOCAL
 description "Local Services"
 translation-profile outgoing OutboundSIP
 destination-pattern 9[1-8]11$
 session protocol sipv2
 session target sip-server
 voice-class codec 1  
 voice-class sip early-offer forced
 voice-class sip options-keepalive
 voice-class sip bind control source-interface Loopback100
 voice-class sip bind media source-interface Loopback100
 dtmf-relay rtp-nte
 fax rate disable
 no vad
!
dial-peer voice 104 voip
 corlist outgoing CALLLOCAL
 description "911"
 translation-profile outgoing 911
 destination-pattern 911
 session protocol sipv2
 session target sip-server
 voice-class codec 1  
 voice-class sip early-offer forced
 voice-class sip options-keepalive
 voice-class sip bind control source-interface Loopback100
 voice-class sip bind media source-interface Loopback100
 dtmf-relay rtp-nte
 fax rate disable
 no vad
!
dial-peer voice 105 voip
 corlist outgoing CALLLOCAL
 description "9911"
 translation-profile outgoing OutboundSIP
 destination-pattern 9911
 session protocol sipv2
 session target sip-server
 voice-class codec 1  
 voice-class sip early-offer forced
 voice-class sip options-keepalive
 voice-class sip bind control source-interface Loopback100
 voice-class sip bind media source-interface Loopback100
 dtmf-relay rtp-nte
 fax rate disable
 no vad
!
dial-peer voice 5500 voip
 description "CUE Dial-peer"
 destination-pattern 5500
 session protocol sipv2
 session target ipv4:10.30.200.12
 dtmf-relay sip-notify
 codec g711ulaw
 no vad
!
dial-peer voice 5510 voip
 description "CUE Dial-peer"
 destination-pattern 5510
 session protocol sipv2
 session target ipv4:10.30.200.12
 dtmf-relay sip-notify
 codec g711ulaw
 no vad
!
dial-peer voice 200 voip
 description Outbound Fax to Verizon
 translation-profile outgoing OutboundSIP
 shutdown
 destination-pattern 8T
 session protocol sipv2
 session target sip-server
 dtmf-relay rtp-nte
 codec g711ulaw
 fax rate disable
!
!
dial-peer hunt 2
gateway
 timer receive-rtp 1200
!
sip-ua
 set pstn-cause 1 sip-status 503
 set pstn-cause 102 sip-status 503
 retry invite 2
 retry bye 2
 retry cancel 2
 mwi-server ipv4:10.30.200.12 expires 3600 port 5060 transport udp unsolicited
 sip-server ipv4:x.x.x.x:5760
!
!
!
gatekeeper
 shutdown
!
!
telephony-service
 authentication credential admin cisco
 max-ephones 100
 max-dn 100
 ip source-address 10.30.200.1 port 2000
 service phone webAccess 0
 service dnis overlay
 service dnis dir-lookup
 timeouts interdigit 5
 system message Your current options
 url services http://10.30.200.12/voiceview/common/login.do
 url authentication http://10.30.200.12/voiceview/authentication/authenticate.do  
 cnf-file location flash:
 cnf-file perphone
 time-zone 12
 dialplan-pattern 1 6363796... extension-length 4
 voicemail 5500
 max-conferences 12 gain -6
 call-forward pattern .T
 moh enable-g711 "flash1:music-on-hold.au"
 multicast moh x.x.x.x port 2000
 web admin system name admin password cisco
 web admin customer name cisco password cisco
 dn-webedit
 time-webedit
 transfer-system full-consult dss
 transfer-pattern .T
 secondary-dialtone 9
 after-hours block pattern 1 919.........
 create cnf-files version-stamp Jan 01 2002 00:00:00


Everyone's tags (3)
1 REPLY 1
Highlighted
VIP Advisor

Re: Allow users to dial 91 for outbound calls on CME

Modify your voice translation rule as follow:

voice translation-rule 2
rule 1 /^9\([2-9]......$\)/ /\1/ type any isdn plan any sub
rule 2 /^91\([2-9]..[2-9]......$\)/ /\1/ type any isdn plan any nat


Also, add a dialpeer for local calls

dial-peer voice 111 voip
destination-pattern 9[2-9]......
#with all reset of the commands#
CreatePlease to create content
Content for Community-Ad
Future of Work Virtual Summit Day 5

Cisco COVID-19 Survey