<div dir="ltr">You should be able to use a voice translation profile to slice the +
from your number. Here is an example where I am slicing the +1 from an
e.164 number and passing ten digits.<br><br>voice translation-profile e164<br> translate calling 1<br>!<br><br>voice translation-rule 1<br> rule 1 /^\+1\(..........\)/ /\1/<br><br>dial-peer voice 5121 voip<br> translation-profile outgoing e164<br>
<br>Hope this helps.<br><br>Terry Eitel<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Date: Fri, 19 Sep 2008 20:20:44 -0400<br>
From: Ryan West <<a href="mailto:rwest@zyedge.com">rwest@zyedge.com</a>><br>
Subject: Re: [cisco-voip] Antw: Dealing with + in destination<br>
patterns<br>
To: Robert Schuknecht <<a href="mailto:rschuknecht@gmx.de">rschuknecht@gmx.de</a>>,<br>
"<a href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a>" <<a href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a>><br>
Message-ID:<br>
<6E21B2BDEF6E714EA0B5BA8D5D0E140163BF5548@zy-ex1.zyedge.local><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Wes / Robert,<br>
<br>
I have tried both of your suggestions. You can't really specify forward-digits for a voip dial-peer and the destination-pattern of +12XXXXXXX (numbers removed, not actually using XXX). The show dialplan number +12XXXXX matches the correct dial-peer, but it still seems to be looping back out.<br>
<br>
I'll be looking back at the Asterisk again, because it does seem to be trying the dial-peer before defaulting back out to the catchall.<br>
<br>
Here are the debugs:<br>
<br>
Sep 19 20:02:56.145: :FEATURE_VSA attributes are: feature_name:0,feature_time:1213503720,feature_id:815483<br>
Sep 19 20:02:56.145: //1710016/4FEC3C81A68D/CCAPI/ccIFCallSetupRequestPrivate:<br>
SPI Call Setup Request Is Success; Interface Type=6, FlowMode=1<br>
Sep 19 20:02:56.145: //1710016/4FEC3C81A68D/CCAPI/ccCallSetContext:<br>
Context=0x46C91CAC<br>
Sep 19 20:02:56.145: //1710015/4FEC3C81A68D/CCAPI/ccSaveDialpeerTag:<br>
Outgoing Dial-peer=1731<br>
Sep 19 20:02:56.161: //1710016/4FEC3C81A68D/CCAPI/cc_api_call_proceeding:<br>
Interface=0x48928780, Progress Indication=NULL(0)<br>
Sep 19 20:02:56.381: //1710016/4FEC3C81A68D/CCAPI/cc_api_call_feature:<br>
Feature Type=32, Interface=0x48928780, Call Id=1710016<br>
Sep 19 20:02:56.381: //1710015/4FEC3C81A68D/CCAPI/ccCallFeature:<br>
Feature Type=32, Call Id=1710015<br>
Sep 19 20:02:57.221: //1710017/xxxxxxxxxxxx/CCAPI/cc_api_caps_ind:<br>
Call Entry Is Not Found<br>
Sep 19 20:02:57.221: //-1/509415E38262/CCAPI/cc_api_display_ie_subfields:<br>
cc_api_call_setup_ind_common:<br>
cisco-username=+17037771212<br>
----- ccCallInfo IE subfields -----<br>
cisco-ani=+17037771212<br>
cisco-anitype=0<br>
cisco-aniplan=0<br>
cisco-anipi=0<br>
cisco-anisi=0<br>
dest=+12145551212<br>
cisco-desttype=0<br>
cisco-destplan=0<br>
cisco-rdie=FFFFFFFF<br>
cisco-rdn=<br>
cisco-rdntype=0<br>
cisco-rdnplan=0<br>
cisco-rdnpi=-1<br>
cisco-rdnsi=-1<br>
cisco-redirectreason=-1 fwd_final_type =0<br>
final_redirectNumber =<br>
hunt_group_timeout =0<br>
<br>
Sep 19 20:02:57.225: //-1/509415E38262/CCAPI/cc_api_call_setup_ind_common:<br>
Interface=0x47D59140, Call Info(<br>
Calling Number=+17037771212,(Calling Name=)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),<br>
Called Number=+12145551212(TON=Unknown, NPI=Unknown),<br>
Calling Translated=FALSE, Subscriber Type Str=Unknown, FinalDestinationFlag=TRUE,<br>
Incoming Dial-peer=100, Progress Indication=NULL(0), Calling IE Present=FALSE,<br>
Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=1710017<br>
Sep 19 20:02:57.225: //-1/509415E38262/CCAPI/ccCheckClipClir:<br>
In: Calling Number=+17037771212(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)<br>
Sep 19 20:02:57.225: //-1/509415E38262/CCAPI/ccCheckClipClir:<br>
Out: Calling Number=+17037771212(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)<br>
Sep 19 20:02:57.225: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:<br>
<br>
Sep 19 20:02:57.225: :cc_get_feature_vsa malloc success<br>
Sep 19 20:02:57.225: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:<br>
<br>
Sep 19 20:02:57.225: cc_get_feature_vsa count is 9<br>
Sep 19 20:02:57.225: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:<br>
<br>
Sep 19 20:02:57.225: :FEATURE_VSA attributes are: feature_name:0,feature_time:1213498536,feature_id:815484<br>
Sep 19 20:02:57.225: //1710017/509415E38262/CCAPI/cc_api_call_setup_ind_common:<br>
Set Up Event Sent;<br>
Call Info(Calling Number=+17037771212(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),<br>
Called Number=+12145551212(TON=Unknown, NPI=Unknown))<br>
Sep 19 20:02:57.229: //1710017/509415E38262/CCAPI/cc_process_call_setup_ind:<br>
Event=0x4854D258<br>
Sep 19 20:02:57.229: //1710017/509415E38262/CCAPI/ccCallSetContext:<br>
Context=0x46C9CC8C<br>
Sep 19 20:02:57.229: //1710017/509415E38262/CCAPI/cc_process_call_setup_ind:<br>
>>>>CCAPI handed cid 1710017 with tag 100 to app "_ManagedAppProcess_Default"<br>
Sep 19 20:02:57.229: //1710017/509415E38262/CCAPI/ccCallProceeding:<br>
Progress Indication=NULL(0)<br>
Sep 19 20:02:57.237: //1710017/509415E38262/CCAPI/ccCallSetupRequest:<br>
Destination=, Calling IE Present=FALSE, Mode=0,<br>
Outgoing Dial-peer=2, Params=0x46EB3C10, Progress Indication=NULL(0)<br>
Sep 19 20:02:57.237: //1710017/509415E38262/CCAPI/ccCheckClipClir:<br>
In: Calling Number=+17037771212(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)<br>
Sep 19 20:02:57.237: //1710017/509415E38262/CCAPI/ccCheckClipClir:<br>
Out: Calling Number=+17037771212(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed)<br>
Sep 19 20:02:57.237: //1710017/509415E38262/CCAPI/ccCallSetupRequest:<br>
Destination Pattern=.T, Called Number=12145551212, Digit Strip=TRUE<br>
Sep 19 20:02:57.241: //1710017/509415E38262/CCAPI/ccCallSetupRequest:<br>
Calling Number=+17037771212(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),<br>
Called Number=12145551212(TON=Unknown, NPI=Unknown),<br>
Redirect Number=, Display Info=+17037771212<br>
Account Number=+17037771212, Final Destination Flag=TRUE,<br>
Guid=509415E3-85DE-11DD-8262-DE820F4028ED, Outgoing Dial-peer=2<br>
Sep 19 20:02:57.241: //1710017/509415E38262/CCAPI/cc_api_display_ie_subfields:<br>
ccCallSetupRequest:<br>
cisco-username=+17037771212<br>
----- ccCallInfo IE subfields -----<br>
cisco-ani=+17037771212<br>
cisco-anitype=0<br>
cisco-aniplan=0<br>
cisco-anipi=0<br>
cisco-anisi=0<br>
dest=12145551212<br>
cisco-desttype=0<br>
cisco-destplan=0<br>
cisco-rdie=FFFFFFFF<br>
cisco-rdn=<br>
cisco-rdntype=0<br>
cisco-rdnplan=0<br>
cisco-rdnpi=-1<br>
cisco-rdnsi=-1<br>
cisco-redirectreason=-1 fwd_final_type =0<br>
final_redirectNumber =<br>
hunt_group_timeout =0<br>
<br>
Sep 19 20:02:57.241: //1710017/509415E38262/CCAPI/ccIFCallSetupRequestPrivate:<br>
Interface=0x48A84070, Interface Type=6, Destination=, Mode=0x0,<br>
Call Params(Calling Number=+17037771212,(Calling Name=+17037771212)(TON=Unknown, NPI=Unknown, Screening=Not Screened, Presentation=Allowed),<br>
Called Number=12145551212(TON=Unknown, NPI=Unknown), Calling Translated=FALSE,<br>
Subscriber Type Str=Unknown, FinalDestinationFlag=TRUE, Outgoing Dial-peer=2, Call Count On=FALSE,<br>
Source Trkgrp Route Label=, Target Trkgrp Route Label=, tg_label_flag=0, Application Call Id=)<br>
Sep 19 20:02:57.241: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:<br>
<br>
Sep 19 20:02:57.241: :cc_get_feature_vsa malloc success<br>
Sep 19 20:02:57.241: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:<br>
<br>
Sep 19 20:02:57.241: cc_get_feature_vsa count is 10<br>
Sep 19 20:02:57.241: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:<br>
<br>
Sep 19 20:02:57.241: :FEATURE_VSA attributes are: feature_name:0,feature_time:1213500912,feature_id:815485<br>
Sep 19 20:02:57.241: //1710018/509415E38262/CCAPI/ccIFCallSetupRequestPrivate:<br>
SPI Call Setup Request Is Success; Interface Type=6, FlowMode=1<br>
Sep 19 20:02:57.241: //1710018/509415E38262/CCAPI/ccCallSetContext:<br>
Context=0x46EB3BC0<br>
Sep 19 20:02:57.241: //1710017/509415E38262/CCAPI/ccSaveDialpeerTag:<br>
Outgoing Dial-peer=2<br>
<br>
I'm going to post the dialpeer inout debub, the pretty much show the same thing:<br>
<br>
Sep 19 19:59:32.938: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:<br>
Calling Number=+12145551212, Called Number=+12145551212, Peer Info Type=DIALPEER_INFO_SPEECH<br>
Sep 19 19:59:32.938: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:<br>
Match Rule=DP_MATCH_DEST; Called Number=+12145551212<br>
Sep 19 19:59:32.938: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:<br>
Result=Success(0) after DP_MATCH_DEST<br>
Sep 19 19:59:32.938: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:<br>
Result=SUCCESS(0)<br>
List of Matched Outgoing Dial-peer(s):<br>
1: Dial-peer Tag=4834<br>
2: Dial-peer Tag=100<br>
3: Dial-peer Tag=2<br>
Sep 19 19:59:32.942: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:<br>
Calling Number=+17037771212, Called Number=, Voice-Interface=0x0,<br>
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,<br>
Peer Info Type=DIALPEER_INFO_SPEECH<br>
Sep 19 19:59:32.942: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:<br>
Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=100<br>
Sep 19 19:59:32.946: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:<br>
Calling Number=+17037771212, Called Number=, Voice-Interface=0x0,<br>
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,<br>
Peer Info Type=DIALPEER_INFO_SPEECH<br>
Sep 19 19:59:32.946: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:<br>
Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=100<br>
Sep 19 19:59:32.946: //-1/D6D2252681E8/DPM/dpAssociateIncomingPeerCore:<br>
Calling Number=+17037771212, Called Number=+12145551212, Voice-Interface=0x0,<br>
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,<br>
Peer Info Type=DIALPEER_INFO_SPEECH<br>
Sep 19 19:59:32.950: //-1/D6D2252681E8/DPM/dpAssociateIncomingPeerCore:<br>
Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=100<br>
Sep 19 19:59:32.958: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:<br>
Calling Number=+12145551212, Called Number=+12145551212, Peer Info Type=DIALPEER_INFO_SPEECH<br>
Sep 19 19:59:32.958: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:<br>
Match Rule=DP_MATCH_DEST; Called Number=+12145551212<br>
Sep 19 19:59:32.958: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:<br>
Result=Success(0) after DP_MATCH_DEST<br>
Sep 19 19:59:32.958: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:<br>
Result=SUCCESS(0)<br>
List of Matched Outgoing Dial-peer(s):<br>
1: Dial-peer Tag=4834<br>
2: Dial-peer Tag=100<br>
3: Dial-peer Tag=2<br>
Sep 19 19:59:32.958: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:<br>
Calling Number=+12145551212, Called Number=, Voice-Interface=0x0,<br>
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,<br>
Peer Info Type=DIALPEER_INFO_SPEECH<br>
Sep 19 19:59:32.962: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:<br>
Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=4834<br>
Sep 19 19:59:32.962: //-1/D6D2252681E8/DPM/dpMatchPeersCore:<br>
Calling Number=, Called Number=+12145551212, Peer Info Type=DIALPEER_INFO_SPEECH<br>
Sep 19 19:59:32.962: //-1/D6D2252681E8/DPM/dpMatchPeersCore:<br>
Match Rule=DP_MATCH_DEST; Called Number=+12145551212<br>
Sep 19 19:59:32.966: //-1/D6D2252681E8/DPM/dpMatchPeersCore:<br>
Result=Success(0) after DP_MATCH_DEST<br>
Sep 19 19:59:32.966: //-1/D6D2252681E8/DPM/dpMatchPeersMoreArg:<br>
Result=SUCCESS(0)<br>
List of Matched Outgoing Dial-peer(s):<br>
1: Dial-peer Tag=4834<br>
2: Dial-peer Tag=100<br>
3: Dial-peer Tag=2<br>
Sep 19 19:59:33.390: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:<br>
Calling Number=, Called Number=+17037771212, Peer Info Type=DIALPEER_INFO_SPEECH<br>
Sep 19 19:59:33.390: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:<br>
Match Rule=DP_MATCH_DEST; Called Number=+17037771212<br>
Sep 19 19:59:33.394: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:<br>
Result=Success(0) after DP_MATCH_DEST<br>
Sep 19 19:59:33.394: //-1/xxxxxxxxxxxx/DPM/dpMatchPeers:<br>
Result=SUCCESS(0)<br>
List of Matched Outgoing Dial-peer(s):<br>
1: Dial-peer Tag=100<br>
2: Dial-peer Tag=2<br>
Sep 19 19:59:33.394: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:<br>
Calling Number=12145551212, Called Number=, Voice-Interface=0x0,<br>
Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,<br>
Peer Info Type=DIALPEER_INFO_SPEECH<br>
Sep 19 19:59:33.394: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:<br>
Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=100<br>
Sep 19 19:59:33.406: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:<br>
Calling Number=, Called Number=+17037771212, Peer Info Type=DIALPEER_INFO_SPEECH<br>
Sep 19 19:59:33.406: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:<br>
Match Rule=DP_MATCH_DEST; Called Number=+17037771212<br>
Sep 19 19:59:33.410: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:<br>
Result=Success(0) after DP_MATCH_DEST<br>
Sep 19 19:59:33.410: //-1/xxxxxxxxxxxx/DPM/dpMatchPeers:<br>
Result=SUCCESS(0)<br>
List of Matched Outgoing Dial-peer(s):<br>
1: Dial-peer Tag=100<br>
2: Dial-peer Tag=2<br>
Sep 19 19:59:33.410: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:<br>
Calling Number=, Called Number=12145551212, Peer Info Type=DIALPEER_INFO_SPEECH<br>
Sep 19 19:59:33.410: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:<br>
Match Rule=DP_MATCH_DEST; Called Number=12145551212<br>
Sep 19 19:59:33.410: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:<br>
Result=Success(0) after DP_MATCH_DEST<br>
Sep 19 19:59:33.410: //-1/xxxxxxxxxxxx/DPM/dpMatchPeers:<br>
Result=SUCCESS(0)<br>
List of Matched Outgoing Dial-peer(s):<br>
1: Dial-peer Tag=4<br>
2: Dial-peer Tag=100<br>
3: Dial-peer Tag=2<br>
<br>
<br>
show dialplan number +12145551212<br>
Macro Exp.: +12145551212<br>
<br>
VoiceOverIpPeer4834<br>
peer type = voice, system default peer = FALSE, information type = voice,<br>
description = `',<br>
tag = 4834, destination-pattern = `+12145551212',<br>
voice reg type = 0, corresponding tag = 0,<br>
allow watch = FALSE<br>
answer-address = `', preference=6,<br>
CLID Restriction = None<br>
CLID Network Number = `'<br>
CLID Second Number sent<br>
CLID Override RDNIS = disabled,<br>
source carrier-id = `', target carrier-id = `',<br>
source trunk-group-label = `', target trunk-group-label = `',<br>
numbering Type = `unknown'<br>
group = 4834, Admin state is up, Operation state is up,<br>
incoming called-number = `', connections/maximum = 0/unlimited,<br>
DTMF Relay = enabled,<br>
modem transport = system,<br>
URI classes:<br>
Incoming (Request) =<br>
Incoming (To) =<br>
Incoming (From) =<br>
Destination =<br>
huntstop = disabled,<br>
in bound application associated: 'DEFAULT'<br>
out bound application associated: ''<br>
dnis-map =<br>
permission :both<br>
incoming COR list:maximum capability<br>
outgoing COR list:minimum requirement<br>
Translation profile (Incoming):<br>
Translation profile (Outgoing):<br>
incoming call blocking:<br>
translation-profile = `'<br>
disconnect-cause = `no-service'<br>
advertise 0x40 capacity_update_timer 25 addrFamily 4 oldAddrFamily 4<br>
type = voip, session-target = `ipv4:<a href="http://204.118.100.171" target="_blank">204.118.100.171</a>',<br>
technology prefix:<br>
settle-call = disabled<br>
ip media DSCP = ef, ip signaling DSCP = af31,<br>
ip video rsvp-none DSCP = af41,ip video rsvp-pass DSCP = af41<br>
ip video rsvp-fail DSCP = af41,<br>
UDP checksum = disabled,<br>
session-protocol = sipv2, session-transport = system,<br>
req-qos = best-effort, acc-qos = best-effort,<br>
req-qos video = best-effort, acc-qos video = best-effort,<br>
req-qos audio def bandwidth = 64, req-qos audio max bandwidth = 0,<br>
req-qos video def bandwidth = 384, req-qos video max bandwidth = 0,<br>
dtmf-relay = sip-notify,<br>
dtmf-relay = rtp-nte,<br>
RTP dynamic payload type values: NTE = 101<br>
Cisco: NSE=100, fax=96, fax-ack=97, dtmf=121, fax-relay=122<br>
CAS=123, TTY=119, ClearChan=125, PCM switch over u-law=0,<br>
A-law=8, GSMAMR-NB=117 iLBC=116<br>
h263+=118, h264=119<br>
G726r16 using static payload<br>
G726r24 using static payload<br>
RTP comfort noise payload type = 19<br>
fax rate = fax, payload size = 20 bytes<br>
fax protocol = system<br>
fax-relay ecm enable<br>
Fax Relay SG3-to-G3 Enabled (by system configuration)<br>
fax NSF = 0xAD0051 (default)<br>
codec = g711ulaw, payload size = 160 bytes,<br>
video codec = None<br>
voice class codec = `'<br>
text relay = disabled<br>
Media Setting = flow-through (global)<br>
Expect factor = 10, Icpif = 20,<br>
Playout Mode is set to adaptive,<br>
Initial 60 ms, Max 1000 ms<br>
Playout-delay Minimum mode is set to default, value 40 ms<br>
Fax nominal 300 ms<br>
Max Redirects = 1, signaling-type = cas,<br>
VAD = enabled, Poor QOV Trap = disabled,<br>
Source Interface = NONE<br>
voice class sip url = system,<br>
voice class sip rel1xx = system,<br>
tvoice class sip outbound-proxy = system,<br>
voice class sip asserted-id = system,<br>
voice class sip privacy = system,<br>
voice class sip e911 = system,<br>
redirect ip2ip = disabled<br>
local peer = false<br>
probe disabled,<br>
Secure RTP: system (use the global setting)<br>
voice class perm tag = `'<br>
Time elapsed since last clearing of voice call statistics never<br>
Connect Time = 0, Charged Units = 0,<br>
Successful Calls = 0, Failed Calls = 0, Incomplete Calls = 0<br>
Accepted Calls = 0, Refused Calls = 0,<br>
Last Disconnect Cause is "",<br>
Last Disconnect Text is "",<br>
Last Setup Time = 0.<br>
Last Disconnect Time = 0.<br>
Matched: +12145551212 Digits: 11<br>
Target: ipv4:<a href="http://4.2.2.2" target="_blank">4.2.2.2</a><br>
<br>
dial-peer voice 100 voip<br>
huntstop<br>
preference 2<br>
destination-pattern .T<br>
progress_ind setup enable 3<br>
no modem passthrough<br>
voice-class codec 729<br>
session protocol sipv2<br>
session target sip-server<br>
session transport udp<br>
dtmf-relay rtp-nte<br>
no vad<br>
!<br>
dial-peer voice 2 pots<br>
translation-profile outgoing outbound-ld<br>
preference 5<br>
destination-pattern .T<br>
port 0/2/0:23<br>
no sip-register<br>
!<br>
dial-peer voice 4834 voip<br>
preference 1<br>
destination-pattern +12145551212<br>
session protocol sipv2<br>
session target ipv4:<a href="http://4.2.2.2" target="_blank">4.2.2.2</a><br>
dtmf-relay sip-notify rtp-nte<br>
codec g711ulaw<br>
!<br>
<br>
I'm at a loss here, it looks like IOS is converting it to 11 digits, not allowing the number to be matched as the full e.164 or the 11 digit number and forcing it out a less preferred catch all.<br>
<br>
-ryan<br>
<br>
-----Original Message-----<br>
From: Robert Schuknecht [mailto:<a href="mailto:rschuknecht@gmx.de">rschuknecht@gmx.de</a>]<br>
Sent: Friday, September 19, 2008 6:41 PM<br>
To: <a href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a>; Ryan West<br>
Subject: Antw: [cisco-voip] Dealing with + in destination patterns<br>
<br>
Do you need the full E.164 Number as destination-pattern or for an incoming Dial-Peer (incoming called-number / answer-address). For an destination-pattern the "+"-Sign should work, as you can see by the "sh dialplan number" output:<br>
<br>
sh dialplan number +123555999<br>
Sep 20 00:30:53.675 MESZ: %SYS-5-CONFIG_I: Configured from console by console<br>
Macro Exp.: +123555999<br>
<br>
VoiceOverIpPeer1<br>
peer type = voice, information type = voice,<br>
description = `',<br>
tag = 1, destination-pattern = `+123555999',<br>
<br>
<SNIP><br>
<br>
For an incoming Dial-Peer i am not sure, it takes the command "answer-address" and "incoming called-number" with the pattern +123555999. But i cant test if the incoming Dial-Peer will be matched, at the moment.<br>
<br>
I use IOS Version 12.4(5c)<br>
<br>
<br>
HTH<br>
<br>
/Robert<br>
>>> Ryan West<<a href="mailto:rwest@zyedge.com">rwest@zyedge.com</a>> schrieb am Freitag, 19. September 2008 um 23:31 in<br>
Nachricht 566fc6036c142b0987e4292d43446f31:<br>
> What's the best way to deal with a full e.164 number coming from a SIP<br>
> provider. I am receiving +1 with the remaining 10 digits following. The<br>
> only dial-peer that seems to match is the catchall .T. I have tried creating<br>
> a translation-profile to rewrite the number, but the + symbol is not<br>
> permitted.<br>
><br>
> Thanks guys,<br>
><br>
> -ryan<br>
<br>
<br>
</blockquote></div><br></div>