04-18-2014 04:44 PM - edited 03-16-2019 10:30 PM
I am struggling to get this right. I need to let my call manager send out external phone mask. I see the right digits being sent using 'deb voip ccapi inout'. I have removed 'translation-profile outgoing PSTN_Outbound' from the outbound dial-peers, but then the call simply results in fast busy. I can change the 8819 to any DID on the circuit and it will go out.
How do I revise the configuration to pass the external phone mask from CUCM?
SJB_113A_C2901_132.45#sh run | sec voice
voice-card 0
dspfarm
dsp services dspfarm
voice call send-alert
voice call carrier capacity active
voice rtp send-recv
voice service voip
allow-connections sip to sip
no supplementary-service sip handle-replaces
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
h323
h225 display-ie ccm-compatible
modem passthrough nse codec g711ulaw
sip
bind control source-interface GigabitEthernet0/1.5
bind media source-interface GigabitEthernet0/1.5
header-passing
early-offer forced
midcall-signaling passthru
voice class codec 10
codec preference 1 g711ulaw
codec preference 5 g729r8
voice translation-rule 10
rule 1 /^911$/ /911/
rule 2 /^9\(.*\)/ /\1/
rule 3 /^9011$/ /011/
voice translation-rule 20
rule 1 /.*/ /4082879919/
voice translation-profile PSTN_Outbound
translate calling 20
translate called 10
isdn incoming-voice voice
voice-port 0/0/0
station-id number 4084596401
voice-port 0/0/1
voice-port 0/0/2
voice-port 0/0/3
voice-port 0/1/0:23
input gain -3
output attenuation 3
echo-cancel coverage 32
no comfort-noise
timeouts interdigit 2
description connection to PSTN
bearer-cap Speech
voice-port 0/2/0
voice-port 0/2/1
voice-port 0/2/2
voice-port 0/2/3
!
!
!
dial-peer voice 1 pots
description POTS Dial Peer - Inbound PRI from PSTN
translation-profile outgoing PSTN_Outbound
incoming called-number .
direct-inward-dial
dial-peer voice 9211 pots
description POTS Dial Peer for Local Services Dialing
translation-profile outgoing PSTN_Outbound
destination-pattern 9[2-8]11
port 0/1/0:23
forward-digits all
dial-peer voice 911 pots
description POTS Dial Peer for Local Emergency 911 Calling
translation-profile outgoing PSTN_Outbound
destination-pattern 911
port 0/1/0:23
forward-digits all
dial-peer voice 9911 pots
description POTS Dial Peer for Local Emergency 911 Calling
translation-profile outgoing PSTN_Outbound
destination-pattern 9911
port 0/1/0:23
forward-digits all
dial-peer voice 20 pots
description POTS Dial Peer for Local Calling
translation-profile outgoing PSTN_Outbound
destination-pattern 9[2-9]......
port 0/1/0:23
forward-digits all
dial-peer voice 30 pots
description POTS Dial Peer for Long Distance Calling
translation-profile outgoing PSTN_Outbound
destination-pattern 91...[2-9]......
port 0/1/0:23
forward-digits all
dial-peer voice 40 pots
description POTS Dial Peer for Long Distance Calling w/o 1
translation-profile outgoing PSTN_Outbound
destination-pattern 9[2-9]..[2-9]......
port 0/1/0:23
forward-digits all
dial-peer voice 50 pots
description POTS Dial Peer for International Calling
translation-profile outgoing PSTN_Outbound
destination-pattern 9011T
no digit-strip
port 0/1/0:23
forward-digits all
dial-peer voice 2000 voip
description INBOUND Dial-Peer for 4082879919
preference 2
destination-pattern [1-8]...$
session protocol sipv2
session target ipv4:192.168.139.30
incoming called-number .
voice-class codec 10
dtmf-relay rtp-nte sip-kpml
ip qos dscp cs3 signaling
no vad
dial-peer voice 3100 pots
description OUTBOUND to FAX Port Voice 0/0/0 650-459-6401
destination-pattern ^6401$
no digit-strip
port 0/0/0
dial-peer voice 3000 voip
description INBOUND fax number 650-459-6401
session protocol sipv2
incoming called-number ^6401$
dtmf-relay rtp-nte
codec g711ulaw
fax protocol pass-through g711ulaw
no vad
Thank you,
Jason
04-19-2014 08:29 AM
To pass external phone number mask simply check it on the route pattern or route list and don't do any additional transformation on the gateway. A lot of carriers will block calls or replace the ANI with BTN if you attempt to present a DID that does not ride on the circuit. To resolve it you can check with the carrier to see if they will remove ANI screening, some won't so you are stuck with sending BTN for single number reach calls for example or look for different carrier. Let us know if this answers your question or if you have something more specific in mind.
Chris
04-19-2014 04:26 PM
Chris,
I am aware of that. The carrier will allow the numbers.
For example, I changed - rule 1 /.*/ /4082879919/ (main line) to - rule 1 /.*/ /4084596499/ (DID on circuit) and the outbound caller-id would show as 6499.
If I remove 'translate calling 20' from 'voice translation-profile PSTN_Outbound', the calls stop working.
If I remove 'voice translation-profile PSTN_Outbound' from the dial-peers, calls stop working.
To be honest, I'm not sure what voice translation rule 10 does? I'm assuming it deals with 911 calls so I'm hesitant to mess with it. This was all done by a previous engineer and it's stuff I'm not up to speed on yet.
Thanks,
Jason
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide