09-10-2014 10:08 PM - edited 03-17-2019 12:07 AM
Hi
telco sending 4 digit and the dial peer(destination pattern is two digit '..') . But i can receive calls ? .
Why does it happens . Please explain
dial-peer voice 201 voip
preference 9
destination-pattern ..
voice-class codec 1
session target ipv4:CUCM IP ADDRESS
incoming called-number .
dtmf-relay h245-alphanumeric
no vad
Thanks
09-10-2014 10:41 PM
destination-pattern .. will match any first 2 digit coming into your gateway, that is why.
e.g telco is sending 1234 but as per your dial-peer configuration
destination-pattern ..
it will match first 2 digits and 12 and select the destination of the call.
regards
Chintan
09-11-2014 02:36 AM
Thanks for the reply
I have one more dial peer ,Here the pattern is the exact number (destination-pattern 3389)
The destination pattern is defined to run the faxes , But when I run ‘ sh call active voice ‘ shows the dial-peer voice 302 matching instead another dial-peer matches
dial-peer voice 302 voip
destination-pattern 3389
session protocol sipv2
session target ipv4:ip address:5062
dtmf-relay rtp-nte
codec g711ulaw
fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback cisco
no vad
!
gateway1#sh call active voice
Telephony call-legs: 1
SIP call-legs: 0
H323 call-legs: 1
Call agent controlled call-legs: 0
SCCP call-legs: 0
Multicast call-legs: 0
Total call-legs: 2
GENERIC:
SetupTime=89633670 ms
Index=1
PeerAddress=9XXXXXXX
PeerSubAddress=
PeerId=10
PeerIfIndex=73
LogicalIfIndex=16
ConnectTime=0 ms
CallDuration=00:00:00 sec
CallState=3
CallOrigin=2
ChargedUnits=0
InfoType=speech
TransmitPackets=0
TransmitBytes=0
ReceivePackets=0
ReceiveBytes=0
TELE:
ConnectionId=[0x26A8BA1 0x38B411E4 0x8028001B 0xCB03888]
IncomingConnectionId=[0x26A8BA1 0x38B411E4 0x8028001B 0xCB03888]
CallID=145
Port=1/0:15 (145)
BearerChannel=1/0.7
TxDuration=0 ms
VoiceTxDuration=0 ms
FaxTxDuration=0 ms
CoderTypeRate=None
NoiseLevel=0
ACOMLevel=0
OutSignalLevel=0
InSignalLevel=0
InfoActivity=0
ERLLevel=0
SessionTarget=
ImgPages=0
CallerName=
CallerIDBlocked=False
OriginalCallingNumber=9XXXXXXX
OriginalCallingOctet=0x0
OriginalCalledNumber=5XXX
OriginalCalledOctet=0x81
OriginalRedirectCalledNumber=
OriginalRedirectCalledOctet=0xFF
TranslatedCallingNumber=9XXXXXXX
TranslatedCallingOctet=0x0
TranslatedCalledNumber=5XXX
TranslatedCalledOctet=0x81
TranslatedRedirectCalledNumber=
TranslatedRedirectCalledOctet=0xFF
GwReceivedCalledNumber=5XXX
GwReceivedCalledOctet3=0x81
GwReceivedCallingNumber=9XXXXXXX
GwReceivedCallingOctet3=0x0
GwReceivedCallingOctet3a=0x81
DSPIdentifier=1/1:1
GENERIC:
SetupTime=89634180 ms
Index=1
PeerAddress=5XXX
PeerSubAddress=
PeerId=201
PeerIfIndex=77
LogicalIfIndex=0
ConnectTime=0 ms
CallDuration=00:00:00 sec
CallState=2
CallOrigin=1
ChargedUnits=0
InfoType=speech
TransmitPackets=0
TransmitBytes=0
ReceivePackets=0
ReceiveBytes=0
VOIP:
ConnectionId[0x26A8BA1 0x38B411E4 0x8028001B 0xCB03888]
IncomingConnectionId[0x26A8BA1 0x38B411E4 0x8028001B 0xCB03888]
CallID=147
RemoteIPAddress=cucmipaddress
RemoteUDPPort=0
RemoteSignallingIPAddress=cucmipaddress
RemoteSignallingPort=1720
RemoteMediaIPAddress=0.0.0.0
RemoteMediaPort=0
RoundTripDelay=0 ms
SelectedQoS=best-effort
tx_DtmfRelay=inband-voice
FastConnect=FALSE
AnnexE=FALSE
Separate H245 Connection=FALSE
H245 Tunneling=FALSE
SessionProtocol=cisco
ProtocolCallId=
SessionTarget=ipv4:cucmipaddress
OnTimeRvPlayout=0
GapFillWithSilence=0 ms
GapFillWithPrediction=0 ms
GapFillWithInterpolation=0 ms
GapFillWithRedundancy=0 ms
HiWaterPlayoutDelay=0 ms
LoWaterPlayoutDelay=0 ms
TxPakNumber=0
TxSignalPak=0
TxComfortNoisePak=0
TxDuration=0
TxVoiceDuration=0
RxPakNumber=0
RxSignalPak=0
RxDuration=0
TxVoiceDuration=0
VoiceRxDuration=0
RxOutOfSeq=0
RxLatePak=0
RxEarlyPak=0
PlayDelayCurrent=0
PlayDelayMin=0
PlayDelayMax=0
PlayDelayClockOffset=0
PlayDelayJitter=0 ms
PlayErrPredictive=0
PlayErrInterpolative=0
PlayErrSilence=0
PlayErrBufferOverFlow=0
PlayErrRetroactive=0
PlayErrTalkspurt=0
OutSignalLevel=0
InSignalLevel=0
LevelTxPowerMean=0
LevelRxPowerMean=0
LevelBgNoise=0
ERLLevel=0
ACOMLevel=0
ErrRxDrop=0
ErrTxDrop=0
ErrTxControl=0
ErrRxControl=0
ReceiveDelay=0 ms
LostPackets=0
EarlyPackets=0
LatePackets=0
SRTP = off
VAD = disabled
CoderTypeRate=g729r8 pre-ietf
CodecBytes=0
Media Setting=flow-through
AlertTimepoint=89634200 ms
CallerName=
CallerIDBlocked=False
OriginalCallingNumber=9XXXXXXX
OriginalCallingOctet=0x0
OriginalCalledNumber=5XXX
OriginalCalledOctet=0x81
OriginalRedirectCalledNumber=
OriginalRedirectCalledOctet=0xFF
TranslatedCallingNumber=9XXXXXXX
TranslatedCallingOctet=0x0
TranslatedCalledNumber=5XXX
TranslatedCalledOctet=0x81
TranslatedRedirectCalledNumber=
TranslatedRedirectCalledOctet=0xFF
GwReceivedCalledNumber=5XXX
GwReceivedCalledOctet3=0x81
GwOutpulsedCalledNumber=5XXX
GwOutpulsedCalledOctet3=0x81
GwReceivedCallingNumber=9XXXXXXX
GwReceivedCallingOctet3=0x0
GwReceivedCallingOctet3a=0x81
GwOutpulsedCallingNumber=9XXXXXXX
GwOutpulsedCallingOctet3=0x0
GwOutpulsedCallingOctet3a=0x81
MediaInactiveDetected=no
MediaInactiveTimestamp=
MediaControlReceived=
Username=
Telephony call-legs: 1
SIP call-legs: 0
H323 call-legs: 1
Call agent controlled call-legs: 0
SCCP call-legs: 0
Multicast call-legs: 0
Total call-legs: 2
09-11-2014 05:34 AM
Hi.
Can you please send all your configured dial peers?
Thanks
Regards
Carlo
09-11-2014 01:39 PM
dial-peer voice 201 voip
preference 9
destination-pattern ....
voice-class codec 1
session target ipv4:ipaddress cucm1
incoming called-number .
dtmf-relay h245-alphanumeric
no vad
!
dial-peer voice 202 voip
preference 10
destination-pattern ....
voice-class codec 1
session target ipv4:ipaddress cucm2
dtmf-relay h245-alphanumeric
no vad
!
dial-peer voice 402 voip
preference 1
destination-pattern 3389
session protocol sipv2
session target ipv4:FaxserverIP:5062
dtmf-relay rtp-nte
codec g711ulaw
fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback cisco
no vad
!
09-11-2014 04:19 PM
There's nothing to explain, you get 4 digits, you have DP 201 and 202 set to match 4 digits.
What you originally posted lacks 2 .., no idea what you did there
09-11-2014 09:53 PM
Hi
Jaime telco was sending only two digits and then change to 4 .
for example
when called number is '3389' , in my case dial peer 402 should match because i gave 'preference 1' .But in reality it does not match , call i directly going to call manager .
I hope i could clearly state the question
09-12-2014 12:18 AM
can you run below command and attach the output.
show dialplan number 3389
regards
Chintan
09-13-2014 10:51 PM
If i remove (no dial-peer voice 402 voip) and add again then 'VoiceOverIpPeer402' shows , otherwise it doesnot show
dial-peer voice 402 voip
preference 1
destination-pattern 5799
session protocol sipv2
session target ipv4:FAXSERVERIP:5062
dtmf-relay rtp-nte
codec g711ulaw
fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback cisco
no vad
gw1#sh dialplan number 5799
Macro Exp.: 5799
VoiceOverIpPeer402
peer type = voice, information type = voice,
description = `',
tag = 402, destination-pattern = `5799',
answer-address = `', preference=1,
CLID Restriction = None
CLID Network Number = `'
CLID Second Number sent
CLID Override RDNIS = disabled,
source carrier-id = `', target carrier-id = `',
source trunk-group-label = `', target trunk-group-label = `',
numbering Type = `unknown'
group = 402, Admin state is up, Operation state is up,
incoming called-number = `', connections/maximum = 0/unlimited,
DTMF Relay = enabled,
modem transport = system,
URI classes:
Incoming (Request) =
Incoming (To) =
Incoming (From) =
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
type = voip, session-target = `ipv4:FAXSERVERIP:5062',
technology prefix:
settle-call = disabled
ip media DSCP = ef, ip signaling DSCP = af31,
ip video rsvp-none DSCP = af41,ip video rsvp-pass DSCP = af41
ip video rsvp-fail DSCP = af41,
UDP checksum = disabled,
session-protocol = sipv2, 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 = rtp-nte,
RTP dynamic payload type values: NTE = 101
Cisco: NSE=100, fax=96, fax-ack=97, dtmf=121, fax-relay=122
CAS=123, ClearChan=125, PCM switch over u-law=0,A-law=8
G726r16 using static payload
G726r24 using static payload
RTP comfort noise payload type = 19
fax rate = voice, payload size = 20 bytes
fax protocol = t38
fax-relay ecm enable
fax NSF = 0xAD0051 (default)
codec = g711ulaw, payload size = 160 bytes,
Media Setting = flow-through (global)
Expect factor = 10, Icpif = 20,
Playout Mode is set to adaptive,
Initial 60 ms, Max 250 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,
redirect ip2ip = disabled
probe disabled,
voice class perm tag = `'
Time elapsed since last clearing of voice call statistics never
Connect Time = 0, Charged Units = 0,
Successful Calls = 0, Failed Calls = 0, Incomplete Calls = 0
Accepted Calls = 0, Refused Calls = 0,
Last Disconnect Cause is "",
Last Disconnect Text is "",
Last Setup Time = 0.
Matched: 5799 Digits: 4
Target: ipv4:FAXSERVERIP:5062
VoiceOverIpPeer201
peer type = voice, information type = voice,
description = `',
tag = 201, destination-pattern = `....',
answer-address = `', preference=9,
CLID Restriction = None
CLID Network Number = `'
CLID Second Number sent
CLID Override RDNIS = disabled,
source carrier-id = `', target carrier-id = `',
source trunk-group-label = `', target trunk-group-label = `',
numbering Type = `unknown'
group = 201, 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
type = voip, session-target = `ipv4:CUCM-2-IP',
technology prefix:
settle-call = disabled
ip media DSCP = ef, ip signaling DSCP = af31,
ip video rsvp-none DSCP = af41,ip video rsvp-pass DSCP = af41
ip video rsvp-fail DSCP = af41,
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, ClearChan=125, PCM switch over u-law=0,A-law=8
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 NSF = 0xAD0051 (default)
codec = g729r8, payload size = 20 bytes,
Media Setting = flow-through (global)
Expect factor = 10, Icpif = 20,
Playout Mode is set to adaptive,
Initial 60 ms, Max 250 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,
redirect ip2ip = disabled
probe disabled,
voice class perm tag = `'
Time elapsed since last clearing of voice call statistics never
Connect Time = 12403, Charged Units = 0,
Successful Calls = 38, Failed Calls = 6, Incomplete Calls = 0
Accepted Calls = 0, Refused Calls = 0,
Last Disconnect Cause is "10 ",
Last Disconnect Text is "normal call clearing (16)",
Last Setup Time = 28950228.
Matched: 5799 Digits: 0
Target: ipv4:CUCM-2-IP
VoiceOverIpPeer202
peer type = voice, information type = voice,
description = `',
tag = 202, destination-pattern = `....',
answer-address = `', preference=10,
CLID Restriction = None
CLID Network Number = `'
CLID Second Number sent
CLID Override RDNIS = disabled,
source carrier-id = `', target carrier-id = `',
source trunk-group-label = `', target trunk-group-label = `',
numbering Type = `unknown'
group = 202, 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
type = voip, session-target = `ipv4:CUCM-1-IP',
technology prefix:
settle-call = disabled
ip media DSCP = ef, ip signaling DSCP = af31,
ip video rsvp-none DSCP = af41,ip video rsvp-pass DSCP = af41
ip video rsvp-fail DSCP = af41,
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, ClearChan=125, PCM switch over u-law=0,A-law=8
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 NSF = 0xAD0051 (default)
codec = g729r8, payload size = 20 bytes,
Media Setting = flow-through (global)
Expect factor = 10, Icpif = 20,
Playout Mode is set to adaptive,
Initial 60 ms, Max 250 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,
redirect ip2ip = disabled
probe disabled,
voice class perm tag = `'
Time elapsed since last clearing of voice call statistics never
Connect Time = 0, Charged Units = 0,
Successful Calls = 2, Failed Calls = 3, Incomplete Calls = 0
Accepted Calls = 0, Refused Calls = 0,
Last Disconnect Cause is "1B ",
Last Disconnect Text is "destination out of order (27)",
Last Setup Time = 28902652.
Matched: 5799 Digits: 0
Target: ipv4:CUCM-1-IP
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide