cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3012
Views
10
Helpful
11
Replies

Calling Number doesn't changed on Translation Pattern

aelankoud
Level 1
Level 1

Hi All,

I installed CUCM 11.5, and Gateway Cisco Router 2901

i created a TP for the calling number on CUCM from (1103 directory number) to 0537000010 (ten digits), but that doesn't work, when I make a call I hear just tone.

when i make a debug i found that :

GATEWAY-VOIP#term mon
GATEWAY-VOIP#debug
Mar 31 12:56:26.995: ISDN Se0/0/0:15 Q921: User TX -> RRp sapi=0 tei=0 nr=48
Mar 31 12:56:27.007: ISDN Se0/0/0:15 Q921: User RX <- RRf sapi=0 tei=0 nr=72 isdn
% Incomplete command.

GATEWAY-VOIP#debug isdn
Mar 31 12:56:36.995: ISDN Se0/0/0:15 Q921: User RX <- RRp sapi=0 tei=0 nr=72
Mar 31 12:56:36.995: ISDN Se0/0/0:15 Q921: User TX -> RRf sapi=0 tei=0 nr=48
Mar 31 12:56:46.995: ISDN Se0/0/0:15 Q921: User TX -> RRp sapi=0 tei=0 nr=48
Mar 31 12:56:47.007: ISDN Se0/0/0:15 Q921: User RX <- RRf sapi=0 tei=0 nr=72
Mar 31 12:56:49.955: //-1/0044A07F0600/CCAPI/cc_api_display_ie_subfields:
   cc_api_call_setup_ind_common:
   cisco-username=Bureau 1
   ----- ccCallInfo IE subfields -----
   cisco-ani=1103
   cisco-anitype=0
   cisco-aniplan=0
   cisco-anipi=0
   cisco-anisi=1
   dest=0648956135
   cisco-desttype=0
   cisco-destplan=0
   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

Mar 31 12:56:49.955: //-1/0044A07F0600/CCAPI/cc_api_call_setup_ind_common:
   Interface=0x226FA928, Call Info(
   Calling Number=1103,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed),
   Called Number=0648956135(TON=Unknown, NPI=Unknown),
   Calling Translated=FALSE, Subscriber Type Str=Unknown, FinalDestinationFlag=TRUE,
   Incoming Dial-peer=1, Progress Indication=NULL(0), Calling IE Present=TRUE,
   Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=79
Mar 31 12:56:49.955: //-1/0044A07F0600/CCAPI/ccCheckClipClir:
   In: Calling Number=1103(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed)
Mar 31 12:56:49.955: //-1/0044A07F0600/CCAPI/ccCheckClipClir:
   Out: Calling Number=1103(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed)
Mar 31 12:56:49.955: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Mar 31 12:56:49.955: :cc_get_feature_vsa malloc success
Mar 31 12:56:49.955: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Mar 31 12:56:49.955:  cc_get_feature_vsa count is 1
Mar 31 12:56:49.955: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Mar 31 12:56:49.955: :FEATURE_VSA attributes are: feature_name:0,feature_time:975739920,feature_id:79
Mar 31 12:56:49.955: //79/0044A07F0600/CCAPI/cc_api_call_setup_ind_common:
   Set Up Event Sent;
   Call Info(Calling Number=1103(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed),
   Called Number=0648956135(TON=Unknown, NPI=Unknown))
Mar 31 12:56:49.955: //79/0044A07F0600/CCAPI/cc_process_call_setup_ind:
   Event=0x229B29B8
Mar 31 12:56:49.955: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_search:
   Try with the demoted called number 0648956135
Mar 31 12:56:49.955: //79/0044A07F0600/CCAPI/ccCallSetContext:
   Context=0x2107B020
Mar 31 12:56:49.955: //79/0044A07F0600/CCAPI/cc_process_call_setup_ind:
   >>>>CCAPI handed cid 79 with tag 1 to app "_ManagedAppProcess_Default"
Mar 31 12:56:49.955: //79/0044A07F0600/CCAPI/ccCallProceeding:
   Progress Indication=NULL(0)
