cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
941
Views
0
Helpful
5
Replies

Urgent CUCM Assistant

ChikeBrown7363
Level 1
Level 1

 

Please i need your help. We have a cucm connected to a trunk gateway. When we forward calls to mobile numbers from our internal DN the caller id normally show our primary number 81026888 but of recent the caller id had changed to 81026000 which is assigned to an internal user. I need to have caller id changed back to 81026888 when we call forward to external mobile numbers.

 

Please the configuration of the trunk is pasted below :

 

voice class codec 1
codec preference 1 g711ulaw
codec preference 2 g711alaw
codec preference 3 g729r8
!
voice class h323 1
h225 timeout tcp establish 3
!
!
!
!
voice translation-rule 1
rule 1 /^\([^0].*\)/ /00\1/
rule 2 /^\(0[^0].*\)/ /0\1/
!
voice translation-rule 2
rule 1 /^0381026/ /6/
rule 2 /^81026/ /6/
!
voice translation-rule 10
rule 1 /^0381026/ /81026/
rule 2 /^0381025.../ /81026888/
rule 3 /^81025.../ /81026888/
!
!
voice translation-profile Outbound-PSTN-Translation
translate calling 10
!
voice translation-profile PSTN-Translation
translate calling 1
translate called 2
!
!

controller E1 0/0/0
shutdown
framing CRC4 Australia
pri-group timeslots 1-31
description ** AAPT PSTN Service 0381026000 - 6999 **
!
controller E1 0/0/1
framing CRC4 Australia
pri-group timeslots 1-31
description ** AAPT PSTN Service 0381026000 - 6999 **

 

voice-port 0/0/0:15
translation-profile incoming PSTN-Translation
translation-profile outgoing Outbound-PSTN-Translation
cptone AU
bearer-cap Speech
!
voice-port 0/0/1:15
translation-profile incoming PSTN-Translation
translation-profile outgoing Outbound-PSTN-Translation
cptone AU
bearer-cap Speech
!
!
!
!
!

dial-peer voice 4000 voip
description *** Primary path to SKR CM ***
preference 1
destination-pattern 6...
progress_ind setup enable 3
modem passthrough nse codec g711ulaw
session target ipv4:10.2.208.10
voice-class codec 1
voice-class h323 1
dtmf-relay h245-alphanumeric
fax-relay ecm disable
fax rate disable
no vad
!
dial-peer voice 4001 voip
description *** Secondary path to GW CM ***
preference 2
destination-pattern 6...
progress_ind setup enable 3
modem passthrough nse codec g711ulaw
session target ipv4:10.1.208.10
voice-class codec 1
voice-class h323 1
dtmf-relay h245-alphanumeric
fax-relay ecm disable
fax rate disable
no vad
!
dial-peer voice 4002 voip
description *** Tertiary path to EL CM ***
preference 3
destination-pattern 6...
progress_ind setup enable 3
modem passthrough nse codec g711ulaw
session target ipv4:10.3.208.10
voice-class codec 1
voice-class h323 1
dtmf-relay h245-alphanumeric
fax-relay ecm disable
fax rate disable
no vad
!
dial-peer voice 1 pots
description ** To PSTN **
preference 1
destination-pattern 0
fax rate disable
direct-inward-dial
port 0/0/0:15
!
dial-peer voice 2 pots
description ** To PSTN **
preference 2
destination-pattern 0
fax rate disable
direct-inward-dial
port 0/0/1:15
!
!
no dial-peer outbound status-check pots
gateway
timer receive-rtp 600
!
!
!
gatekeeper
shutdown

 

The debug output is shown below:

 

110224: .Jun 12 22:39:29.210 AEST: ISDN Se0/0/1:15 Q931: RX <- SETUP pd = 8 callref = 0x08E4
Bearer Capability i = 0x9090A3
Standard = CCITT
Transfer Capability = 3.1kHz Audio
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA18388
Preferred, Channel 8
Progress Ind i = 0x8283 - Origination address is non-ISDN
Calling Party Number i = 0x2183, '0424844293'
Plan:ISDN, Type:National
Called Party Number i = 0xA1, '81026950'
Plan:ISDN, Type:National
Sending Complete
110225: .Jun 12 22:39:29.210 AEST: ISDN Se0/0/1:15 Q931: Received SETUP callref = 0x88E4 callID = 0x130F switch = primary-net5 interface = User
110226: .Jun 12 22:39:29.214 AEST: //-1/9790F9E692F1/CCAPI/cc_api_display_ie_subfields:
cc_api_call_setup_ind_common:
cisco-username=
----- ccCallInfo IE subfields -----
cisco-ani=00424844293
cisco-anitype=2
cisco-aniplan=1
cisco-anipi=0
cisco-anisi=3
dest=6950
cisco-desttype=2
cisco-destplan=1
cisco-rdie=FFFFFFFF
cisco-rdn=
cisco-rdntype=-1
cisco-rdnplan=-1
cisco-rdnpi=-1
cisco-rdnsi=-1
cisco-redirectreason=-1 fwd_final_type =0
final_redirectNumber =
hunt_group_timeout =0

 

1 Accepted Solution

Accepted Solutions

You are sending this as the calling number to your Telco.

Calling Party Number i = 0x2183, '0424844293'

If your seeing something else on the receiving end it would be your Telco that changes this. If you want a specific number to be shown for these calls you would need to intercept and change it on the path to your Telco. This would likely be easiest to do with voice translation rules in the gateway.

For example you could do this.

voice translation-rule 10
rule 1 /^0381026/ /81026/
rule 2 /^0381025.../ /81026888/

rule 3 /^81025.../ /81026888/

rule 4 /.*/ /81026888/

 



Response Signature


View solution in original post

5 Replies 5

Ritesh Desai
Spotlight
Spotlight

@ChikeBrown7363 

q1: Is this issue to single user or to all users?

q2: Any change recently causing this issue?

q3: In CUCM > Device > Phone > Internal User phone > Line > please check the External phone mask is set to 81026888. Add 810268888 in external phone mask > Save > Apply Config. Check by making a call and it does resolve the issue.

 

Voice translation rule and profile is mapped to voice ports configuration so I dont see any issue on Router.

*** Please rate helpful post. Please mark as answer if it solves your problem/query.
regards, Ritesh Desai

You are sending this as the calling number to your Telco.

Calling Party Number i = 0x2183, '0424844293'

If your seeing something else on the receiving end it would be your Telco that changes this. If you want a specific number to be shown for these calls you would need to intercept and change it on the path to your Telco. This would likely be easiest to do with voice translation rules in the gateway.

For example you could do this.

voice translation-rule 10
rule 1 /^0381026/ /81026/
rule 2 /^0381025.../ /81026888/

rule 3 /^81025.../ /81026888/

rule 4 /.*/ /81026888/

 



Response Signature


 

@ChikeBrown7363 

We need the full picture. We can only see the log for the incoming leg of the call from your Telco. We need to see the redirected leg of the call ie. The inbound from cucm and outbound to Telco..

 

Can you post the full logs

debug VoIP ccapi input

debug isdn q931

 

Regards

 

Please rate all useful posts

I have attached a log output. Calling from internal DN to external numbers works fine ( It shows the original caller id) but when we forward calls from the internal DN to mobile numbers it should show caller id 81026888 but now it shows 81026000. Could the problem be from our ISDN service Provider?

Thank you so much! This works perfectly.