cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
709
Views
15
Helpful
4
Replies

Unwated prefix with Incoming calls

mightyking
Level 6
Level 6

Hello Folks,

All our incoming calls are showing some extra digits on the phone display. Let say I am in Europe and have extension 16065 and the desk next to me has 16290. When I call my neighbor with 8 digits 97716290 to simulate an inbound call from PSTN, the incoming number on his phone shows 94577416065. Do you guys know where those extra digits get added? There's absolutly nothing configured in the CM or the GW to add those digits or I don't seem to be able to find where the transations is taking palce

Thanks,

MK

4 Replies 4

Hello,

Did you try to do a debugs on the gateway (either q931 or ccapi inout) and check what is the incoming called number that you recieve from PSTN?

Amer

nitsinha
Level 4
Level 4

Run DNA to find out what number you should be sending out, verify that by running 'debug isdn q931' on the egress gateway and then check what number is received from the Telco on the ingress gateway. If you don't find any issues here, take CUCM traces and post it here alongwith the calling, called party and time of call.

Hope that helps

Regards

Nitesh

PS:Pl rate helpful posts

Thanks for the replies,

Here's the output of the debugs. I can see in the debug the Calling Party Number is 4577416065 but what I see on the phone display is 94577416065. I don't see where those extra digits "945" are getting added to the called party phone display.

*Jun 16 00:13:02.098: ISDN Se2/0:15 Q931: TX -> SETUP pd = 8  callref = 0x0080
        Bearer Capability i = 0x8090A3
                Standard = CCITT
                Transfer Capability = Speech 
                Transfer Mode = Circuit
                Transfer Rate = 64 kbit/s
        Channel ID i = 0xA98381
                Exclusive, Channel 1
        Display i = 'Bahman Tajkarimi - 16065'
        Calling Party Number i = 0x0081, '77416065'
                Plan:Unknown, Type:Unknown
        Called Party Number i = 0x80, '77416290'
                Plan:Unknown, Type:Unknown
*Jun 16 00:13:02.126: ISDN Se2/0:15 Q931: RX <- STATUS pd = 8  callref = 0x8080
        Cause i = 0x82E39828 - Information element not implemented
        Call State i = 0x01
*Jun 16 00:13:02.138: ISDN Se2/0:15 Q931: RX <- SETUP_ACK pd = 8  callref = 0x8080
        Channel ID i = 0xA98381
                Exclusive, Channel 1
*Jun 16 00:13:02.798: ISDN Se2/0:15 Q931: RX <- CALL_PROC pd = 8  callref = 0x8080
*Jun 16 00:1
HILVGW01#3:02.798: //2133/0081FB7A0600/CCAPI/cc_api_call_proceeding:
   Interface=0x70C79DE4, Progress Indication=NULL(0)
*Jun 16 00:13:03.562: ISDN Se1/0:15 Q931: RX <- SETUP pd = 8  callref = 0x2F00
        Sending Complete
        Bearer Capability i = 0x8090A3
                Standard = CCITT
                Transfer Capability = Speech 
                Transfer Mode = Circuit
                Transfer Rate = 64 kbit/s
        Channel ID i = 0xA98381
                Exclusive, Channel 1
        Calling Party Number i = 0x1181, '4577416065'
                Plan:ISDN, Type:International
        Calling Party Number i = 0x2181, '77416065'
                Plan:ISDN, Type:National
        Called Party Number i = 0xA1, '77416290'
                Plan:ISDN, Type:National
*Jun 16 00:13:03.562: ISDN Se1/0:15 Q931: Received SETUP  callref = 0xAF00 callID = 0x0126 switch = primary-net5 interface = User
*Jun 16 00:13:03.566: //-1/3CAA59B2811B/CCAPI/cc_api_display_ie_subfields:
   cc_api_call_setup_ind_common:
   cisco-username=
   ----- ccCallInfo IE subfields -----
   cisco-ani=4577416065
   cisco-anitype=1
   cisco-aniplan=1
   cisco-anipi=0
   cisco-anisi=1
   dest=16290
   cisco-desttype=2
   cisco-destplan=1
   cisco-rdie=FFFFFFFF
   cisco-rdn=
   cisco-lastrdn=
   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

