Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Block caller id in some DN's to PSTN

Status
Not open for further replies.

surprises

Technical User
Jul 26, 2012
25
ES
Hi everybody.

I need to configure not show calling number to PSTN in some DN's, Cisco model phone 6921.

I use CUCM 8.5 and a gateway 2821 configured in MGCP.

After look for it more than a week and do some tests I can't get it.

- My configurations:

1- I deleted external phone mask in the lines

2- I added a new PT_Ocult, CSS_Ocult and a RP which is configured with the following:

0.[67]XXXXXXXX (I'm in Spain and this is the mask for mobile numbers).

PT_Ocult

Discard digits: Predot

Calling Line ID Presentation: Restricted

Calling Name Presentation: Restricted

I know my ISP allows block caller id because if I set Calling Party Presentation to restricted in the gateway in CUCM, all calls are shown such as "unknown number".

3- Debugs

Cisco DNA:

Results Summary
Calling Party Information
Calling Party = 8555 (My DN)
Partition =
Device CSS =
Line CSS = CSS_Ocult
AAR Group Name =
AAR CSS =
Dialed Digits = 068XXXXXXX (I write X instead of numbers to don't show my mobile number here)
Match Result = RouteThisPattern
Matched Pattern Information
Pattern = 0.[67]XXXXXXXX
Partition = PT_Ocult
Time Schedule =
Called Party Number = 68XXXXXXX
Time Zone = Etc/GMT
End Device = RL_MAD
Call Classification = OffNet
InterDigit Timeout = NO
Device Override = Disabled
Outside Dial Tone = NO
Call Flow
TranslationPattern :pattern=
Partition =
Positional Match List = 68XXXXXXX
Calling Party Number = 8555
PreTransform Calling Party Number =
PreTransform Called Party Number =
Calling Party Transformations
External Phone Number Mask = NO
Calling Party Mask =
Prefix =
CallingLineId Presentation =
CallingName Presentation =
Calling Party Number = 8555
ConnectedParty Transformations
ConnectedLineId Presentation =
ConnectedName Presentation =
Called Party Transformations
Called Party Mask =
Discard Digits Instruction =
Prefix =
Called Number =
Route Pattern :pattern= 0.[67]XXXXXXXX
Positional Match List = 68XXXXXXX
DialPlan =
Route Filter
Filter Name =
Filter Clause =
Require Forced Authorization Code = No
Authorization Level = 0
Require Client Matter Code = No
Call Classification =
PreTransform Calling Party Number = 8555
PreTransform Called Party Number = 068XXXXXXX
Calling Party Transformations
External Phone Number Mask = NO
Calling Party Mask =
Prefix =
CallingLineId Presentation = Restricted
CallingName Presentation = Restricted
Calling Party Number = 8555
ConnectedParty Transformations
ConnectedLineId Presentation = Restricted
ConnectedName Presentation = Restricted
Called Party Transformations
Called Party Mask =
Discard Digits Instruction = PreDot
Prefix =
Called Number = 68XXXXXXX
Route List :Route List Name= RL_MAD
RouteGroup :RouteGroup Name= RG_MAD
PreTransform Calling Party Number = 8555
PreTransform Called Party Number = 068XXXXXXX
Calling Party Transformations
External Phone Number Mask = Default
Calling Party Mask =
Prefix =
Calling Party Number =
Called Party Transformations
Called Party Mask =
Discard Digits Instructions =
Prefix =
Called Number =
Device :Type= MGCPE1PRIPort
End Device Name = S0/SU0/DS1-0@C2821-MAD-1
PortNumber = 0
Device Status = Registered
AAR Group Name =
AAR Calling Search Space =
AAR Prefix Digits =
Call Classification =
Calling Party Selection =
CallingLinePresentation =
ConnectedLinePresentation =
Number Of Strip Digits =
CallerID DN =
RouteGroup :RouteGroup Name= RG_MAD_Camp
PreTransform Calling Party Number = 8555
PreTransform Called Party Number = 068XXXXXXX
Calling Party Transformations
External Phone Number Mask = Default
Calling Party Mask =
Prefix =
Calling Party Number =
Called Party Transformations
Called Party Mask =
Discard Digits Instructions =
Prefix =
Called Number =
Device :Type= MGCPFXOPort
End Device Name = AALN/S0/SU3/0@C2821-SO-MAD-1
PortNumber = 0
Device Status = Registered
AAR Group Name =
AAR Calling Search Space =
AAR Prefix Digits =
Device :Type= MGCPFXOPort
End Device Name = AALN/S0/SU1/1@C2821-SO-MAD-1
PortNumber = 0
Device Status = Registered
AAR Group Name =
AAR Calling Search Space =
AAR Prefix Digits =
Device :Type= MGCPFXOPort
End Device Name = AALN/S0/SU1/0@C2821-SO-MAD-1
PortNumber = 0
Device Status = Registered
AAR Group Name =
AAR Calling Search Space =
AAR Prefix Digits =
Device :Type= MGCPFXOPort
End Device Name = AALN/S0/SU3/3@C2821-SO-MAD-1
PortNumber = 0
Device Status = Registered
AAR Group Name =
AAR Calling Search Space =
AAR Prefix Digits =
Device :Type= MGCPFXOPort
End Device Name = AALN/S0/SU3/2@C2821-SO-MAD-1
PortNumber = 0
Device Status = Registered
AAR Group Name =
AAR Calling Search Space =
AAR Prefix Digits =
Device :Type= MGCPFXOPort
End Device Name = AALN/S0/SU3/1@C2821-SO-MAD-1
PortNumber = 0
Device Status = Registered
AAR Group Name =
AAR Calling Search Space =
AAR Prefix Digits =
Device :Type= MGCPE1PRIPort
End Device Name = S0/SU0/DS1-0@C2821-SO-MAD-1
PortNumber = 0
Device Status = Registered
AAR Group Name =
AAR Calling Search Space =
AAR Prefix Digits =
Call Classification =
Calling Party Selection =
CallingLinePresentation =
ConnectedLinePresentation =
Number Of Strip Digits =
CallerID DN =
Alternate Matches
Note: Information Not Available



RP with

Calling Line ID Presentation: Restricted

Calling Name Presentation: Restricted



Aug 22 07:38:36.340: ISDN Se0/0/0:15 Q931: TX -> SETUP pd = 8 callref = 0x00DE
Sending Complete
Bearer Capability i = 0x8090A3
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA9839C
Exclusive, Channel 28
Calling Party Number i = 0x0081, '8555'
Plan:Unknown, Type:Unknown
Called Party Number i = 0x80, '68XXXXXXX'
Plan:Unknown, Type:Unknown
Aug 22 07:38:36.656: ISDN Se0/0/0:15 Q931: RX <- CALL_PROC pd = 8 callref = 0x80DE
Channel ID i = 0xA9839C
Exclusive, Channel 28
Aug 22 07:38:41.208: ISDN Se0/0/0:15 Q931: RX <- ALERTING pd = 8 callref = 0x80DE
Progress Ind i = 0x8288 - In-band info or appropriate now available
Aug 22 07:38:46.128: ISDN Se0/0/0:15 Q931: RX <- CONNECT pd = 8 callref = 0x80DE
Date/Time i = 0x0D0816092600
Date (dd-mm-yr) = 13-08-22
Time (hr:mnt:sec) = 09:38:00
Aug 22 07:38:46.136: ISDN Se0/0/0:15 Q931: TX -> CONNECT_ACK pd = 8 callref = 0x00DE
Aug 22 07:39:01.196: ISDN Se0/0/0:15 Q931: RX <- DISCONNECT pd = 8 callref = 0x80DE
Cause i = 0x8090 - Normal call clearing
Progress Ind i = 0x8288 - In-band info or appropriate now available
Aug 22 07:39:01.236: ISDN Se0/0/0:15 Q931: TX -> RELEASE pd = 8 callref = 0x00DE
Aug 22 07:39:01.364: ISDN Se0/0/0:15 Q931: RX <- RELEASE_COMP pd = 8 callref = 0x80DE






With Gateway
Calling Party Presentation to restricted


Aug 22 07:41:56.219: ISDN Se0/0/0:15 Q931: TX -> SETUP pd = 8 callref = 0x0005
Sending Complete
Bearer Capability i = 0x8090A3
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA9839E
Exclusive, Channel 30
Calling Party Number i = 0x00A1, '8555'
Plan:Unknown, Type:Unknown
Called Party Number i = 0x80, '68XXXXXXX'
Plan:Unknown, Type:Unknown
Aug 22 07:41:56.547: ISDN Se0/0/0:15 Q931: RX <- CALL_PROC pd = 8 callref = 0x8005
Channel ID i = 0xA9839E
Exclusive, Channel 30
Aug 22 07:42:05.735: ISDN Se0/0/0:15 Q931: RX <- ALERTING pd = 8 callref = 0x8005
Progress Ind i = 0x8288 - In-band info or appropriate now available
Aug 22 07:42:09.119: ISDN Se0/0/0:15 Q931: RX <- CONNECT pd = 8 callref = 0x8005
Date/Time i = 0x0D0816092A00
Date (dd-mm-yr) = 13-08-22
Time (hr:mnt:sec) = 09:42:00
Aug 22 07:42:09.123: ISDN Se0/0/0:15 Q931: TX -> CONNECT_ACK pd = 8 callref = 0x0005
Aug 22 07:42:16.435: ISDN Se0/0/0:15 Q931: RX <- DISCONNECT pd = 8 callref = 0x8005
Cause i = 0x8090 - Normal call clearing
Progress Ind i = 0x8288 - In-band info or appropriate now available
Aug 22 07:42:16.479: ISDN Se0/0/0:15 Q931: TX -> RELEASE pd = 8 callref = 0x0005
Aug 22 07:42:16.591: ISDN Se0/0/0:15 Q931: RX <- RELEASE_COMP pd = 8 callref = 0x8005


If you need some running-config of the gateway, tell me what part. I won't write all running config here.

sh ver of the gateway:

Cisco IOS Software, 2800 Software (C2800NM-IPVOICEK9-M), Version 15.1(3)T1, RELEASE SOFTWARE (fc2)
Technical Support: Copyright (c) 1986-2011 by Cisco Systems, Inc.
Compiled Sun 27-Mar-11 06:31 by prod_rel_team

ROM: System Bootstrap, Version 12.3(8r)T7, RELEASE SOFTWARE (fc1)

C2821-MAD-1 uptime is 27 weeks, 6 days, 20 hours, 48 minutes
System returned to ROM by reload at 16:30:56 EST Thu Feb 7 2013
System restarted at 17:26:47 MAD Thu Feb 7 2013
System image file is "flash:c2800nm-ipvoicek9-mz.151-3.T1.bin"
Last reload type: Normal Reload



Cisco 2821 (revision 53.51) with 512000K/12288K bytes of memory.
Processor board ID FHK0915F32X
2 Gigabit Ethernet interfaces
31 Serial interfaces
1 Channelized E1/PRI port
DRAM configuration is 64 bits wide with parity enabled.
239K bytes of non-volatile configuration memory.
62720K bytes of ATA CompactFlash (Read/Write)



Thanks in advance.
 
Try adding a dummy number in the external phone mask of the phone. Make a test call, see if you see the dummy number. If you do, I guess it could be that the Telco is adding the number if it sees nothing from you.
 
Hi.

I found the mismatch configration and now it works:

Calling Party Presentation: Default in the interface E-1 of the gateway.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top