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

Voice GW incoming calling number is anonymous

bo liu
Level 4
Level 4

Hello

 

i have a question..i use a 3945 gateway to connect ISP use pri E1

 

but i find when the calling number is calling number i=0x21A3 , the gateway will change the number to anonymous.

 

how can i change the config to resolve the problem.

 

next is pri log

 

8:16:49 2015: <191>100960458: Jul  9 08:16:49: ISDN Se0/0/1:15 Q931: RX <- SETUP pd = 8  callref = 0x0116

Thu Jul 09 08:16:49 2015: <191>100960459:          Sending Complete

Thu Jul 09 08:16:49 2015: <191>100960460:          Bearer Capability i = 0x8090A3

Thu Jul 09 08:16:49 2015: <191>100960461:                    Standard = CCITT

Thu Jul 09 08:16:49 2015: <191>100960462:                    Transfer Capability = Speech 

Thu Jul 09 08:16:49 2015: <191>100960463:                    Transfer Mode = Circuit

Thu Jul 09 08:16:49 2015: <191>100960464:                    Transfer Rate = 64 kbit/s

Thu Jul 09 08:16:49 2015: <191>100960465:          Channel ID i = 0xA18392

Thu Jul 09 08:16:49 2015: <191>100960466:                    Preferred, Channel 18

Thu Jul 09 08:16:49 2015: <191>100960467:          Progress Ind i = 0x8281 - Call not end-to-end ISDN, may have in-band info 

Thu Jul 09 08:16:49 2015: <191>100960468:          Calling Party Number i = 0x21A3, '123456'

Thu Jul 09 08:16:49 2015: <191>100960469:                    Plan:ISDN, Type:National

Thu Jul 09 08:16:49 2015: <191>100960470:          Called Party Number i = 0xC1, '234567

Thu Jul 09 08:16:49 2015: <191>100960471:                    Plan:ISDN, Type:Subscriber(local)

 

 

 

5 Replies 5

Hi,

 

The gateway is changing to anonymous. You can see the number leaving your gateway in Q931 Setup message. At the called endpoint, if the calling number is coming as anonymous, then your telco is overriding the number as they aren't receiving it in the expected format. You need to log a call with your telco  to understand how they need to see the calling number. Then you can perform digit manipulation.

hi

thanks for you reply

 

when i call PSTN number from my internal phone ,the PSTN number can display the right number .

 

and i see the log ,most of the call from PSTN the calling number i= 2183, and can display calling number ,but when the i= 21A3,the calling number is anonymous 

 

what means the value??

0x21A3 is equivalent to ISDN Protocol, National, Screening Unknown, Network Provided.

 

What kind of environment do you have CUCM/CME, SIP/H323/MGCP, etc?

the gateway is a sip gatway ,connect to CVP.but when i debug voice ccapi,i see the calling number is anonymous@my gateway ip..

HI

I capture a complete flow

 

PRI log incoming calling number is right 

ccapi log incoming calling number is right

but when the call use sip the calling number become anonymous

 

