[cisco-voip] Destination Pattern Question
Lelio Fulgenzi
lelio at uoguelph.ca
Mon Feb 5 19:27:06 EST 2007
I think that pattern means different things in CallManager route patterns than it does IOS dial-peers.
----- Original Message -----
From: Patrick Mowry
To: cisco-voip at puck.nether.net
Sent: Monday, February 05, 2007 6:13 PM
Subject: Re: [cisco-voip] Destination Pattern Question
Here is a quick confirmation from IOS ver 12.4(11)T. Looks like [^2]
means anything but 2 and [^23] means anything but 2 or 3.
Weird.
dial-peer voice 100 voip
destination-pattern 2...
session target ipv4:192.168.150.10
codec g711ulaw
!
2611_CCME#sh dialplan number 2999
Macro Exp.: 2999
VoiceOverIpPeer100
peer type = voice, system default peer = FALSE, information type
= voice,
description = `',
tag = 100, destination-pattern = `2...',
answer-address = `', preference=0,
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 = 100, Admin state is up, Operation state is up,
incoming called-number = `', connections/maximum = 0/unlimited,
DTMF Relay = disabled,
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
2611_CCME#sh dialplan number 3999
Macro Exp.: 3999
No match, result=-1
2611_CCME#conf t
Enter configuration commands, one per line. End with CNTL/Z.
2611_CCME(config)#dial-peer voice 100 voip
2611_CCME(config-dial-peer)#dest
2611_CCME(config-dial-peer)#destination-p
2611_CCME(config-dial-peer)#destination-pattern [^2]...
2611_CCME(config-dial-peer)#^Z
2611_CCME#sh dialplan number 3999
Macro Exp.: 3999
VoiceOverIpPeer100
peer type = voice, system default peer = FALSE, information type
= voice,
description = `',
tag = 100, destination-pattern = `[^2]...',
answer-address = `', preference=0,
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 = 100, Admin state is up, Operation state is up,
incoming called-number = `', connections/maximum = 0/unlimited,
DTMF Relay = disabled,
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
2611_CCME#sh dialplan number 2999
Macro Exp.: 2999
No match, result=-1
2611_CCME#conf t
Enter configuration commands, one per line. End with CNTL/Z.
2611_CCME(config)#dial-peer voice 100 voip
2611_CCME(config-dial-peer)#destination-pattern [^23]^Z.
2611_CCME#sh dialplan number 2999
Macro Exp.: 2999
No match, result=-1
2611_CCME#sh dialplan number 3999
Macro Exp.: 3999
No match, result=-1
2611_CCME#sh dialplan number 4999
Macro Exp.: 4999
VoiceOverIpPeer100
peer type = voice, system default peer = FALSE, information type
= voice,
description = `',
tag = 100, destination-pattern = `[^23]...',
answer-address = `', preference=0,
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 = 100, Admin state is up, Operation state is up,
incoming called-number = `', connections/maximum = 0/unlimited,
DTMF Relay = disabled,
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:192.168.150.10',
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,
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
h263+=118, h264=119
G726r16 using static payload
G726r24 using static payload
RTP comfort noise payload type = 19
fax rate = fax, payload size = 20 bytes
fax protocol = system
fax-relay ecm enable
Fax Relay SG3-to-G3 Enabled (by system configuration)
fax NSF = 0xAD0051 (default)
codec = g711ulaw, payload size = 160 bytes,
video codec = None
voice class codec = `'
text relay = disabled
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 = enabled, Poor QOV Trap = disabled,
Source Interface = NONE
voice class sip url = system,
voice class sip rel1xx = system,
voice class sip e911 = 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 = 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.
Last Disconnect Time = 0.
Matched: 4999 Digits: 1
Target: ipv4:192.168.150.10
_______________________________________________
cisco-voip mailing list
cisco-voip at puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-voip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://puck.nether.net/pipermail/cisco-voip/attachments/20070205/7e728bfa/attachment-0001.html
More information about the cisco-voip
mailing list