Sure, do a forward-digits 7 (or whatever to count from right to left)<br><br>and then if you need to add digits in the front, add a 'prefix 9' or whatever (the 9 could be needed on some centrex systems)<br><br>it is pretty easy to manipulate digits like this.
<br><br><br><br>J<br><br><div><span class="gmail_quote">On 2/16/06, <b class="gmail_sendername">Ciscozest</b> <<a href="mailto:ciscozest@gmail.com">ciscozest@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><font face="Arial" size="2">thanks for your reply. Initialy I thought
anything within the bracket is not excplitly matched and will be sent
out.</font></div>
<div><font face="Arial" size="2">Anyway how if I want to include that range digit
[1-4] to PSTN? Is there a simpler way to do it rather than create a unique
dial-peer for each of them?</font></div><div><span class="e" id="q_109757574d3917e4_1">
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message ----- </div>
<div style="background: rgb(228, 228, 228) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b>
<a title="jonvoip@gmail.com" href="mailto:jonvoip@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Jonathan
Charles</a> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b> <a title="ciscozest@gmail.com" href="mailto:ciscozest@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
Ciscozest</a> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Cc:</b> <a title="cisco-voip@puck.nether.net" href="mailto:cisco-voip@puck.nether.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
cisco-voip@puck.nether.net</a> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> Friday, February 17, 2006 8:33
AM</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b> Re: [cisco-voip] basic digit
manipulation</div>
<div><br></div>565 then not the 9 or the next matched digit, anything matched
by the dots will be sent...<br><br>So, <br><br>565.......<br><br>Would be
sent.<br><br><br><br>Jonathan<br><br>
<div><span class="gmail_quote">On 2/16/06, <b class="gmail_sendername">Ciscozest</b> <<a href="mailto:ciscozest@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ciscozest@gmail.com</a>
> wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><font face="Arial" size="2">I am wondering what digits are sent with
following config:</font></div>
<div><font face="Arial" size="2"></font> </div>
<div>dial-peer voi 1 pots<br>destination-pattern
9[1-4].......<br>prefix 565</div>
<div>!</div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">I have two FXS and two FXO VIC in my
vg200, but no PSTN line. Is there a way i can test the above setup? Ie:
to simulate as if the FXO interface 'up' so that I can use debug
voice command to see the digits sent out. </font><font face="Arial" size="2">Anyone can help? </font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">thanks</font></div>
<div><font face="Arial" size="2">Robin</font></div><br>_______________________________________________<br>cisco-voip
mailing list<br><a href="mailto:cisco-voip@puck.nether.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">cisco-voip@puck.nether.net</a><br><a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
https://puck.nether.net/mailman/listinfo/cisco-voip</a><br><br><br></blockquote></div><br></blockquote>
</span></div></blockquote></div><br>