<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
/* List Definitions */
@list l0
        {mso-list-id:609777171;
        mso-list-template-ids:376459310;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1
        {mso-list-id:995576463;
        mso-list-template-ids:531009638;}
@list l1:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l2
        {mso-list-id:1088308157;
        mso-list-template-ids:-699219398;}
@list l2:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l3
        {mso-list-id:1661156543;
        mso-list-template-ids:1035253290;}
@list l3:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Mark,<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>What I gave you before was a translate calling (your DNIS), the
second rule 1 should be applied for translated called.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>-ryan<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Mark Mclean
[mailto:m.mclean08@gmail.com] <br>
<b>Sent:</b> Tuesday, April 22, 2008 9:23 AM<br>
<b>To:</b> Ryan West<br>
<b>Cc:</b> cisco-voip@puck.nether.net<br>
<b>Subject:</b> Re: [cisco-voip] CCM Express Ext. to PSTN and PSTN to Ext.<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<div>
<p class=MsoNormal>Thanks Ryan, but would that cancel this rule: rule 1 /^100/
/8529x70/ (to make ext 100 when placing outpound call go out to the PSTN with
the Caller ID:8529x70) if yes how i can acheive both in the outbound
translation rule.<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal> <o:p></o:p></p>
</div>
<div>
<p class=MsoNormal>Regards,<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'>Mark<o:p></o:p></p>
</div>
<div>
<p class=MsoNormal>On Tue, Apr 22, 2008 at 3:15 PM, Ryan West <<a
href="mailto:rwest@zyedge.com">rwest@zyedge.com</a>> wrote:<o:p></o:p></p>
<div>
<div>
<p><span style='font-size:11.0pt;color:#1F497D'>Here you go, just place this
into a voice translation-rule</span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'>rule 1 /^9\(.*\)/ /\1/</span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'>-ryan</span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p><b><span style='font-size:10.0pt'>From:</span></b><span style='font-size:
10.0pt'> Mark Mclean [mailto:<a href="mailto:m.mclean08@gmail.com"
target="_blank">m.mclean08@gmail.com</a>] <br>
<b>Sent:</b> Tuesday, April 22, 2008 9:12 AM <o:p></o:p></span></p>
<div>
<div>
<p class=MsoNormal><span style='font-size:10.0pt'><br>
<b>To:</b> Ryan West<br>
<b>Cc:</b> <a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br>
<b>Subject:</b> Re: [cisco-voip] CCM Express Ext. to PSTN and PSTN to Ext.<o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div>
<p> <o:p></o:p></p>
<div>
<p>How can this be done for the outbound translation rule you gave me:<o:p></o:p></p>
</div>
<div>
<p> <o:p></o:p></p>
</div>
<div>
<p>voice translation-rule 2<br>
rule 1 /^100/ /8529x70/<br>
rule 2 /^\(.*\)/ /8529\1/<br>
<br>
Regards,<o:p></o:p></p>
</div>
<div>
<p>Tamer <o:p></o:p></p>
</div>
<div>
<p> <o:p></o:p></p>
</div>
<div>
<p>On Tue, Apr 22, 2008 at 3:07 PM, Ryan West <<a
href="mailto:rwest@zyedge.com" target="_blank">rwest@zyedge.com</a>> wrote:<o:p></o:p></p>
<div>
<div>
<p><span style='font-size:11.0pt;color:#1F497D'>Since you are already deeply in
bed with translation patterns, I would just continue on that route, even if you
use a variable length destination-pattern match, you'll still need to use a
translation pattern to strip out the 9 for international calling.</span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p><b><span style='font-size:10.0pt'>From:</span></b><span style='font-size:
10.0pt'> Mark Mclean [mailto:<a href="mailto:m.mclean08@gmail.com"
target="_blank">m.mclean08@gmail.com</a>] <br>
<b>Sent:</b> Tuesday, April 22, 2008 9:05 AM </span><o:p></o:p></p>
<div>
<div>
<p><span style='font-size:10.0pt'><br>
<b>To:</b> Ryan West<br>
<b>Cc:</b> <a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br>
<b>Subject:</b> Re: [cisco-voip] CCM Express Ext. to PSTN and PSTN to Ext.</span><o:p></o:p></p>
</div>
</div>
</div>
<div>
<div>
<p> <o:p></o:p></p>
<div>
<p>Ryan, sorry i can follow you, but why should i do this? i guess the 9 in the
destination-pattern should be removed by defualt! is that correct?<o:p></o:p></p>
</div>
<div>
<p> <o:p></o:p></p>
</div>
<div>
<p><br>
<o:p></o:p></p>
</div>
<div>
<p>On Tue, Apr 22, 2008 at 2:47 PM, Ryan West <<a
href="mailto:rwest@zyedge.com" target="_blank">rwest@zyedge.com</a>> wrote:<o:p></o:p></p>
<div>
<div>
<p><span style='font-size:11.0pt;color:#1F497D'>Mark,</span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'>You can use a outbound called
number translation to search on 9/.*/ and then replace that with the number
without 9 or you can create multiple outbound peers, which will also help with
outbound interdigit timeout issues. Or you can use the secondary-dialtone
under the telephony-service section to accomplish that as well, I think :)</span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'>-ryan</span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p><b><span style='font-size:10.0pt'>From:</span></b><span style='font-size:
10.0pt'> Mark Mclean [mailto:<a href="mailto:m.mclean08@gmail.com"
target="_blank">m.mclean08@gmail.com</a>] <br>
<b>Sent:</b> Tuesday, April 22, 2008 8:39 AM </span><o:p></o:p></p>
<div>
<div>
<p><span style='font-size:10.0pt'><br>
<b>To:</b> Ryan West<br>
<b>Cc:</b> <a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br>
<b>Subject:</b> Re: [cisco-voip] CCM Express Ext. to PSTN and PSTN to Ext.</span><o:p></o:p></p>
</div>
</div>
</div>
<div>
<div>
<p> <o:p></o:p></p>
<div>
<p>Dear Ryan,<o:p></o:p></p>
</div>
<div>
<p>I applied the configurations and everything looks fine, however i have a
simple problem, the internal extensions when they try to place an outbound call
they dial 9 the problem is that the dial-peer voice 111 forward the 9 to
the PSTN without removing it.<br>
Here is the dial-peer config:<o:p></o:p></p>
</div>
<div>
<p> <o:p></o:p></p>
</div>
<div>
<div>
<p>!<br>
dial-peer voice 111 pots<br>
description "Outbound PSTN"<br>
translation-profile outgoing my-profile<br>
destination-pattern 9T<br>
direct inward-dial <br>
no digit-strip<br>
port 0/1/0:15<br>
forward-digits all<br>
!<br>
Thanks for the support...<o:p></o:p></p>
</div>
<div>
<p>Regards,<o:p></o:p></p>
</div>
<div>
<p>Mark<o:p></o:p></p>
</div>
<div>
<p> <o:p></o:p></p>
</div>
<div>
<p> <o:p></o:p></p>
</div>
</div>
<div>
<p>On Mon, Apr 21, 2008 at 3:49 PM, Mark Mclean <<a
href="mailto:m.mclean08@gmail.com" target="_blank">m.mclean08@gmail.com</a>>
wrote:<o:p></o:p></p>
<div>
<p>Thanks, i will test and update you...<o:p></o:p></p>
</div>
<div>
<p style='margin-bottom:12.0pt'>Mark<o:p></o:p></p>
</div>
<div>
<div>
<div>
<p>On Mon, Apr 21, 2008 at 3:45 PM, Ryan West <<a
href="mailto:rwest@zyedge.com" target="_blank">rwest@zyedge.com</a>> wrote:<o:p></o:p></p>
<div>
<div>
<p><span style='font-size:11.0pt;color:#1F497D'>Yes to the first 2
questions. Change the translation profile to an inbound and outbound
profile and then change dial-peer voice 112 pots to something like this:</span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>
<div>
<p><span style='font-size:11.0pt;color:#1F497D'> </span>dial-peer
voice 112 pots<br>
description "Inbound PSTN"<o:p></o:p></p>
</div>
<p> translation-profile incoming my-profile-inbound <o:p></o:p></p>
<p> preference 0<br>
incoming-called number .<o:p></o:p></p>
<p> direct inward-dial <o:p></o:p></p>
<div>
<p><br>
no digit-strip<br>
port 0/3/0:15<br>
forward-digits all<o:p></o:p></p>
</div>
<p> <o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'>voice translation-profile
my-profile-inbound</span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'> translated called 1</span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'>-ryan</span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p><b><span style='font-size:10.0pt'>From:</span></b><span style='font-size:
10.0pt'> Mark Mclean [mailto:<a href="mailto:m.mclean08@gmail.com"
target="_blank">m.mclean08@gmail.com</a>] <br>
<b>Sent:</b> Monday, April 21, 2008 9:40 AM<br>
<b>To:</b> Ryan West<br>
<b>Cc:</b> <a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br>
<b>Subject:</b> Re: [cisco-voip] CCM Express Ext. to PSTN and PSTN to Ext.</span><o:p></o:p></p>
</div>
<div>
<div>
<p> <o:p></o:p></p>
<div>
<p>Thanks, Mark for you response, but please accept my apologies as i do not
understand the part for the translation!<o:p></o:p></p>
</div>
<div>
<p>From your example; i guess using voice translation-rule 1 will route the
inbound calls from the PSTN to the internal extensions, please correct me if i
am wrong! <o:p></o:p></p>
</div>
<div>
<p> <o:p></o:p></p>
</div>
<div>
<p>And what about voice translation-rule 2, the 1st line ( rule 1 /^100/
/8529x70/ ) does it mean the outgoing call from ext 100 will go to
the PSTN using 8529xx70 ? and the 2nd line ( rule 2 /^\(.*\)/
/8529\1/ ) does it mean whatever the internal ext. is just
use it after 8529xx and send this called ID to the PSTN?<o:p></o:p></p>
</div>
<div>
<p> <o:p></o:p></p>
</div>
<div>
<p>And the final question, how can i use this under the dial peer? should be
something like this:<o:p></o:p></p>
</div>
<div>
<p> <o:p></o:p></p>
</div>
<div>
<p>!<br>
dial-peer voice 111 pots<br>
description "Outbound PSTN"<br>
translation-profile outgoing my-profile<o:p></o:p></p>
</div>
<div>
<p> preference 0<br>
destination-pattern .T<br>
no digit-strip<br>
port 0/3/0:15<br>
forward-digits all<br>
!<o:p></o:p></p>
<div>
<p>!<br>
dial-peer voice 112 pots<br>
description "Inbound PSTN"<br>
translation-profile incoming my-profile<o:p></o:p></p>
</div>
<div>
<p> preference 0<br>
destination-pattern .T<br>
no digit-strip<br>
port 0/3/0:15<br>
forward-digits all<br>
!<o:p></o:p></p>
</div>
<div>
<p>Thanks again...<o:p></o:p></p>
</div>
<div>
<p>Marks<o:p></o:p></p>
</div>
</div>
<div>
<p>On Mon, Apr 21, 2008 at 2:54 PM, Ryan West <<a
href="mailto:rwest@zyedge.com" target="_blank">rwest@zyedge.com</a>> wrote:<o:p></o:p></p>
<div>
<div>
<p><span style='font-size:11.0pt;color:#1F497D'>Mark,</span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'>You can accomplish the desired
configuration by removing 'dialplan-pattern 1 21850.. extension-length 2' and
going with an inbound and outbound translation / number expansion
pattern. You should really try to have some of the numbers match their external
DIDs, overall it is much easier to program that way and more difficult to
troubleshoot later. Most of the time, setting the expectation of the
customer that they will have new internal extensions is really not that big of
a deal. </span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'>voice translation-rule 1</span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'> rule 1 /^</span><span
style='font-size:11.0pt;color:black'>8529x70/ /100/</span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:black'> rule 2 /^8529x88/ /100/</span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:black'> rule 3 /^8529x71/ /some fax
number/</span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:black'>……</span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:black'>….</span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:black'>…</span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:black'>…</span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:black'>..</span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'>voice translation-rule 2</span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'> rule 1 /^100/ /8529x70/</span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'> rule 2 /^\(.*\)/
/8529\1/</span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'>voice translation-profile
my-profile</span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'> translate calling 2</span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'> translate called 1</span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'>As you can see, you're going to
keep creating these rules. The rules are called from voice
translation-profiles which are applied to the dial-peer(s) going to and from
the PSTN. In a simplified configuration, you could use a single dial-peer
to perform the translation in either direction. </span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'>-ryan </span><o:p></o:p></p>
<p><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p><b><span style='font-size:10.0pt'>From:</span></b><span style='font-size:
10.0pt'> <a href="mailto:cisco-voip-bounces@puck.nether.net" target="_blank">cisco-voip-bounces@puck.nether.net</a>
[mailto:<a href="mailto:cisco-voip-bounces@puck.nether.net" target="_blank">cisco-voip-bounces@puck.nether.net</a>]
<b>On Behalf Of </b>Mark Mclean<br>
<b>Sent:</b> Monday, April 21, 2008 7:38 AM<br>
<b>To:</b> <a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br>
<b>Subject:</b> [cisco-voip] CCM Express Ext. to PSTN and PSTN to Ext.</span><o:p></o:p></p>
</div>
<div>
<div>
<p> <o:p></o:p></p>
<div>
<p><span style='font-size:11.0pt;color:black'>Dear All, </span><o:p></o:p></p>
</div>
<div>
<p> <o:p></o:p></p>
</div>
<div>
<p><span style='font-size:11.0pt;color:black'>I have a Cisco Router acting as
Call Manager Express, I am new to the Cisco voice solutions and I would like to
acheive the following (my current configuration included below)</span><o:p></o:p></p>
</div>
<div>
<p> <o:p></o:p></p>
</div>
<div>
<p><span style='font-size:11.0pt;color:black'>The PSTN trunk telephone
number range is 8529xx70 to 8529xx99 (30 numbers) and the provider
only sends 7 digits as DNIS.</span><o:p></o:p></p>
</div>
<div>
<p> <o:p></o:p></p>
</div>
<div>
<ul type=disc>
<li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
mso-list:l3 level1 lfo1'><span style='font-size:11.0pt;color:black'>Internal
Ext. should be able to call each other</span><o:p></o:p></li>
</ul>
</div>
<div>
<ul type=disc>
<li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
mso-list:l2 level1 lfo2'><span style='font-size:11.0pt;color:black'>There
will be direct numbers where 8529xx70 will be routed to extension 100, and
8529xx88 to extension 100 as well, </span><o:p></o:p></li>
</ul>
</div>
<div>
<ul type=disc>
<li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
mso-list:l1 level1 lfo3'><span style='font-size:11.0pt;color:black'>The
following number 8529xx71 to be routed to a FAX </span><o:p></o:p></li>
</ul>
</div>
<div>
<ul type=disc>
<li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
mso-list:l0 level1 lfo4'><span style='font-size:11.0pt;color:black'>Plus
each one will have one or more direct numbers from the range above</span><o:p></o:p></li>
</ul>
</div>
<div>
<p><span style='font-size:11.0pt;color:black'>One more questions I want to
ask, How to make it possible to place a caller ID that will depend on the
party who initiate the call? For example when extension 177 dial out using the
PSTN trunk the prime number "8529xx70" will be sent, what i want
to do is if extension 107 dial out to the PSTN the caller ID will be sent
as 8529xx77.</span><o:p></o:p></p>
</div>
<div>
<p> <o:p></o:p></p>
</div>
<div>
<p><span style='font-size:11.0pt;color:black'>Note: The current configurations
inculded below...</span><o:p></o:p></p>
</div>
<div>
<p><span style='font-size:11.0pt;color:black'>Apprecieate you quick replies!</span><o:p></o:p></p>
</div>
<div>
<p><span style='font-size:11.0pt;color:black'>Thanks,</span><o:p></o:p></p>
</div>
<div>
<p><span style='font-size:11.0pt;color:black'>Mark</span><o:p></o:p></p>
</div>
<div>
<p><span style='font-size:11.0pt;color:#1F497D'>---------------------------------------------------------------------------------</span><o:p></o:p></p>
</div>
<div>
<p><span style='font-size:11.0pt;color:#1F497D'>!<br>
version 12.4<br>
service timestamps debug datetime msec localtime<br>
service timestamps log datetime msec localtime<br>
service password-encryption<br>
!<br>
hostname CallManagerExpress<br>
!<br>
boot-start-marker<br>
boot-end-marker<br>
!<br>
logging buffered 16000 debugging<br>
!<br>
aaa new-model<br>
!<br>
!<br>
aaa authentication banner ^CC<br>
Unauthorized access is not allowed</span><o:p></o:p></p>
</div>
<div>
<p><span style='font-size:11.0pt;color:#1F497D'>aaa authentication login
default local<br>
aaa authentication enable default none<br>
aaa authorization exec default local <br>
aaa authorization network default local <br>
!<br>
aaa session-id common<br>
!<br>
resource policy<br>
!<br>
clock timezone EST 1<br>
clock summer-time EST recurring last Sun Mar 2:00 last Sun Oct 3:00<br>
no network-clock-participate wic 3 <br>
ip subnet-zero<br>
!<br>
!<br>
ip cef<br>
no ip dhcp use vrf connected<br>
ip dhcp excluded-address <a href="http://192.168.45.1/" target="_blank">192.168.45.1</a>
<a href="http://192.168.45.4/" target="_blank">192.168.45.4</a><br>
!<br>
ip dhcp pool ip-voice-HK<br>
network <a href="http://192.168.45.0/" target="_blank">192.168.45.0</a>
<a href="http://255.255.255.0/" target="_blank">255.255.255.0</a><br>
default-router <a href="http://192.168.45.1/" target="_blank">192.168.45.1</a>
<br>
option 150 ip <a href="http://192.168.45.1/" target="_blank">192.168.45.1</a>
<br>
domain-name <a href="http://yourdomain.com/" target="_blank">yourdomain.com</a><br>
!<br>
!<br>
ip tftp source-interface Loopback2<br>
ip domain name <a href="http://yourdomain.com/" target="_blank">yourdomain.com</a><br>
ip dhcp-server <a href="http://192.168.45.1/" target="_blank">192.168.45.1</a><br>
isdn switch-type primary-net5<br>
!<br>
!<br>
trunk group bri<br>
!<br>
!<br>
trunk group 1<br>
!<br>
voice-card 0<br>
no dspfarm<br>
!<br>
!<br>
voice call convert-discpi-to-prog<br>
!<br>
voice service voip <br>
h323<br>
h245 caps mode restricted<br>
!<br>
!<br>
voice class codec 1<br>
codec preference 1 g711alaw<br>
codec preference 2 g729r8<br>
codec preference 3 g711ulaw<br>
codec preference 4 g723ar63<br>
!<br>
!<br>
!<br>
voice class h323 1<br>
call start slow<br>
!<br>
!<br>
!<br>
crypto pki trustpoint TP-self-signed-84563672238598<br>
enrollment selfsigned<br>
subject-name cn=IOS-Self-Signed-Certificate-84563672238598<br>
revocation-check none<br>
rsakeypair TP-self-signed-84563672238598<br>
!<br>
!<br>
crypto pki certificate chain TP-self-signed-84563672238598<br>
certificate self-signed 01<br>
!<br>
!<br>
controller E1 0/3/0<br>
pri-group timeslots 1-31<br>
framing NO-CRC4 <br>
!<br>
!<br>
interface Loopback2<br>
no ip address<br>
!<br>
interface GigabitEthernet0/0<br>
description Voice<br>
no ip address<br>
duplex auto<br>
speed auto<br>
h323-gateway voip interface<br>
!<br>
interface GigabitEthernet0/0.44<br>
encapsulation dot1Q 44<br>
ip address <a href="http://192.168.45.1/" target="_blank">192.168.45.1</a> <a
href="http://255.255.255.0/" target="_blank">255.255.255.0</a><br>
no snmp trap link-status<br>
!<br>
interface GigabitEthernet0/1<br>
description Data<br>
ip address <a href="http://192.168.40.4/" target="_blank">192.168.40.4</a>
<a href="http://255.255.255.0/" target="_blank">255.255.255.0</a><br>
duplex auto<br>
speed auto<br>
!<br>
ip default-gateway <a href="http://192.168.40.1/" target="_blank">192.168.40.1</a><br>
ip classless<br>
ip route <a href="http://0.0.0.0/" target="_blank">0.0.0.0</a> <a
href="http://0.0.0.0/" target="_blank">0.0.0.0</a> <a
href="http://192.168.40.1/" target="_blank">192.168.40.1</a><br>
!<br>
!<br>
ip http server<br>
ip http access-class 23<br>
ip http authentication local<br>
ip http secure-server<br>
ip http timeout-policy idle 60 life 86400 requests 10000<br>
ip http path flash:<br>
!<br>
access-list 23 permit <a href="http://192.168.10.0/" target="_blank">192.168.10.0</a>
<a href="http://0.0.0.7/" target="_blank">0.0.0.7</a><br>
access-list 23 permit <a href="http://192.168.45.0/" target="_blank">192.168.45.0</a>
<a href="http://0.0.0.7/" target="_blank">0.0.0.7</a><br>
access-list 23 permit <a href="http://192.168.45.0/" target="_blank">192.168.45.0</a>
<a href="http://0.0.0.255/" target="_blank">0.0.0.255</a><br>
no cdp log mismatch duplex<br>
!<br>
!<br>
tftp-server flash:ATA030100SCCP040211A.zup<br>
tftp-server flash:P00403020214.bin<br>
tftp-server flash:P00307020200.bin<br>
tftp-server flash:CP7912060000SCCP050124A.sbin<br>
tftp-server flash:P00305000600.bin<br>
tftp-server flash:P00305000600.sbn<br>
tftp-server flash:P00307020200.loads<br>
tftp-server flash:P00307020200.sb2<br>
tftp-server flash:P00307020200.sbn<br>
tftp-server flash:S00103020002.bin<br>
tftp-server flash:S00104000100.sbn<br>
tftp-server flash:CP7902060000SCCP050124A.sbin<br>
tftp-server flash:CP7905060000SCCP050124A.sbin<br>
tftp-server flash:CP7905060000SCCP050124A.zup<br>
tftp-server flash:P00303020214.bin<br>
!<br>
control-plane<br>
!<br>
!<br>
!<br>
telephony-service<br>
load 7935 P00503010100<br>
load 7960-7940 P00303020214<br>
load 7914 S00103020002<br>
load ATA ATA030101SCCP040610A.zup<br>
load 7912 CP7912010200SCCP031023A.sbin<br>
max-ephones 30<br>
max-dn 150<br>
ip source-address <a href="http://192.168.45.1/" target="_blank">192.168.45.1</a>
port 2000<br>
max-redirect 8<br>
system message HK CallManager Express<br>
url services <a href="http://192.168.45.4/cisco/services.asp"
target="_blank">http://192.168.45.4/cisco/services.asp</a><br>
url authentication <a href="http://192.168.40.4/Authenticate.asp"
target="_blank">http://192.168.40.4/Authenticate.asp</a><br>
network-locale CH<br>
time-format 24<br>
date-format dd-mm-yy<br>
create cnf-files version-stamp 7960 Nov 22 2006 11:57:52<br>
dialplan-pattern 1 21850.. extension-length 2<br>
voicemail 9948<br>
max-conferences 4 gain -6<br>
call-forward pattern .T<br>
test test.wav<br>
web admin system name admin password XXXX<br>
dn-webedit <br>
time-webedit <br>
transfer-system full-consult<br>
transfer-pattern 7..<br>
secondary-dialtone 0<br>
!<br>
!<br>
ephone-dn 1 dual-line<br>
number 100<br>
label reception<br>
name reception<br>
!<br>
!<br>
ephone-dn 2 dual-line<br>
number 101<br>
label phone2<br>
name Desk2<br>
!<br>
!<br>
ephone-dn 3 dual-line<br>
number 102<br>
label phone3<br>
name Desk3<br>
!<br>
!<br>
ephone-dn 4 dual-line<br>
number 103<br>
label phone4<br>
name Desk4<br>
!<br>
!<br>
ephone-dn 5 dual-line<br>
number 104<br>
label phone5<br>
name Desk5<br>
!<br>
!<br>
ephone-dn 6 dual-line<br>
number 105<br>
label phone6<br>
name Desk6<br>
!<br>
!<br>
ephone-dn 7 dual-line<br>
number 106<br>
label phone7<br>
name Desk7<br>
!<br>
!<br>
!<br>
!<br>
ephone 1<br>
mac-address 001A.6D27.6B91<br>
type 7960<br>
button 1:1<br>
!<br>
!<br>
!<br>
ephone 2<br>
mac-address 0004.F2E2.08CA<br>
type 7936<br>
button 1:2<br>
!<br>
!<br>
!<br>
ephone 3<br>
mac-address 001B.0C18.DA91<br>
type 7940<br>
button 1:3<br>
!<br>
!<br>
!<br>
ephone 4<br>
mac-address 001B.0C18.AC97<br>
type 7940<br>
button 1:4<br>
!<br>
!<br>
!<br>
ephone 5<br>
mac-address 0019.30D4.AC14<br>
type 7940<br>
button 1:5<br>
!<br>
!<br>
!<br>
ephone 6<br>
mac-address 001B.0C18.C967<br>
type 7940<br>
button 1:6<br>
!<br>
!<br>
!<br>
ephone 7<br>
mac-address 001B.0C18.B8FA<br>
type 7940<br>
button 1:7<br>
!<br>
!<br>
!<br>
scheduler allocate 20000 1000<br>
ntp clock-period 17208075<br>
ntp server <a href="http://192.168.40.1/" target="_blank">192.168.40.1</a><br>
ntp server <a href="http://192.168.40.254/" target="_blank">192.168.40.254</a><br>
!<br>
end<br>
!</span><o:p></o:p></p>
</div>
<div>
<p><span style='font-size:11.0pt;color:#1F497D'>---------------------------------------------------------------------------------</span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p> <o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
<p> <o:p></o:p></p>
</div>
</div>
</div>
<p> <o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
<p> <o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
<p> <o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>