Sat Jul 11 04:01:34 2015: <191>481335763: Jul 11 04:01:45.659: ISDN Se0/1/1:15 Q931: RX <- SETUP pd = 8  callref = 0x0237 
Sat Jul 11 04:01:34 2015: <191>481335764: Sending Complete 
Sat Jul 11 04:01:34 2015: <191>481335765: Bearer Capability i = 0x8090A3 
Sat Jul 11 04:01:34 2015: <191>481335766: Standard = CCITT 
Sat Jul 11 04:01:34 2015: <191>481335767: Transfer Capability = Speech  
Sat Jul 11 04:01:34 2015: <191>481335768: Transfer Mode = Circuit 
Sat Jul 11 04:01:34 2015: <191>481335769: Transfer Rate = 64 kbit/s 
Sat Jul 11 04:01:34 2015: <191>481335770: Channel ID i = 0xA18389 
Sat Jul 11 04:01:34 2015: <191>481335771: Preferred, Channel 9 
Sat Jul 11 04:01:34 2015: <191>481335772: Progress Ind i = 0x8281 - Call not end-to-end ISDN, may have in-band info  
Sat Jul 11 04:01:34 2015: <191>481335773: Calling Party Number i = 0x21A3, '0750XXXXXXXX' 
Sat Jul 11 04:01:34 2015: <191>481335774: Plan:ISDN, Type:National 
Sat Jul 11 04:01:34 2015: <191>481335775: Called Party Number i = 0xC1, '8437XXXX' 
Sat Jul 11 04:01:34 2015: <191>481335776: Plan:ISDN, Type:Subscriber(local)
Sat Jul 11 04:01:34 2015: <191>481335777: Jul 11 04:01:45.659: ISDN Se0/1/1:15 Q931: Received SETUP  callref = 0x8237 callID = 0x2F21 switch = primary-net5 interface = User 
Sat Jul 11 04:01:34 2015: <191>481335778: Jul 11 04:01:45.667: //-1/53617029A99F/CCAPI/cc_api_display_ie_subfields:
Sat Jul 11 04:01:34 2015: <191>481335779:    cc_api_call_setup_ind_common:
Sat Jul 11 04:01:34 2015: <191>481335780:    cisco-username=
Sat Jul 11 04:01:34 2015: <191>481335781:    ----- ccCallInfo IE subfields -----
Sat Jul 11 04:01:34 2015: <191>481335782:    cisco-ani=0750XXXXXXXX
Sat Jul 11 04:01:34 2015: <191>481335783:    cisco-anitype=2
Sat Jul 11 04:01:34 2015: <191>481335784:    cisco-aniplan=1
Sat Jul 11 04:01:34 2015: <191>481335785:    cisco-anipi=1
Sat Jul 11 04:01:34 2015: <191>481335786:    cisco-anisi=3
Sat Jul 11 04:01:34 2015: <191>481335787:    dest=8437XXXX
Sat Jul 11 04:01:34 2015: <191>481335788:    cisco-desttype=4
Sat Jul 11 04:01:34 2015: <191>481335789:    cisco-destplan=1
Sat Jul 11 04:01:34 2015: <191>481335790:    cisco-rdie=FFFFFFFF
Sat Jul 11 04:01:34 2015: <191>481335791:    cisco-rdn=
Sat Jul 11 04:01:34 2015: <191>481335792:    cisco-rdntype=-1
Sat Jul 11 04:01:34 2015: <191>481335793:    cisco-rdnplan=-1
Sat Jul 11 04:01:34 2015: <191>481335794:    cisco-rdnpi=-1
Sat Jul 11 04:01:34 2015: <191>481335795:    cisco-rdnsi=-1
Sat Jul 11 04:01:34 2015: <191>481335796:    cisco-redirectreason=-1   fwd_final_type =0
Sat Jul 11 04:01:34 2015: <191>481335797:    final_redirectNumber =
Sat Jul 11 04:01:34 2015: <191>481335798:    hunt_group_timeout =0
Sat Jul 11 04:01:34 2015: <191>481335799: Jul 11 04:01:45.667: //-1/53617029A99F/CCAPI/cc_api_call_setup_ind_common:
Sat Jul 11 04:01:34 2015: <191>481335800:    
Sat Jul 11 04:01:34 2015: <191>481335801: Interface=0x1402A198, Call Info(
Sat Jul 11 04:01:34 2015: <191>481335802:    Calling Number=0750XXXXXXXX,(Calling Name=)(TON=National, NPI=ISDN, Screening=Network, Presentation=Restricted),
Sat Jul 11 04:01:34 2015: <191>481335803:    Called Number=8437XXXX(TON=Subscriber, NPI=ISDN),
Sat Jul 11 04:01:34 2015: <191>481335804:    Calling Translated=FALSE, Subscriber Type Str=RegularLine, FinalDestinationFlag=TRUE,
Sat Jul 11 04:01:34 2015: <191>481335805:    Incoming Dial-peer=40223, Progress Indication=NOT END TO END ISDN(1), Calling IE Present=TRUE,
Sat Jul 11 04:01:34 2015: <191>481335806:    Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=-1
Sat Jul 11 04:01:34 2015: <191>481335807: Jul 11 04:01:45.667: //-1/53617029A99F/CCAPI/ccCheckClipClir:
Sat Jul 11 04:01:34 2015: <191>481335808:    In: Calling Number=0750XXXXXXXX(TON=National, NPI=ISDN, Screening=Network, Presentation=Restricted)
Sat Jul 11 04:01:34 2015: <191>481335809: Jul 11 04:01:45.667: //-1/53617029A99F/CCAPI/ccCheckClipClir:
Sat Jul 11 04:01:34 2015: <191>481335810:    Out: Calling Number=0750XXXXXXXX(TON=National, NPI=ISDN, Screening=Network, Presentation=Restricted)
Sat Jul 11 04:01:34 2015: <191>481335811: Jul 11 04:01:45.667: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
Sat Jul 11 04:01:34 2015: <191>481335812:    
Sat Jul 11 04:01:34 2015: <191>481335813: Jul 11 04:01:45.667: :cc_get_feature_vsa malloc success
Sat Jul 11 04:01:34 2015: <191>481335814: Jul 11 04:01:45.667: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
Sat Jul 11 04:01:34 2015: <191>481335815:    
Sat Jul 11 04:01:34 2015: <191>481335816: Jul 11 04:01:45.667:  cc_get_feature_vsa count is 3
Sat Jul 11 04:01:34 2015: <191>481335817: Jul 11 04:01:45.667: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
Sat Jul 11 04:01:34 2015: <191>481335818:    
Sat Jul 11 04:01:34 2015: <191>481335819: Jul 11 04:01:45.667: :FEATURE_VSA attributes are: feature_name:0,feature_time:679463288,feature_id:31366532
Sat Jul 11 04:01:34 2015: <191>481335820: Jul 11 04:01:45.667: //36072660/53617029A99F/CCAPI/cc_api_call_setup_ind_common:
Sat Jul 11 04:01:34 2015: <191>481335821:    
Sat Jul 11 04:01:35 2015: <191>481335822: Set Up Event Sent;
Sat Jul 11 04:01:35 2015: <191>481335823:    Call Info(Calling Number=0750XXXXXXXX(TON=National, NPI=ISDN, Screening=Network, Presentation=Restricted),
Sat Jul 11 04:01:35 2015: <191>481335824:    Called Number=8437XXXX(TON=Subscriber, NPI=ISDN))
Sat Jul 11 04:01:35 2015: <191>481335825: Jul 11 04:01:45.667: //36072660/53617029A99F/CCAPI/cc_process_call_setup_ind:
Sat Jul 11 04:01:35 2015: <191>481335826:    Event=0x13D36390
Sat Jul 11 04:01:35 2015: <191>481335827: Jul 11 04:01:45.667: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_search:
Sat Jul 11 04:01:35 2015: <191>481335828:    Try with the demoted called number 8437XXXX
Sat Jul 11 04:01:35 2015: <191>481335829: Jul 11 04:01:45.667: //36072660/53617029A99F/CCAPI/ccCallSetContext:
Sat Jul 11 04:01:35 2015: <191>481335830:    Context=0x1009170
Sat Jul 11 04:01:35 2015: <191>481335831: Jul 11 04:01:45.667: //36072660/53617029A99F/CCAPI/cc_process_call_setup_ind:
Sat Jul 11 04:01:35 2015: <191>481335832:    >>>>CCAPI handed cid 36072660 with tag 40223 to app "_ManagedAppProcess_CSYW"
Sat Jul 11 04:01:35 2015: <191>481335833: Jul 11 04:01:46.671: //36072660/53617029A99F/CCAPI/ccCallSetupAck:
Sat Jul 11 04:01:35 2015: <191>481335834:    Call Id=36072660
Sat Jul 11 04:01:35 2015: <191>481335835: Jul 11 04:01:46.671: //36072660/53617029A99F/CCAPI/cc_api_set_transfer_info:
Sat Jul 11 04:01:35 2015: <191>481335836:    Transfer Number=, Transfer Reason=0x0
Sat Jul 11 04:01:35 2015: <191>481335837: Jul 11 04:01:46.671: //36072660/53617029A99F/CCAPI/ccCallProceeding:
Sat Jul 11 04:01:35 2015: <191>481335838:    Progress Indication=NULL(0)
Sat Jul 11 04:01:35 2015: <191>481335839: Jul 11 04:01:46.671: //-1/xxxxxxxxxxxx/CCAPI/ccGetMemPoolFromContainer:
Sat Jul 11 04:01:35 2015: <191>481335840:    mempool not found from usrContainer(2862DCC8)
Sat Jul 11 04:01:35 2015: <191>481335841: Jul 11 04:01:46.671: //-1/xxxxxxxxxxxx/CCAPI/ccCreateMemPoolInContainer:
Sat Jul 11 04:01:35 2015: <191>481335842:    Mempool(23FB00AC) created in usrContainer(2862DCC8)
Sat Jul 11 04:01:35 2015: <191>481335843: Jul 11 04:01:46.675: //36072660/53617029A99F/CCAPI/ccCallSetupRequest:
Sat Jul 11 04:01:35 2015: <191>481335844:    
Sat Jul 11 04:01:35 2015: <191>481335845: Destination=, Calling IE Present=TRUE, Mode=0,
Sat Jul 11 04:01:35 2015: <191>481335846:    Outgoing Dial-peer=2000, Params=0x279B6CA8, Progress Indication=NOT END TO END ISDN(1)
Sat Jul 11 04:01:35 2015: <191>481335847: Jul 11 04:01:46.675: //36072660/53617029A99F/CCAPI/ccCheckClipClir:
Sat Jul 11 04:01:35 2015: <191>481335848:    In: Calling Number=0750XXXXXXXX(TON=National, NPI=ISDN, Screening=Network, Presentation=Restricted)
Sat Jul 11 04:01:35 2015: <191>481335849: Jul 11 04:01:46.675: //36072660/53617029A99F/CCAPI/ccCheckClipClir:
Sat Jul 11 04:01:35 2015: <191>481335850:    Out: Calling Number=0750XXXXXXXX(TON=National, NPI=ISDN, Screening=Network, Presentation=Restricted)
Sat Jul 11 04:01:35 2015: <191>481335851: Jul 11 04:01:46.675: //36072660/53617029A99F/CCAPI/ccCallSetupRequest:
Sat Jul 11 04:01:35 2015: <191>481335852:    Destination Pattern=8..., Called Number=8007, Digit Strip=FALSE
Sat Jul 11 04:01:35 2015: <191>481335853: Jul 11 04:01:46.675: //36072660/53617029A99F/CCAPI/ccCallSetupRequest:
Sat Jul 11 04:01:35 2015: <191>481335854:    Calling Number=0750XXXXXXXX(TON=National, NPI=ISDN, Screening=Network, Presentation=Restricted),
Sat Jul 11 04:01:35 2015: <191>481335855:    Called Number=8007(TON=Subscriber, NPI=ISDN),
Sat Jul 11 04:01:35 2015: <191>481335856:    Redirect Number=, Display Info=--CVP_9_0_1_0_0_0_670
Sat Jul 11 04:01:35 2015: <191>481335857:    Account Number=, Final Destination Flag=TRUE,
Sat Jul 11 04:01:35 2015: <191>481335858:    Guid=53617029-2675-11E5-A99F-30F70DB2BB00, Outgoing Dial-peer=2000
Sat Jul 11 04:01:35 2015: <191>481335859: Jul 11 04:01:46.675: //36072660/53617029A99F/CCAPI/cc_api_display_ie_subfields:
Sat Jul 11 04:01:35 2015: <191>481335860:    ccCallSetupRequest:
Sat Jul 11 04:01:35 2015: <191>481335861:    cisco-username=
Sat Jul 11 04:01:35 2015: <191>481335862:    ----- ccCallInfo IE subfields -----
Sat Jul 11 04:01:35 2015: <191>481335863:    cisco-ani=0750XXXXXXXX
Sat Jul 11 04:01:35 2015: <191>481335864:    cisco-anitype=2
Sat Jul 11 04:01:35 2015: <191>481335865:    cisco-aniplan=1
Sat Jul 11 04:01:35 2015: <191>481335866:    cisco-anipi=1
Sat Jul 11 04:01:35 2015: <191>481335867:    cisco-anisi=3
Sat Jul 11 04:01:35 2015: <191>481335868:    dest=8007
Sat Jul 11 04:01:35 2015: <191>481335869:    cisco-desttype=4
Sat Jul 11 04:01:35 2015: <191>481335870:    cisco-destplan=1
Sat Jul 11 04:01:35 2015: <191>481335871:    cisco-rdie=FFFFFFFF
Sat Jul 11 04:01:35 2015: <191>481335872:    cisco-rdn=
Sat Jul 11 04:01:35 2015: <191>481335873:    cisco-rdntype=-1
Sat Jul 11 04:01:35 2015: <191>481335874:    cisco-rdnplan=-1
Sat Jul 11 04:01:35 2015: <191>481335875:    cisco-rdnpi=-1
Sat Jul 11 04:01:35 2015: <191>481335876:    cisco-rdnsi=-1
Sat Jul 11 04:01:35 2015: <191>481335877:    cisco-redirectreason=-1   fwd_final_type =0
Sat Jul 11 04:01:35 2015: <191>481335878:    final_redirectNumber =
Sat Jul 11 04:01:35 2015: <191>481335879:    hunt_group_timeout =0
Sat Jul 11 04:01:35 2015: <191>481335880: Jul 11 04:01:46.675: //36072660/53617029A99F/CCAPI/ccIFCallSetupRequestPrivate:
Sat Jul 11 04:01:35 2015: <191>481335881:    
Sat Jul 11 04:01:35 2015: <191>481335882: Interface=0x2170F60, Interface Type=3, Destination=, Mode=0x0,
Sat Jul 11 04:01:35 2015: <191>481335883:    Call Params(Calling Number=0750XXXXXXXX,(Calling Name=0750XXXXXXXX)(TON=National, NPI=ISDN, Screening=Network, Presentation=Restricted),
Sat Jul 11 04:01:35 2015: <191>481335884:    Called Number=8007(TON=Subscriber, NPI=ISDN), Calling Translated=FALSE,
Sat Jul 11 04:01:35 2015: <191>481335885:    Subscriber Type Str=RegularLine, FinalDestinationFlag=TRUE, Outgoing Dial-peer=2000, Call Count On=FALSE,
Sat Jul 11 04:01:35 2015: <191>481335886:    Source Trkgrp Route Label=, Target Trkgrp Route Label=, tg_label_flag=0, Application Call Id=)
Sat Jul 11 04:01:35 2015: <191>481335887: Jul 11 04:01:46.675: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
Sat Jul 11 04:01:35 2015: <191>481335888:    
Sat Jul 11 04:01:35 2015: <191>481335889: Jul 11 04:01:46.675: :cc_get_feature_vsa malloc success
Sat Jul 11 04:01:35 2015: <191>481335890: Jul 11 04:01:46.675: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
Sat Jul 11 04:01:35 2015: <191>481335891:    
Sat Jul 11 04:01:35 2015: <191>481335892: Jul 11 04:01:46.675:  cc_get_feature_vsa count is 4
Sat Jul 11 04:01:35 2015: <191>481335893: Jul 11 04:01:46.675: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:
Sat Jul 11 04:01:35 2015: <191>481335894:    
Sat Jul 11 04:01:35 2015: <191>481335895: Jul 11 04:01:46.675: :FEATURE_VSA attributes are: feature_name:0,feature_time:679458136,feature_id:31366533
Sat Jul 11 04:01:35 2015: <191>481335896: Jul 11 04:01:46.675: //36072661/53617029A99F/CCAPI/ccIFCallSetupRequestPrivate:
Sat Jul 11 04:01:35 2015: <191>481335897:    SPI Call Setup Request Is Success; Interface Type=3, FlowMode=1
Sat Jul 11 04:01:35 2015: <191>481335898: Jul 11 04:01:46.675: //36072661/53617029A99F/CCAPI/ccCallSetContext:
Sat Jul 11 04:01:35 2015: <191>481335899:    Context=0x279B6C58
Sat Jul 11 04:01:35 2015: <191>481335900: Jul 11 04:01:46.675: //36072660/53617029A99F/CCAPI/ccSaveDialpeerTag:
Sat Jul 11 04:01:35 2015: <191>481335901:    Outgoing Dial-peer=2000
Sat Jul 11 04:01:35 2015: <191>481335902: Jul 11 04:01:46.675: //36072661/53617029A99F/CCAPI/cc_api_call_proceeding:
Sat Jul 11 04:01:35 2015: <191>481335903:    
Sat Jul 11 04:01:35 2015: <191>481335904: Interface=0x2170F60, Progress Indication=NULL(0)
Sat Jul 11 04:01:35 2015: <191>481335905: Jul 11 04:01:46.679: //36072661/53617029A99F/SIP/Msg/ccsipDisplayMsg:
Sat Jul 11 04:01:35 2015: <191>481335906: Sent: 
Sat Jul 11 04:01:35 2015: <191>481335907: INVITE sip:8007@10.22.1.41:5060 SIP/2.0
 
Sat Jul 11 04:01:35 2015: <191>481335908: Via: SIP/2.0/UDP 10.22.1.38:5060;branch=z9hG4bK258FC81817
 
Sat Jul 11 04:01:35 2015: <191>481335909: Remote-Party-ID: "--CVP_9_0_1_0_0_0_670" <sip:0750XXXXXXXX@10.22.1.38>;party=calling;screen=yes;privacy=full
 
Sat Jul 11 04:01:35 2015: <191>481335910: From: "anonymous" <sip:anonymous@10.22.1.38>;tag=AC3B0C4C-948
 
Sat Jul 11 04:01:35 2015: <191>481335911: To: <sip:8007@10.22.1.41>
 
Sat Jul 11 04:01:35 2015: <191>481335912: Date: Fri, 10 Jul 2015 20:01:46 GMT
 
Sat Jul 11 04:01:35 2015: <191>481335913: Call-ID: 53FC787A-267511E5-B108D397-E5272219@10.22.1.38
 
Sat Jul 11 04:01:35 2015: <191>481335914: Supported: 100rel,timer,resource-priority,replaces,sdp-anat
 
Sat Jul 11 04:01:35 2015: <191>481335915: Min-SE:  1800
 
Sat Jul 11 04:01:35 2015: <191>481335916: Cisco-Guid: 1398894633-0645206501-284578226
Sat Jul 11 04:01:35 2015: <191>481335917: 3-0229817088
 
Sat Jul 11 04:01:35 2015: <191>481335918: User-Agent: Cisco-SIPGateway/IOS-12.x
 
Sat Jul 11 04:01:35 2015: <191>481335919: Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
 
Sat Jul 11 04:01:35 2015: <191>481335920: CSeq: 101 INVITE
 
Sat Jul 11 04:01:35 2015: <191>481335921: Max-Forwards: 70
 
Sat Jul 11 04:01:35 2015: <191>481335922: Timestamp: 1436558506
 
Sat Jul 11 04:01:35 2015: <191>481335923: Contact: <sip:anonymous@10.22.1.38:5060>
 
Sat Jul 11 04:01:35 2015: <191>481335924: Expires: 60
 
Sat Jul 11 04:01:35 2015: <191>481335925: Allow-Events: telephone-event
 
Sat Jul 11 04:01:35 2015: <191>481335926: X-Cisco-CCBProbe: undefined
 
Sat Jul 11 04:01:35 2015: <191>481335927: Content-Type: application/sdp
 
Sat Jul 11 04:01:35 2015: <191>481335928: Content-Disposition: session;handling=required
 
Sat Jul 11 04:01:35 2015: <191>481335929: Content-Length: 241
 
Sat Jul 11 04:01:35 2015: <191>481335930: 
 
Sat Jul 11 04:01:35 2015: <191>481335931: v=0
 
Sat Jul 11 04:01:35 2015: <191>481335932: o=CiscoSystemsSIP-GW-UserAgent 2988 1854 IN IP4 10.22.1.38