Mar 31 12:56:49.955: //79/0044A07F0600/CCAPI/ccCallSetupRequest:
   Destination=, Calling IE Present=TRUE, Mode=0,
   Outgoing Dial-peer=3, Params=0x2107DBC0, Progress Indication=ORIGINATING SIDE IS NON ISDN(3)
Mar 31 12:56:49.955: //79/0044A07F0600/CCAPI/ccCheckClipClir:
   In: Calling Number=1103(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed)
Mar 31 12:56:49.955: //79/0044A07F0600/CCAPI/ccCheckClipClir:
   Out: Calling Number=1103(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed)
Mar 31 12:56:49.955: //79/0044A07F0600/CCAPI/ccCallSetupRequest:
   Destination Pattern=0[56]........, Called Number=0648956135, Digit Strip=FALSE
Mar 31 12:56:49.955: //79/0044A07F0600/CCAPI/ccCallSetupRequest:
   Calling Number=1103(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed),
   Called Number=0648956135(TON=Unknown, NPI=Unknown),
   Redirect Number=, Display Info=
   Account Number=Bureau 1, Final Destination Flag=TRUE,
   Guid=0044A07F-1152-E18D-0600-0A010A020707, Outgoing Dial-peer=3
Mar 31 12:56:49.955: //79/0044A07F0600/CCAPI/cc_api_display_ie_subfields:
   ccCallSetupRequest:
   cisco-username=Bureau 1
   ----- ccCallInfo IE subfields -----
   cisco-ani=1103
   cisco-anitype=0
   cisco-aniplan=0
   cisco-anipi=0
   cisco-anisi=1
   dest=0648956135
   cisco-desttype=0
   cisco-destplan=0
   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

Mar 31 12:56:49.955: //79/0044A07F0600/CCAPI/ccIFCallSetupRequestPrivate:
   Interface=0x3F1CF30C, Interface Type=6, Destination=, Mode=0x0,
   Call Params(Calling Number=1103,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed),
   Called Number=0648956135(TON=Unknown, NPI=Unknown), Calling Translated=FALSE,
   Subscriber Type Str=Unknown, FinalDestinationFlag=TRUE, Outgoing Dial-peer=3, Call Count On=FALSE,
   Source Trkgrp Route Label=, Target Trkgrp Route Label=, tg_label_flag=0, Application Call Id=)
Mar 31 12:56:49.959: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Mar 31 12:56:49.959: :cc_get_feature_vsa malloc success
Mar 31 12:56:49.959: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Mar 31 12:56:49.959:  cc_get_feature_vsa count is 2
Mar 31 12:56:49.959: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Mar 31 12:56:49.959: :FEATURE_VSA attributes are: feature_name:0,feature_time:975739696,feature_id:80
Mar 31 12:56:49.959: //80/0044A07F0600/CCAPI/ccIFCallSetupRequestPrivate:
   SPI Call Setup Request Is Success; Interface Type=6, FlowMode=1
Mar 31 12:56:49.959: //80/0044A07F0600/CCAPI/ccCallSetContext:
   Context=0x2107DB70
Mar 31 12:56:49.959: //79/0044A07F0600/CCAPI/ccSaveDialpeerTag:
   Outgoing Dial-peer=3
Mar 31 12:56:49.963: //80/0044A07F0600/CCAPI/cc_api_call_proceeding:
   Interface=0x3F1CF30C, Progress Indication=NULL(0)
Mar 31 12:56:51.219: //80/0044A07F0600/CCAPI/cc_api_call_disconnected:
   Cause Value=34, Interface=0x3F1CF30C, Call Id=80
Mar 31 12:56:51.219: //80/0044A07F0600/CCAPI/cc_api_call_disconnected:
   Call Entry(Responsed=TRUE, Cause Value=34, Retry Count=0)
Mar 31 12:56:51.219: //79/0044A07F0600/CCAPI/ccCallReleaseResources:
   release reserved xcoding resource.
Mar 31 12:56:51.219: //80/0044A07F0600/CCAPI/ccCallSetAAA_Accounting:
   Accounting=1, Call Id=80
