cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
868
Views
0
Helpful
4
Replies

Show wrong ANI during call

CSCO12047864
Level 1
Level 1

Hi ti all,

in a customer environment, during a call from an IP phone to PSTN number, the ANI is not show correctly.

Here all details:

Calling number: 0644466580

Called number: 3286214937

ANI showed on receiver display: 064446

 

The steps are:

Cisco phone --> Call Manager 4 --> Voice Gateway Cisco 3825

Users digit 0 to go out

I exclude the problem is on Call Manager, cuz it's very old, and nobody change configuration on it since many years.

 

Below some details i took during troubleshooting:

The Dial peer from Call manager to VG is:

 

6500 voip up up 65.. 0 syst ipv4:126.212.0.250

 

R3825_Pianciani#show dial-peer voice 6500
VoiceOverIpPeer6500
peer type = voice, system default peer = FALSE, information type = voice,
description = `',
tag = 6500, destination-pattern = `65..',
voice reg type = 0, corresponding tag = 0,
allow watch = FALSE
answer-address = `', preference=0,
CLID Restriction = None
CLID Network Number = `'
CLID Second Number sent
CLID Override RDNIS = disabled,
rtp-ssrc mux = system
source carrier-id = `', target carrier-id = `',
source trunk-group-label = `', target trunk-group-label = `',
numbering Type = `unknown'
group = 6500, Admin state is up, Operation state is up,
incoming called-number = `', connections/maximum = 0/unlimited,
DTMF Relay = enabled,
modem transport = system,
URI classes:
Incoming (Called) =
Incoming (Calling) =
Destination =
huntstop = disabled,
in bound application associated: 'DEFAULT'
out bound application associated: ''
dnis-map =
permission :both
incoming COR list:maximum capability
outgoing COR list:minimum requirement
Translation profile (Incoming):
Translation profile (Outgoing):
incoming call blocking:
translation-profile = `'
disconnect-cause = `no-service'
advertise 0x40 capacity_update_timer 25 addrFamily 4 oldAddrFamily 4
mailbox selection policy: none
type = voip, session-target = `ipv4:126.212.0.250',
technology prefix:
settle-call = disabled
ip media DSCP = ef, ip media rsvp-pass DSCP = ef
ip media rsvp-fail DSCP = ef, ip signaling DSCP = af31,
ip video rsvp-none DSCP = af41,ip video rsvp-pass DSCP = af41
ip video rsvp-fail DSCP = af41,
ip defending Priority = 0, ip preemption priority = 0
ip policy locator voice:
ip policy locator video:
UDP checksum = disabled,
session-protocol = cisco, session-transport = system,
req-qos = best-effort, acc-qos = best-effort,
req-qos video = best-effort, acc-qos video = best-effort,
req-qos audio def bandwidth = 64, req-qos audio max bandwidth = 0,
req-qos video def bandwidth = 384, req-qos video max bandwidth = 0,
dtmf-relay = h245-alphanumeric,
RTP dynamic payload type values: NTE = 101
Cisco: NSE=100, fax=96, fax-ack=97, dtmf=121, fax-relay=122
CAS=123, TTY=119, ClearChan=125, PCM switch over u-law=0,
A-law=8, GSMAMR-NB=117 iLBC=116, AAC-ld=114, lmr_tone=0, nte_tone=0
h263+=118, h264=119
G726r16 using static payload
G726r24 using static payload
RTP comfort noise payload type = 19
fax rate = voice, payload size = 20 bytes
fax protocol = system
fax-relay ecm enable
Fax Relay ans enabled
Fax Relay SG3-to-G3 Enabled (by system configuration)
fax NSF = 0xAD0051 (default)
voice-class codec = 1
codec = g729r8, payload size = 20 bytes,
video codec = None
voice class codec = 1
voice class sip rsvp-fail-policy voice post-alert mandatory keep-alive interval 30
voice class sip rsvp-fail-policy voice post-alert optional keep-alive interval 30
voice class sip rsvp-fail-policy video post-alert mandatory keep-alive interval 30
voice class sip rsvp-fail-policy video post-alert optional keep-alive interval 30
text relay = disabled
Media Setting = forking (disabled) flow-through (global)
Expect factor = 10, Icpif = 20,
Playout Mode is set to adaptive,
Initial 60 ms, Max 1000 ms
Playout-delay Minimum mode is set to default, value 40 ms
Fax nominal 300 ms
Max Redirects = 1, signaling-type = cas,
VAD = disabled, Poor QOV Trap = disabled,
Source Interface = NONE
voice class sip url = system,
voice class sip rel1xx = system,
tvoice class sip outbound-proxy = system,
voice class sip asserted-id = system,
voice class sip privacy = system,
voice class sip e911 = system,
voice class sip history-info = system,
voice class sip anat = system,
voice class sip g729 annexb-all = system,
voice class sip early-offer forced = system,
voice class sip negotiate cisco = system,
voice class sip authenticate redirecting-number = system,
redirect ip2ip = disabled
local peer = false
probe disabled,
Secure RTP: system (use the global setting)
voice class perm tag = `'
Time elapsed since last clearing of voice call statistics never
Connect Time = 54813617, Charged Units = 0,
Successful Calls = 1, Failed Calls = 0, Incomplete Calls = 0
Accepted Calls = 3931, Refused Calls = 24,
Last Disconnect Cause is "10 ",
Last Disconnect Text is "normal call clearing (16)",
Last Setup Time = 2055027473.
Last Disconnect Time = 2055094638.

 

