03-15-2020 06:52 PM
I am new to dial-peers. I need to create a rule that would prepped my called number with the carrier's prefix. If the user dials a 1 I would like to keep it if not add the 1.
So my call is user1 dials 2223334444 I need it to get translated to 12345*1222333444 before reaching the carrier, but also if user2 dials 15556667777 I need it to get translated to 12345*15556667777.
Not sure If I need two translations or just one.
The following is not working for me:
Solved! Go to Solution.
03-16-2020 10:39 AM
figured it out.
03-15-2020 07:37 PM
hi,
your translation rule seems to be fine, you can further confirm this also with
Router#test voice translation-rule 10 2223334444
But my question here is about your carrier, carrier will accept the dialing pattern like 12345*….. in a single invite ?
03-16-2020 05:20 AM
Yes that is how my provider wants the number dialed. I see that it is working when I do the test, but when I call the number it does not get translated. The number I call gets forward without any translations to the provider. Is it not matching the correct dial-peer? I have a catchall inbound to my Pots lines then the outbound dial-peers, they are as follows:
dial-peer voice 100 voip
description CatchAll Incomming
destination-pattern +1T
progress_ind setup enable 3
session protocol sipv2
session transport udp
dtmf-relay rtp-nte
codec g711ulaw
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad
!
dial-peer voice 201 pots
destination-pattern 13052227925
port 1/0/0
!
dial-peer voice 101 voip
description Service Number (911, 411, etc)
destination-pattern [2-9]11
progress_ind setup enable 3
session protocol sipv2
session target ipv4:10.21.10.4
session transport udp
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad
!
dial-peer voice 102 voip
description 11 Digit dialing
destination-pattern 1[2-9].........
progress_ind setup enable 3
session protocol sipv2
session target dns:sip.provider.com
session transport udp
dtmf-relay rtp-nte
codec g711ulaw
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad
!
dial-peer voice 103 voip
description 10 Digit Dialing
translation-profile outgoing ADD12345*1
destination-pattern [2-9].........
progress_ind setup enable 3
session protocol sipv2
session target dns:sip.provider.com
session transport udp
dtmf-relay rtp-nte
codec g711ulaw
ip qos dscp cs5 media
ip qos dscp cs4 signaling
no vad
03-16-2020 10:39 AM
figured it out.
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