*Jun 16 00:13:03.566: //-1/3CAA59B2811B/CCAPI/cc_api_call_setup_ind_common:
   Interface=0x70C7B494, Call Info(
   Calling Number=4577416065,(Calling Name=)(TON=International, NPI=ISDN, Screening=User, Passed, Presentation=Allowed),
   Called Number=16290(TON=National, NPI=ISDN),
   Calling Translated=FALSE, Subscriber Type Str=RegularLine, FinalDestinationFlag=TRUE,
   Incoming Dial-peer=999999, Progress Indication=NULL(0), Calling IE Present=TRUE,
   Source Trkgrp Route Label=PRI, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=-1
*Jun 16 00:13:03.566: //-1/3CAA59B2811B/CCAPI/ccCheckClipClir:
   In: Calling Number=4577416065(TON=International, NPI=ISDN, Screening=User, Passed, Presentation=Allowed)
*Jun 16 00:13:03.566: //-1/3CAA59B2811B/CCAPI/ccCheckClipClir:
   Out: Calling Number=4577416065(TON=International, NPI=ISDN, Screening=User, Passed, Presentation=Allowed)
*Jun 16 00:13:03.566: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
  
*Jun 16 00:13:03.566: :cc_get_feature_vsa malloc success
*Jun 16 00:13:03.566: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
  
*Jun 16 00:13:03.566:  cc_get_feature_vsa count is 3
*Jun 16 00:13:03.566: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
  
*Jun 16 00:13:03.566: :FEATURE_VSA attributes are: feature_name:0,feature_time:1974996672,feature_id:2149
*Jun 16 00:13:03.566: //2134/3CAA59B2811B/CCAPI/cc_api_call_setup_ind_common:
   Set Up Event Sent;
   Call Info(Calling Number=4577416065(TON=International, NPI=ISDN, Screening=User, Passed, Presentation=Allowed),
   Called Number=16290(TON=National, NPI=ISDN))
*Jun 16 00:13:03.566: //2134/3CAA59B2811B/CCAPI/cc_process_call_setup_ind:
   Event=0x70D996F8
*Jun 16 00:13:03.566: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_search:
   Try with the demoted called number 16290
*Jun 16 00:13:03.566: //2134/3CAA59B2811B/CCAPI/ccCallSetContext:
   Context=0x7549D304
*Jun 16 00:13:03.566: //2134/3CAA59B2811B/CCAPI/cc_process_call_setup_ind:
   >>>>CCAPI handed cid 2134 with tag 999999 to app "_ManagedAppProcess_Default"
*Jun 16 00:13:03.566: //2134/3CAA59B2811B/CCAPI/ccCallProceeding:
   Progress Indication=NULL(0)
*Jun 16 00:13:03.570: //2134/3CAA59B2811B/CCAPI/ccCallSetupRequest:
   Destination=, Calling IE Present=TRUE, Mode=0,
   Outgoing Dial-peer=170, Params=0x7549AD44, Progress Indication=ORIGINATING SIDE IS NON ISDN(3)
*Jun 16 00:13:03.570: //2134/3CAA59B2811B/CCAPI/ccCheckClipClir:
   In: Calling Number=4577416065(TON=International, NPI=ISDN, Screening=User, Passed, Presentation=Allowed)
*Jun 16 00:13:03.570: //2134/3CAA59B2811B/CCAPI/ccCheckClipClir:
   Out: Calling Number=4577416065(TON=International, NPI=ISDN, Screening=User, Passed, Presentation=Allowed)
*Jun 16 00:13:03.570: //2134/3CAA59B2811B/CCAPI/ccCallSetupRequest:
   Destination Pattern=16..., Called Number=16290, Digit Strip=FALSE
*Jun 16 00:13:03.570: //2134/3CAA59B2811B/CCAPI/ccCallSetupRequest:
   Calling Number=4577416065(TON=International, NPI=ISDN, Screening=User, Passed, Presentation=Allowed),
   Called Number=16290(TON=National, NPI=ISDN),
   Redirect Number=, Display Info=
   Account Number=, Final Destination Flag=TRUE,
   Guid=3CAA59B2-96E4-11E0-811B-F02572C9A900, Outgoing Dial-peer=170
*Jun 16 00:13:03.570: //2134/3CAA59B2811B/CCAPI/cc_api_display_ie_subfields:
   ccCallSetupRequest:
   cisco-username=
   ----- ccCallInfo IE subfields -----
   cisco-ani=4577416065
   cisco-anitype=1
   cisco-aniplan=1
   cisco-anipi=0
   cisco-anisi=1
   dest=16290
   cisco-desttype=2
   cisco-destplan=1
   cisco-rdie=FFFFFFFF
   cisco-rdn=
   cisco-lastrdn=
   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

*Jun 16 00:13:03.570: //2134/3CAA59B2811B/CCAPI/ccIFCallSetupRequestPrivate:
   Interface=0x6881C070, Interface Type=1, Destination=, Mode=0x0,
   Call Params(Calling Number=4577416065,(Calling Name=)(TON=International, NPI=ISDN, Screening=User, Passed, Presentation=Allowed),
   Called Number=16290(TON=National, NPI=ISDN), Calling Translated=FALSE,
   Subscriber Type Str=RegularLine, FinalDestinationFlag=TRUE, Outgoing Dial-peer=170, Call Count On=FALSE,
   Source Trkgrp Route Label=PRI, Target Trkgrp Route Label=, tg_label_flag=1, Application Call Id=)

My observations from the debug is.. Calling number is being recognized as an international # ->

"Calling Number=4577416065(TON=International, NPI=ISDN, Screening=User, Passed, Presentation=Allowed)"

"Called Number=16290(TON=National, NPI=ISDN), Calling Translated=FALSE"

ANI type of number being set to international.

DNIS type of number being set to national.

it is discarding 9, which is fine. and prefixing 45 (country code for denmark i guess) to ANI.

pstn is sending it you.

I guess its because of TON on calling number. u could change it to National.