The dial Peer from VG to PSTN is:

1000 pots up up 0T 2 up 0/0/1:15

 

R3825_Pianciani#show dial-peer voice 1000
VoiceEncapPeer1000
peer type = voice, system default peer = FALSE, information type = voice,
description = `',
tag = 1000, destination-pattern = `0T',
voice reg type = 0, corresponding tag = 0,
allow watch = FALSE
answer-address = `', preference=2,
CLID Restriction = None
CLID Network Number = `'
CLID Second Number sent
CLID Override RDNIS = disabled,
rtp-ssrc mux = system
source carrier-id = `', target carrier-id = `',
source trunk-group-label = `', target trunk-group-label = `',
numbering Type = `unknown'
group = 1000, Admin state is up, Operation state is up,
Outbound state is up,
incoming called-number = `', connections/maximum = 0/unlimited,
DTMF Relay = disabled,
URI classes:
Destination =
huntstop = disabled,
in bound application associated: 'DEFAULT'
out bound application associated: ''
dnis-map =
permission :both
incoming COR list:maximum capability
outgoing COR list:minimum requirement
Translation profile (Incoming):
Translation profile (Outgoing):
incoming call blocking:
translation-profile = `'
disconnect-cause = `no-service'
advertise 0x40 capacity_update_timer 25 addrFamily 4 oldAddrFamily 4
mailbox selection policy: none
type = pots, prefix = `',
forward-digits default
session-target = `', voice-port = `0/0/1:15',
direct-inward-dial = enabled,
digit_strip = enabled,
register E.164 number with H323 GK and/or SIP Registrar = TRUE
fax rate = system, payload size = 20 bytes
supported-language = ''
preemption level = `routine'
bandwidth:
maximum = 64 KBits/sec, minimum = 64 KBits/sec
voice class called-number:
inbound = `', outbound = `'
dial tone generation after remote onhook = enabled
mobility=0, snr=, snr_noan=, snr_delay=0, snr_timeout=0
Time elapsed since last clearing of voice call statistics never
Connect Time = 1567239, Charged Units = 0,
Successful Calls = 202, Failed Calls = 846, Incomplete Calls = 49
Accepted Calls = 0, Refused Calls = 0,
Last Disconnect Cause is "13 ",
Last Disconnect Text is "no user answer (19)",
Last Setup Time = 2054153374.
Last Disconnect Time = 2054719776.

 

The call detail is:

 

