08-16-2017 03:42 AM - edited 03-17-2019 11:01 AM
i need to set outgoing calls from my cme to national , i have these configurations for directing calls to outside
dial-peer voice 1 pots
destination-pattern .T
incoming called-number .
direct-inward-dial
port 0/0/0:15
!
dial-peer voice 2 pots
destination-pattern 6.......
port 0/0/0:15
forward-digits all
!
dial-peer voice 3 pots
destination-pattern [5,9].......
port 0/0/0:15
forward-digits all
!
dial-peer voice 4 pots
destination-pattern 18.....
port 0/0/0:15
forward-digits all
!
dial-peer voice 10 pots
destination-pattern 8T
port 0/0/0:15
is it a certain command under these dial-peers?
08-16-2017 03:51 AM
Hi,
Configuration looks good, are you facing any issues?
can you explain what exactly you are looking for?
JB
08-16-2017 04:47 AM
a certain number isnt working when sent to the isp through E1 , when we troubleshooted with the isp he requested to set the call type to national , as you see from the call log the type is unknown i want outgoing calls to be set to national?
Aug 3 06:19:59.385: ISDN Se0/0/0:15 Q931: Applying typeplan for sw-type 0x12 is 0x0 0x1, Calling num 222XXXXX
Aug 3 06:19:59.389: ISDN Se0/0/0:15 Q931: Sending SETUP callref = 0x1535 callID = 0x94B6 switch = primary-net5 interface = User
Aug 3 06:19:59.389: ISDN Se0/0/0:15 Q931: TX -> SETUP pd = 8 callref = 0x1535
Bearer Capability i = 0x8090A3
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA9839D
Exclusive, Channel 29
Progress Ind i = 0x8183 - Origination address is non-ISDN
Calling Party Number i = 0x0180, '222XXXXX'
Plan:ISDN, Type:Unknown
Called Party Number i = 0x81, '171'
Plan:ISDN, Type:Unknown
Aug 3 06:19:59.413: ISDN Se0/0/0:15 Q931: RX <- SETUP_ACK pd = 8 callref = 0x9535
Channel ID i = 0xA9839D
Exclusive, Channel 29
Progress Ind i = 0x8288 - In-band info or appropriate now available
Aug 3 06:20:04.765: ISDN Se0/0/0:15 Q931: TX -> DISCONNECT pd = 8 callref = 0x1535
Cause i = 0x8090 - Normal call clearing
Aug 3 06:20:04.789: ISDN Se0/0/0:15 Q931: RX <- RELEASE pd = 8 callref = 0x9535
Aug 3 06:20:04.789: ISDN Se0/0/0:15 Q931: TX -> RELEASE_COMP pd = 8 callref = 0x1535
Aug 3 06:20:11.197: ISDN Se0/0/0:15 Q931: TX -> DISCONNECT pd = 8 callref = 0x1534
Cause i = 0x8090 - Normal call clearing
Aug 3 06:20:11.221: ISDN Se0/0/0:15 Q931: RX <- RELEASE pd = 8 callref = 0x9534
Aug 3 06:20:11.221: ISDN Se0/0/0:15 Q931: TX -> RELEASE_COMP pd = 8 callref = 0x1534
08-16-2017 04:55 AM
Hi
Understood, see below how you can do it.
https://www.cisco.com/c/en/us/support/docs/voice/call-routing-dial-plans/61083-voice-transla-rules.html
(Rate if it helps)
JB
08-16-2017 05:00 AM
would this be a correct translation rule to apply national type to a number like 111
voice translation rule 1
rule 1 /111/ /111/ type unknown national
voice translation-profile test
translate called 1
08-16-2017 05:04 AM
looks ok
08-16-2017 05:57 AM
Hi
Did it work you can always use test voice translation-rule command to test it.
(Rate if it helps)
JB
08-16-2017 06:17 AM
Hi Baselzind,
Based on the shared information, it seems you will be hitting dial-peer 10. You can configure translation rules and profiles and assign it to the dial-peer to change the type from unknown to national.
voice translation-rule 3
rule 1 // // type any national plan any isdn ( For called party)
voice translation-rule 13
rule 1 /^222...../ /\&/ type any national plan any isdn ( For calling party)
voice translation-profile NAT ( This name is case sensitive)
translate called 3
translate calling 13
dial-peer voice 10 pots
destination-pattern 8T
translation-profile outgoing NAT
port 0//0/0:15
Regards
Inderpsi
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