Mar 31 12:56:51.219: //80/0044A07F0600/CCAPI/ccCallDisconnect:
   Cause Value=34, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=34)
Mar 31 12:56:51.219: //80/0044A07F0600/CCAPI/ccCallDisconnect:
   Cause Value=34, Call Entry(Responsed=TRUE, Cause Value=34)
Mar 31 12:56:51.219: //80/0044A07F0600/CCAPI/cc_api_call_disconnect_done:
   Disposition=0, Interface=0x3F1CF30C, Tag=0x0, Call Id=80,
   Call Entry(Disconnect Cause=34, Voice Class Cause Code=0, Retry Count=0)
Mar 31 12:56:51.219: //80/0044A07F0600/CCAPI/cc_api_call_disconnect_done:
   Call Disconnect Event Sent
Mar 31 12:56:51.219: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

thank you.

Youssef

11 Replies 11

Oleg Serstjuk
Level 1
Level 1

a translation pattern will translate your called number

You need to use calling party transformation pattern

this thread might be of help to you https://supportforums.cisco.com/discussion/12368631/help-calling-party-transformation-patterns

Pulkit Sharma
Cisco Employee
Cisco Employee

Hi Youssef,

It looks like you are using a PRI citcuit with the proivder:

I see that we are having two problem here:

1) Your calling number is going out as 4 digit extension. The provider may not like the a 4 digit extension in the calling number and it why they might be rejecting the call.
- If that is the case, then you would have to check your translation rule and make sure it translate the calling number.
2) The leg facing the provider is getting disconnected with CV=34. This means no circuit/available. Do you have your PRI configured correct?
- You can quickly check this with "show isdn status" to see if the circuit has " multiple frame established"

In addition to the above:

Please share your show run, along with output of the following debugs:

debug voice ccapi inout
debug isdn q931

- Make sure the you take the debugs in the buffer:

conf t
logg buff 999999
exit

clear log.
- Make the test call:
- Do share the calling and called party number as well.

Thanks
Pulkit

Hi Pulsharm, thank you for answer.

Before discussing about the PRI status, I want to know why the number was not translated, in CUCM: Calling Number is 0537000000, with DN: 1103.
In our installation the PRI has about 100 numbers for external calls,
I want to translate all DNs to DID numbers:
   DN DID
1103     =>  0537810000
1250     =>  0537810001
1166     =>  0537810002
    . .
    .        =>          .
    .                      .
    .                      .
  1230   =>   0537810100

In our installation we have to create for each translation a translation role in CUCM, how can we do that? Thank YOU

Youssef

There's no way to tell you why it's not working without seeing the configuration on the TP.

If your dial plan does not use DIDs, and your numbering plan is all over the place as the example you provided, yes, most likely you'll need to create a specific configuration for each number.

HTH

java

if this helps, please rate

Hi Jaime, thank you.

here is the configuration and Call Log :

Router Configuration :

voice service voip
 fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
 h323
  session transport udp
voice class codec 100
 codec preference 1 g711ulaw
 codec preference 2 g711alaw
 codec preference 3 g729r8
 codec preference 4 clear-channel
!
voice class h323 1
  call start fast
!
voice class dualtone-detect-params 77
 freq-max-deviation 30
!
voice class custom-cptone leave
 dualtone conference
  frequency 400 800
  cadence 400 50 200 50 200 50
!
voice class custom-cptone joindre
 dualtone conference
  frequency 600 900
  cadence 300 150 300 100 300 50
!
voice class custom-cptone morocco
 dualtone disconnect
  frequency 435
  cadence 500 500
!
license udi pid CISCO2901/K9 sn FGL204610JC
hw-module pvdm 0/0
!
username admin privilege 15 password 7 06350E2D491C594852
!
controller E1 0/0/0
 framing NO-CRC4
 pri-group timeslots 1-31
!
interface Loopback0
 no ip address
 shutdown
!
interface Embedded-Service-Engine0/0
 no ip address
 shutdown
!
interface GigabitEthernet0/0
 description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-GE 0/0$
 ip address 10.2.7.12 255.255.255.0
 duplex auto
 speed auto