GENERIC:
SetupTime=20550274730 ms
Index=1
PeerAddress=6580
PeerSubAddress=
PeerId=6500
PeerIfIndex=211
LogicalIfIndex=0
ConnectTime=20550281420 ms
CallDuration=00:02:49 sec
CallState=4
CallOrigin=2
ChargedUnits=0
InfoType=speech
TransmitPackets=8649
TransmitBytes=1383840
ReceivePackets=8646
ReceiveBytes=1383360
VOIP:
ConnectionId[0xE46BA8 0x66E5B11E 0x9E013301 0x7ED4009E]
IncomingConnectionId[0xE46BA8 0x66E5B11E 0x9E013301 0x7ED4009E]
CallID=394948
GlobalCallId=[0x0 0x0 0x0 0x0]
RemoteIPAddress=126.212.0.250
RemoteUDPPort=27904
RemoteSignallingIPAddress=126.212.0.250
RemoteSignallingPort=55778
RemoteMediaIPAddress=126.212.0.250
RemoteMediaPort=27904
RoundTripDelay=0 ms
SelectedQoS=best-effort
tx_DtmfRelay=h245-alphanumeric
FastConnect=FALSE

AnnexE=FALSE

Separate H245 Connection=TRUE

H245 Tunneling=FALSE

SessionProtocol=cisco
ProtocolCallId=
SessionTarget=
OnTimeRvPlayout=170240
GapFillWithSilence=0 ms
GapFillWithPrediction=50 ms
GapFillWithInterpolation=0 ms
GapFillWithRedundancy=0 ms
HiWaterPlayoutDelay=65 ms
LoWaterPlayoutDelay=55 ms
TxPakNumber=8517
TxSignalPak=0
TxComfortNoisePak=0
TxDuration=170350
TxVoiceDuration=170350
RxPakNumber=8514
RxSignalPak=0
RxComfortNoisePak=0
RxDuration=170330
RxVoiceDuration=170240
RxOutOfSeq=1
RxLatePak=0
RxEarlyPak=0
RxBadProtocol=0
PlayDelayCurrent=65
PlayDelayMin=55
PlayDelayMax=65
PlayDelayClockOffset=36320683
PlayDelayJitter=7
PlayErrPredictive=50
PlayErrInterpolative=0
PlayErrSilence=0
PlayErrBufferOverFlow=0
PlayErrRetroactive=2
PlayErrTalkspurt=0
ClockAdjustDuration=20
EarlyPacketDuration=0
LateDiscardDuration=0
SilenceDiscardDuration=10
JBuffDecreaseDuration=20
JBuffIncreaseDuration=20
OutSignalLevel=-79
InSignalLevel=-79
LevelTxPowerMean=0
LevelRxPowerMean=0
LevelBgNoise=-84
ERLLevel=6
ACOMLevel=6
ErrRxDrop=0
ErrTxDrop=0
ErrTxControl=0
ErrRxControl=0
ReceiveDelay=65 ms
LostPackets=1
EarlyPackets=0
LatePackets=0
SRTP = off
TextRelay = off
VAD = disabled
CoderTypeRate=g711ulaw
CodecBytes=160
Media Setting=flow-through
CallerName=Vassalli V.
CallerIDBlocked=False
OriginalCallingNumber=6580
OriginalCallingOctet=0x0
OriginalCalledNumber=03286214937
OriginalCalledOctet=0x80
OriginalRedirectCalledNumber=
OriginalRedirectCalledOctet=0xFF
TranslatedCallingNumber=6580
TranslatedCallingOctet=0x0
TranslatedCalledNumber=03286214937
TranslatedCalledOctet=0x80
TranslatedRedirectCalledNumber=
TranslatedRedirectCalledOctet=0xFF
GwReceivedCalledNumber=03286214937
GwReceivedCalledOctet3=0x80
GwReceivedCallingNumber=6580
GwReceivedCallingOctet3=0x0
GwReceivedCallingOctet3a=0x81
MediaInactiveDetected=no
MediaInactiveTimestamp=
MediaControlReceived=
LongDurationCallDetected=no
LongDurCallTimestamp=
LongDurcallDuration=
Username=
MlppServiceDomain=0 (NO_MLPP_DOMAIN)
PrecedenceLevel=0 (PRECEDENCE_LEVEL_NONE)

