11-30-2020 12:01 AM
Hello All,
I have a problem and have tried lots of config but not getting the call to show the internal number when forwarding out. The forum point in the right direction but when running the debug the local number is not sent thus getting a 'number does not exist'.
Model: ISR4331
Cisco IOS XE Software, Version 16.11.01a
!
voice service voip
ip address trusted list
ipv4 0.0.0.0 0.0.0.0
ipv4 192.168.87.10 255.255.255.255
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
no supplementary-service h450.2
no supplementary-service h450.3
supplementary-service h450.12
no supplementary-service sip moved-temporarily
no supplementary-service sip refer
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
sip
registrar server expires max 600 min 60
midcall-signaling passthru media-change
!
voice translation-rule 1
rule 1 /^\(72..\)$/ /021980\1/
rule 2 /^\(77..\)$/ /021980\1/
rule 3 /^\(1130\)$/ /021982\1/
!
voice translation-rule 2
rule 1 /021980/ //
rule 2 /021982/ //
!
!
voice translation-profile INBOUND
translate called 2
!
voice translation-profile OUTBOUND
translate calling 1
!
!
dial-peer voice 10 voip
description **Outgoing Call to SIP Trunk**
translation-profile incoming INBOUND
translation-profile outgoing OUTBOUND
destination-pattern .T
translate-outgoing calling 1
session protocol sipv2
session target ipv4:192.168.245.10
incoming called-number .T
voice-class codec 1
dtmf-relay rtp-nte
no vad
!
Any help will greatly be appreciated.
Thank you!!
11-30-2020 12:13 AM
is this CME or CUCM setup ?
11-30-2020 01:02 AM - edited 11-30-2020 01:35 AM
Try translation-profile with redirect
have a look on below link.
11-30-2020 02:09 AM
Thank you for the information. Do I apply an outgoing or incoming translation-profile on the dial-peer?
11-30-2020 05:13 AM
translation should be on outgoing.
11-30-2020 05:23 AM
Still getting the 'number does not exist' and I have applied it to the outbound dial-peer.
Any other steps to check?
11-30-2020 05:29 AM
can you post the debug messages
11-30-2020 06:21 AM
11-30-2020 12:31 AM - edited 11-30-2020 12:32 AM
Hello Nithin,
Pardon me for not giving that detail, it is a CME setup yes.
Thank you for your time.
11-30-2020 03:45 AM
With CME this would an outbound translation as I don't think you can set it in the inbound direction. At least not inbound in the sense that it's from the devices.
11-30-2020 05:25 AM
12-01-2020 12:17 AM
Hello,
Thanks for the link, also have tried that but not getting anywhere. below the current config. You see currently I have on outgoing the OUTBOUND, but when I apply the CALLTRANSFER it does not change anything.
!
voice translation-rule 1
rule 1 /^\(72..\)$/ /021980\1/
rule 2 /^\(77..\)$/ /021980\1/
rule 3 /^\(1130\)$/ /021982\1/
!
voice translation-rule 2
rule 1 /021980/ //
rule 2 /021982/ //
!
!
voice translation-profile CALLTRANSFER
translate redirect-called 1
!
voice translation-profile INBOUND
translate called 2
!
voice translation-profile OUTBOUND
translate calling 1
!
dial-peer voice 10 voip
description **Outgoing Call to SIP Trunk**
translation-profile incoming INBOUND
translation-profile outgoing OUTBOUND
destination-pattern .T
translate-outgoing calling 1
session protocol sipv2
session target ipv4:192.168.245.10
incoming called-number .T
voice-class codec 1
dtmf-relay rtp-nte
no vad
!
Really appreciate your help so far and hope we can get this one working.
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