!
interface Serial0/0/0:15
 no ip address
 encapsulation hdlc
 isdn switch-type primary-net5
 isdn incoming-voice voice
 no cdp enable
!
ip forward-protocol nd
!
voice-port 0/0/0:15
 cptone FR
 bearer-cap Speech
!
dspfarm profile 1 conference
 codec g729br8
 codec g729r8
 codec g729abr8
 codec g729ar8
 codec g711alaw
 codec g711ulaw
 maximum sessions 1
 conference-join custom-cptone joindre
 conference-leave custom-cptone leave
 associate application SCCP
 shutdown
!
dial-peer voice 1 voip
 destination-pattern 1...
 progress_ind setup enable 3
 session target ipv4:10.2.7.13
 incoming called-number 0T
 codec g711ulaw
 no vad
!
dial-peer voice 2 pots
 preference 1
 destination-pattern 0T
 port 0/1/0
 forward-digits all
!
dial-peer voice 3 pots
 description ####les appels Vers GSM et FIXE NATIONAL###
 preference 2
 destination-pattern 0[56]........
 progress_ind setup enable 3
 progress_ind alert enable 8
 translate-outgoing calling 1
 no digit-strip
 direct-inward-dial
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 4 pots
 description ####les appels Vers FIXE URBAIN###
 preference 3
 destination-pattern 0537......
 progress_ind setup enable 3
 progress_ind alert enable 8
 translate-outgoing calling 1
 no digit-strip
 direct-inward-dial
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 5 pots
 description ####les appels Vers FIXE NATIONAL###
 preference 4
 destination-pattern 0[5]........
 progress_ind setup enable 3
 progress_ind alert enable 8
 translate-outgoing calling 1
 no digit-strip
 direct-inward-dial
 port 0/0/0:15
 forward-digits all
!
dial-peer voice 6 pots
 description ####les appels vers les numeros de service###
 destination-pattern #...
 progress_ind setup enable 3
 progress_ind alert enable 8
 translate-outgoing calling 1
 no digit-strip
 direct-inward-dial
 port 0/0/0:15
 forward-digits all

Call Log :

GATEWAY-VOIP#term mon
Apr 20 13:53:39.879: //-1/00F967C00C00/CCAPI/cc_api_display_ie_subfields:
   cc_api_call_setup_ind_common:
   cisco-username=Salon Marocain
   ----- ccCallInfo IE subfields -----
   cisco-ani=1104
   cisco-anitype=0
   cisco-aniplan=0
   cisco-anipi=0
   cisco-anisi=1
   dest=0648956135
   cisco-desttype=0
   cisco-destplan=0
   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

Apr 20 13:53:39.879: //-1/00F967C00C00/CCAPI/cc_api_call_setup_ind_common:
   Interface=0x226FA928, Call Info(
   Calling Number=1104,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed),
   Called Number=0648956135(TON=Unknown, NPI=Unknown),
   Calling Translated=FALSE, Subscriber Type Str=Unknown, FinalDestinationFlag=TRUE,
   Incoming Dial-peer=1, Progress Indication=NULL(0), Calling IE Present=TRUE,
   Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=94
Apr 20 13:53:39.879: //-1/00F967C00C00/CCAPI/ccCheckClipClir:
   In: Calling Number=1104(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed)
Apr 20 13:53:39.879: //-1/00F967C00C00/CCAPI/ccCheckClipClir:
   Out: Calling Number=1104(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed)
Apr 20 13:53:39.879: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Apr 20 13:53:39.879: :cc_get_feature_vsa malloc success
Apr 20 13:53:39.879: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Apr 20 13:53:39.879:  cc_get_feature_vsa count is 1
Apr 20 13:53:39.879: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

Apr 20 13:53:39.879: :FEATURE_VSA attributes are: feature_name:0,feature_time:975739920,feature_id:94
Apr 20 13:53:39.879: //94/00F967C00C00/CCAPI/cc_api_call_setup_ind_common:
   Set Up Event Sent;
   Call Info(Calling Number=1104(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed),
   Called Number=0648956135(TON=Unknown, NPI=Unknown))
Apr 20 13:53:39.879: //94/00F967C00C00/CCAPI/cc_process_call_setup_ind:
   Event=0x229B29B8
Apr 20 13:53:39.879: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_search:
   Try with the demoted called number 0648956135
Apr 20 13:53:39.879: //94/00F967C00C00/CCAPI/ccCallSetContext:
   Context=0x21072E30
Apr 20 13:53:39.879: //94/00F967C00C00/CCAPI/cc_process_call_setup_ind:
   >>>>CCAPI handed cid 94 with tag 1 to app "_ManagedAppProcess_Default"
Apr 20 13:53:39.879: //94/00F967C00C00/CCAPI/ccCallProceeding:
   Progress Indication=NULL(0)
Apr 20 13:53:39.883: //94/00F967C00C00/CCAPI/ccCallSetupRequest:
   Destination=, Calling IE Present=TRUE, Mode=0,
   Outgoing Dial-peer=2, Params=0x21074428, Progress Indication=NULL(0)
Apr 20 13:53:39.883: //94/00F967C00C00/CCAPI/ccCheckClipClir:
   In: Calling Number=1104(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed)
Apr 20 13:53:39.883: //94/00F967C00C00/CCAPI/ccCheckClipClir:
   Out: Calling Number=1104(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed)
Apr 20 13:53:39.883: //94/00F967C00C00/CCAPI/ccCallSetupRequest:
   Destination Pattern=0T, Called Number=0648956135, Digit Strip=TRUE
Apr 20 13:53:39.883: //94/00F967C00C00/CCAPI/ccCallSetupRequest:
   Calling Number=1104(TON=Unknown, NPI=Unknown, Screening=User, Passed, Presentation=Allowed),
   Called Number=0648956135(TON=Unknown, NPI=Unknown),
   Redirect Number=, Display Info=
   Account Number=Salon Marocain, Final Destination Flag=TRUE,
   Guid=00F967C0-63BD-818F-0C00-10010A020705, Outgoing Dial-peer=2
Apr 20 13:53:39.883: //94/00F967C00C00/CCAPI/cc_api_display_ie_subfields:

The TP Configuration on CUCM (1104 to 0537810001) :

Thank you for helping me.

Youssef

So... you want to dial 0537810001, and have that ring 1104???
Because that's what your translation pattern does.

If you wanted to call 1104 and ring 0537810001, you're doing the complete opposite.

HTH

java

if this helps, please rate

No, I want to translate the number 1104 to 0537810001, for external calls, how I can do that, thanks

Translation pattern is what you want to dial to match the pattern.

Called party transform mask is what you want to transform it into.

HTH

java

if this helps, please rate

Hi Youssef,

I understand your problem. But your extension are such that they are not utilizing any property of the DID block that you have. What you are doing here is unique mapping to a DID so you would have to create a separate rule for all the extensions.

Thanks

Pulkit

Hi Pulkit, thank you for your answer

After understanding my problem, you offer me the right solution, so In your opinion, where I can create separate rules for incoming and outgoing calls, in CUCM or in Gateway Router?

Thank you again.

Youssef

Hi Youssef,

It totally depends on you, where you feel comfortable about the translation:

I see that you have uploaded you TP, so if you can just check the checkbox for the "Use calling party's External Phone Number Mask" it would send the Caller ID to the GW and since you have not configured any translation on the GW it would work.

Again re-iterating the point that these are unique number and only 1 to 1 mapping would work.

Now coming to the GW, if you want to configure translation there:

voice translation-rule 201

 rule 1 /^1103/ /0537810000/

voice translation-profile ANI_Conversion

 translate calling 201

 - Apply it now to the incoming or outgoing dial-peer:

dial-peer voice 1 voip

 translation-profile incoming ANI_Conversion

What the aforesaid configuration will do is it will change the calling number to 1103 to a DID of 0537810000.

Note: Based on the IOS version there is a limit to the number of rules that you can add. Earlier it used to be 15 however with IOS 15.1(4)M and above you can add 100.

Let me know if that helped.

Thanks

Pulkit