GENERIC:
SetupTime=20550274770 ms
Index=1
PeerAddress=03286214937
PeerSubAddress=
PeerId=1001
PeerIfIndex=214
LogicalIfIndex=127
ConnectTime=20550281420 ms
CallDuration=00:02:51 sec
CallState=4
CallOrigin=1
ChargedUnits=0
InfoType=speech
TransmitPackets=8718
TransmitBytes=1394880
ReceivePackets=8714
ReceiveBytes=1463952
TELE:
ConnectionId=[0xE46BA8 0x66E5B11E 0x9E013301 0x7ED4009E]
IncomingConnectionId=[0xE46BA8 0x66E5B11E 0x9E013301 0x7ED4009E]
CallID=394949
GlobalCallId=[0x0 0x0 0x0 0x0]
Port=0/0/1:15 (394949)
BearerChannel=0/0/1.30
TxDuration=174350 ms
VoiceTxDuration=174350 ms
FaxTxDuration=0 ms
CoderTypeRate=g711ulaw
NoiseLevel=-84
ACOMLevel=6
OutSignalLevel=-79
InSignalLevel=-79
InfoActivity=1
ERLLevel=6
EchoCancellerMaxReflector=4
SessionTarget=
ImgPages=0
CallerName=Vassalli V.
CallerIDBlocked=False
AlertTimepoint=-924558380 ms
LongDurationCallDetected=no
LongDurCallTimeStamp=
LongDurCallDuration=
OriginalCallingNumber=6580
OriginalCallingOctet=0x0
OriginalCalledNumber=03286214937
OriginalCalledOctet=0x80
OriginalRedirectCalledNumber=
OriginalRedirectCalledOctet=0xFF
TranslatedCallingNumber=6580
TranslatedCallingOctet=0x0
TranslatedCalledNumber=03286214937
TranslatedCalledOctet=0x80
TranslatedRedirectCalledNumber=
TranslatedRedirectCalledOctet=0xFF
GwReceivedCalledNumber=03286214937
GwReceivedCalledOctet3=0x80
GwOutpulsedCalledNumber=3286214937
GwOutpulsedCalledOctet3=0x80
GwReceivedCallingNumber=6580
GwReceivedCallingOctet3=0x0
GwReceivedCallingOctet3a=0x81
GwOutpulsedCallingNumber=6580
GwOutpulsedCallingOctet3=0x0
GwOutpulsedCallingOctet3a=0x81
DSPIdentifier=0/3:2
MlppServiceDomain=0 (NO_MLPP_DOMAIN)
PrecedenceLevel=-1 (PRECEDENCE_LEVEL_NONE)

 

I checked also the translation rules, but i didn't find nothing.

 

R3825_Pianciani#show voice translation-rule sort ascending
Translation-rule tag: 1

Rule 1:
Match pattern: 64446
Replace pattern: 64446
Match type: any Replace type: national
Match plan: any Replace plan: isdn

Translation-rule tag: 2

Rule 1:
Match pattern: 644466
Replace pattern: 6
Match type: none Replace type: none
Match plan: none Replace plan: none

Rule 2:
Match pattern: 611116
Replace pattern: 6
Match type: none Replace type: none
Match plan: none Replace plan: none

Rule 3:
Match pattern: 644463
Replace pattern: 3
Match type: none Replace type: none
Match plan: none Replace plan: none

Rule 4:
Match pattern: 611113
Replace pattern: 3
Match type: none Replace type: none
Match plan: none Replace plan: none

Rule 5:
Match pattern: 611115
Replace pattern: 5
Match type: none Replace type: none
Match plan: none Replace plan: none

Rule 6:
Match pattern: 644465
Replace pattern: 5
Match type: none Replace type: none
Match plan: none Replace plan: none

Rule 7:
Match pattern: 644468
Replace pattern: 8
Match type: none Replace type: none
Match plan: none Replace plan: none

Rule 8:
Match pattern: 611118
Replace pattern: 8
Match type: none Replace type: none
Match plan: none Replace plan: none

Translation-rule tag: 3

Rule 1:
Match pattern: 0611116888
Replace pattern: 6888
Match type: any Replace type: national
Match plan: any Replace plan: isdn

Rule 2:
Match pattern: 0611116347
Replace pattern: 88806347
Match type: any Replace type: national
Match plan: any Replace plan: isdn

Rule 3:
Match pattern: 0611116
Replace pattern: 611116
Match type: any Replace type: national
Match plan: any Replace plan: isdn

Rule 4:
Match pattern: 0611113
Replace pattern: 611113
Match type: any Replace type: national
Match plan: any Replace plan: isdn

Rule 5:
Match pattern: 886
Replace pattern: 611116
Match type: any Replace type: national
Match plan: any Replace plan: isdn

Rule 6:
Match pattern: 883
Replace pattern: 611113
Match type: any Replace type: national
Match plan: any Replace plan: isdn

Rule 7:
Match pattern: 061111
Replace pattern: 61111
Match type: any Replace type: national
Match plan: any Replace plan: isdn

Rule 8:
Match pattern: 0611115
Replace pattern: 611115
Match type: any Replace type: national
Match plan: any Replace plan: isdn

Translation-rule tag: 4

Rule 1:
Match pattern: 644466860
Replace pattern: 6868
Match type: none Replace type: none
Match plan: none Replace plan: none

Rule 2:
Match pattern: 644466861
Replace pattern: 6867
Match type: none Replace type: none
Match plan: none Replace plan: none

Translation-rule tag: 10

Rule 1:
Match pattern: 644466347
Replace pattern: 88806347
Match type: none Replace type: none
Match plan: none Replace plan: none

Rule 2:
Match pattern: 645440201
Replace pattern: 00677456724
Match type: none Replace type: none
Match plan: none Replace plan: none

Rule 3:
Match pattern: 0611116347
Replace pattern: 88806347
Match type: none Replace type: none
Match plan: none Replace plan: none

Rule 4:
Match pattern: 644466879
Replace pattern: 88806879
Match type: none Replace type: none
Match plan: none Replace plan: none

Rule 5:
Match pattern: 0611116879
Replace pattern: 88806879
Match type: none Replace type: none
Match plan: none Replace plan: none

Translation-rule tag: 20

Rule 1:
Match pattern: ^64446601
Replace pattern: 8880601
Match type: none Replace type: none
Match plan: none Replace plan: none

Rule 2:
Match pattern: ^61111601
Replace pattern: 8880601
Match type: none Replace type: none
Match plan: none Replace plan: none

Rule 3:
Match pattern: ^64446603
Replace pattern: 8880603
Match type: none Replace type: none
Match plan: none Replace plan: none

Rule 4:
Match pattern: ^61111603
Replace pattern: 8880603
Match type: none Replace type: none
Match plan: none Replace plan: none

Rule 5:
Match pattern: ^64446604
Replace pattern: 8880604
Match type: none Replace type: none
Match plan: none Replace plan: none

Rule 6:
Match pattern: ^61111604
Replace pattern: 8880604
Match type: none Replace type: none
Match plan: none Replace plan: none

Translation-rule tag: 21

Rule 1:
Match pattern: ^0
Replace pattern: 00
Match type: any Replace type: unknown
Match plan: any Replace plan: unknown

Translation-rule tag: 30

Rule 1:
Match pattern: ^064446601
Replace pattern: 8880601
Match type: none Replace type: none
Match plan: none Replace plan: none

Rule 2:
Match pattern: ^061111601
Replace pattern: 8880601
Match type: none Replace type: none
Match plan: none Replace plan: none

Rule 3:
Match pattern: ^064446603
Replace pattern: 8880603
Match type: none Replace type: none
Match plan: none Replace plan: none

Rule 4:
Match pattern: ^061111603
Replace pattern: 8880603
Match type: none Replace type: none
Match plan: none Replace plan: none

Rule 5:
Match pattern: ^064446604
Replace pattern: 8880604
Match type: none Replace type: none
Match plan: none Replace plan: none

Rule 6:
Match pattern: ^061111604
Replace pattern: 8880604
Match type: none Replace type: none
Match plan: none Replace plan: none

Translation-rule tag: 1000

Rule 1:
Match pattern: 644461
Replace pattern: 6888
Match type: none Replace type: none
Match plan: any Replace plan: unknown

Translation-rule tag: 2000

Rule 1:
Match pattern: 644462
Replace pattern: 2
Match type: any Replace type: national
Match plan: any Replace plan: isdn

Translation-rule tag: 3000

Rule 1:
Match pattern: 644463
Replace pattern: 3
Match type: any Replace type: national
Match plan: any Replace plan: isdn

Translation-rule tag: 4000

Rule 1:
Match pattern: 644464
Replace pattern: 4
Match type: any Replace type: national
Match plan: any Replace plan: isdn

Translation-rule tag: 5000

Rule 1:
Match pattern: 644465
Replace pattern: 5
Match type: any Replace type: national
Match plan: any Replace plan: isdn

Translation-rule tag: 6000

Rule 1:
Match pattern: 644466
Replace pattern: 6
Match type: any Replace type: national
Match plan: any Replace plan: isdn

Translation-rule tag: 7000

Rule 1:
Match pattern: 644467
Replace pattern: 7
Match type: any Replace type: national
Match plan: any Replace plan: isdn

Translation-rule tag: 8000

Rule 1:
Match pattern: 644468
Replace pattern: 8
Match type: any Replace type: national
Match plan: any Replace plan: isdn

Translation-rule tag: 9000

Rule 1:
Match pattern: 644469
Replace pattern: 9
Match type: any Replace type: national
Match plan: any Replace plan: isdn

Translation-rule tag: 9995

Rule 1:
Match pattern: 3575
Replace pattern: 644463575
Match type: any Replace type: unknown
Match plan: any Replace plan: unknown

Rule 2:
Match pattern: 3576
Replace pattern: 644463575
Match type: any Replace type: unknown
Match plan: any Replace plan: unknown

Rule 3:
Match pattern: 3577
Replace pattern: 644463575
Match type: any Replace type: unknown
Match plan: any Replace plan: unknown

Rule 4:
Match pattern: 3583
Replace pattern: 644463575
Match type: any Replace type: unknown
Match plan: any Replace plan: unknown

Rule 5:
Match pattern: 3448
Replace pattern: 644463575
Match type: any Replace type: unknown
Match plan: any Replace plan: unknown

Rule 6:
Match pattern: 3447
Replace pattern: 644463575
Match type: any Replace type: unknown
Match plan: any Replace plan: unknown

Translation-rule tag: 10000

Rule 1:
Match pattern: 644460
Replace pattern: 0
Match type: any Replace type: national
Match plan: any Replace plan: isdn

R3825_Pianciani#

 

Can someone suggest me how to resolve it?

Thanks

1 Accepted Solution

Accepted Solutions

CSCO12047864
Level 1
Level 1

Thank you guys fro your answers.

I solved my problem.

In the CUMC, Voice Gateway configuration, in the Call Routing Information - Outbond Calls, I filled the field Caller ID DN with 064446XXXX

Now, every call who go out from that VG, show the correct ANI.

 

thank you again

Regards

View solution in original post

4 Replies 4

Andrew Skelly
Level 7
Level 7

Does this issue happen on every PSTN call from that specific internal 064 number, every call to that specific 328 PSTN number, or some other mix?

Please rate helpful posts by clicking the thumbs up!

Can you please post your running configuration and appropriate debug output from a outbound call in the voice gateway? What debug to run is depending on your setup with PSTN and what protocol you use for call control. Please post these as attachments, not as text in the post, as it makes the post very long and hard to read.



Response Signature


TONY SMITH
Spotlight
Spotlight

How is your configuration supposed to work, should CUCM be presenting the full calling number, or do you expect it to be fixed up on the gateway.  I second the request to see your configuration in a more readable format, for example to display a dial peer we'd rather see the configuration from "sh run | sec dial-peer voice 6500" as an example.

Just looking at your output your sample call used dial peers 6500 and 1001.  Calling number is 6580 and I can't see anything in the material that you've provided which would change that.

What number is actually being put out to the PSTN (debug isdn q931)?

CSCO12047864
Level 1
Level 1

Thank you guys fro your answers.

I solved my problem.

In the CUMC, Voice Gateway configuration, in the Call Routing Information - Outbond Calls, I filled the field Caller ID DN with 064446XXXX

Now, every call who go out from that VG, show the correct ANI.

 

thank you again

Regards

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: