<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Mark,<br><br>You'll need a translation pattern to send out the phone number to the LEC. You'll also need confirmation from the LEC that they're expecting n digits from you to show your CLID to called parties.<br><br>Paul<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Mark Mclean &lt;m.mclean08@gmail.com&gt;<br>To: cisco-voip@puck.nether.net<br>Sent: Monday, April 21, 2008 4:37:34 AM<br>Subject: [cisco-voip] CCM Express Ext. to PSTN and PSTN to Ext.<br><br><div class="EC_MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"><font color="#000000" face="arial,sans-serif">Dear All, </font></span></div>
<div class="EC_MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"><font color="#000000"></font></span>&nbsp;</div>
<div class="EC_MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"><font color="#000000" face="arial,sans-serif">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)</font></span></div>

<div class="EC_MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"><font color="#000000" face="arial,sans-serif"></font></span>&nbsp;</div>
<div class="EC_MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"></span><span style="font-size: 11pt; color: rgb(31, 73, 125);"><font color="#000000" face="arial,sans-serif">The PSTN trunk&nbsp;telephone number range is&nbsp;&nbsp;8529xx70 to 8529xx99 (30 numbers) and the provider only sends 7 digits as DNIS.</font></span></div>

<div class="EC_MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"><font color="#000000" face="arial,sans-serif"></font></span>&nbsp;</div>
<ul>
<li>
<div class="EC_MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"><font color="#000000" face="arial,sans-serif">Internal Ext. should be able to call each other</font></span></div>
</li>
<li>
<div class="EC_MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"><font color="#000000" face="arial,sans-serif">There will be direct numbers where 8529xx70 will be routed to extension 100, and 8529xx88 to extension 100 as well, </font></span></div>
</li>
<li>
<div class="EC_MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"><font color="#000000" face="arial,sans-serif">The following number 8529xx71&nbsp;to be routed to a FAX&nbsp;</font></span></div>
</li>
<li>
<div class="EC_MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"><font color="#000000" face="arial,sans-serif">Plus each one will have one or more direct numbers from the range above</font></span></div>
</li></ul>
<div class="EC_MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"><font color="#000000" face="arial,sans-serif">One more questions I want to ask,&nbsp;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&nbsp;"8529xx70" will be sent, what i want to do is if extension 107 dial out to the PSTN&nbsp;the caller ID will be sent as 8529xx77.</font></span></div>

<div class="EC_MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"><font color="#000000" face="arial,sans-serif"></font></span>&nbsp;</div>
<div class="EC_MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"><font color="#000000">Note: The current configurations inculded below...</font></span></div>
<div class="EC_MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"><font color="#000000" face="arial,sans-serif">Apprecieate you quick replies!</font></span></div>

<div class="EC_MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"><font color="#000000" face="arial,sans-serif">Thanks,</font></span></div>
<div class="EC_MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"><font color="#000000" face="arial,sans-serif">Mark</font></span></div>
<div class="EC_MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">---------------------------------------------------------------------------------</span></div>
<div class="EC_MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">!<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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Unauthorized access is not allowed</span></div>

<div class="EC_MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">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 rel="nofollow" target="_blank"  href="http://192.168.45.1">192.168.45.1</a> <a rel="nofollow" target="_blank"  href="http://192.168.45.4">192.168.45.4</a><br>!<br>ip dhcp pool ip-voice-HK<br>
&nbsp;&nbsp; network <a rel="nofollow" target="_blank"  href="http://192.168.45.0">192.168.45.0</a> <a rel="nofollow" target="_blank"  href="http://255.255.255.0">255.255.255.0</a><br>&nbsp;&nbsp; default-router <a rel="nofollow" target="_blank"  href="http://192.168.45.1">192.168.45.1</a> <br>&nbsp;&nbsp; option 150 ip <a rel="nofollow" target="_blank"  href="http://192.168.45.1">192.168.45.1</a> <br>
&nbsp;&nbsp; domain-name <a rel="nofollow" target="_blank" href="http://yourdomain.com">yourdomain.com</a><br>!<br>!<br>ip tftp source-interface Loopback2<br>ip domain name <a rel="nofollow" target="_blank" href="http://yourdomain.com">yourdomain.com</a><br>ip dhcp-server <a rel="nofollow" target="_blank"  href="http://192.168.45.1">192.168.45.1</a><br>
isdn switch-type primary-net5<br>!<br>!<br>trunk group&nbsp; bri<br>!<br>!<br>trunk group&nbsp; 1<br>!<br>voice-card 0<br>&nbsp;no dspfarm<br>!<br>!<br>voice call convert-discpi-to-prog<br>!<br>voice service voip <br>&nbsp;h323<br>&nbsp; h245 caps mode restricted<br>
!<br>!<br>voice class codec 1<br>&nbsp;codec preference 1 g711alaw<br>&nbsp;codec preference 2 g729r8<br>&nbsp;codec preference 3 g711ulaw<br>&nbsp;codec preference 4 g723ar63<br>!<br>!<br>!<br>voice class h323 1<br>&nbsp; call start slow<br>!<br>
!<br>!<br>crypto pki trustpoint TP-self-signed-84563672238598<br>&nbsp;enrollment selfsigned<br>&nbsp;subject-name cn=IOS-Self-Signed-Certificate-84563672238598<br>&nbsp;revocation-check none<br>rsakeypair TP-self-signed-84563672238598<br>
!<br>!<br>crypto pki certificate chain TP-self-signed-84563672238598<br>&nbsp;certificate self-signed 01<br>!<br>!<br>controller E1 0/3/0<br>pri-group timeslots 1-31<br>&nbsp;framing NO-CRC4 <br>!<br>!<br>interface Loopback2<br>&nbsp;no ip address<br>
!<br>interface GigabitEthernet0/0<br>&nbsp;description Voice<br>&nbsp;no ip address<br>&nbsp;duplex auto<br>&nbsp;speed auto<br>&nbsp;h323-gateway voip interface<br>!<br>interface GigabitEthernet0/0.44<br>&nbsp;encapsulation dot1Q 44<br>ip address <a rel="nofollow" target="_blank"  href="http://192.168.45.1">192.168.45.1</a> <a rel="nofollow" target="_blank"  href="http://255.255.255.0">255.255.255.0</a><br>
&nbsp;no snmp trap link-status<br>!<br>interface GigabitEthernet0/1<br>&nbsp;description Data<br>&nbsp;ip address <a rel="nofollow" target="_blank"  href="http://192.168.40.4">192.168.40.4</a> <a rel="nofollow" target="_blank"  href="http://255.255.255.0">255.255.255.0</a><br>&nbsp;duplex auto<br>&nbsp;speed auto<br>
!<br>ip default-gateway <a rel="nofollow" target="_blank"  href="http://192.168.40.1">192.168.40.1</a><br>ip classless<br>ip route <a rel="nofollow" target="_blank"  href="http://0.0.0.0">0.0.0.0</a> <a rel="nofollow" target="_blank"  href="http://0.0.0.0">0.0.0.0</a> <a rel="nofollow" target="_blank"  href="http://192.168.40.1">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 rel="nofollow" target="_blank"  href="http://192.168.10.0">192.168.10.0</a> <a rel="nofollow" target="_blank"  href="http://0.0.0.7">0.0.0.7</a><br>
access-list 23 permit <a rel="nofollow" target="_blank"  href="http://192.168.45.0">192.168.45.0</a> <a rel="nofollow" target="_blank"  href="http://0.0.0.7">0.0.0.7</a><br>access-list 23 permit <a rel="nofollow" target="_blank"  href="http://192.168.45.0">192.168.45.0</a> <a rel="nofollow" target="_blank"  href="http://0.0.0.255">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>&nbsp;load 7935 P00503010100<br>&nbsp;load 7960-7940 P00303020214<br>&nbsp;load 7914 S00103020002<br>&nbsp;load ATA ATA030101SCCP040610A.zup<br>&nbsp;load 7912 CP7912010200SCCP031023A.sbin<br>&nbsp;max-ephones 30<br>&nbsp;max-dn 150<br>
&nbsp;ip source-address <a rel="nofollow" target="_blank"  href="http://192.168.45.1">192.168.45.1</a> port 2000<br>&nbsp;max-redirect 8<br>&nbsp;system message HK CallManager Express<br>&nbsp;url services <a rel="nofollow" target="_blank"  href="http://192.168.45.4/cisco/services.asp">http://192.168.45.4/cisco/services.asp</a><br>
&nbsp;url authentication <a rel="nofollow" target="_blank"  href="http://192.168.40.4/Authenticate.asp">http://192.168.40.4/Authenticate.asp</a><br>&nbsp;network-locale CH<br>time-format 24<br>&nbsp;date-format dd-mm-yy<br>&nbsp;create cnf-files version-stamp 7960 Nov 22 2006 11:57:52<br>
&nbsp;dialplan-pattern 1 21850.. extension-length 2<br>&nbsp;voicemail 9948<br>&nbsp;max-conferences 4 gain -6<br>&nbsp;call-forward pattern .T<br>&nbsp;test test.wav<br>&nbsp;web admin system name admin password XXXX<br>&nbsp;dn-webedit <br>&nbsp;time-webedit <br>
&nbsp;transfer-system full-consult<br>&nbsp;transfer-pattern 7..<br>&nbsp;secondary-dialtone 0<br>!<br>!<br>ephone-dn&nbsp; 1&nbsp; dual-line<br>&nbsp;number 100<br>&nbsp;label reception<br>&nbsp;name reception<br>!<br>!<br>ephone-dn&nbsp; 2&nbsp; dual-line<br>number 101<br>
&nbsp;label phone2<br>&nbsp;name Desk2<br>!<br>!<br>ephone-dn&nbsp; 3&nbsp; dual-line<br>&nbsp;number 102<br>&nbsp;label phone3<br>&nbsp;name Desk3<br>!<br>!<br>ephone-dn&nbsp; 4&nbsp; dual-line<br>&nbsp;number 103<br>&nbsp;label phone4<br>&nbsp;name Desk4<br>!<br>!<br>ephone-dn&nbsp; 5&nbsp; dual-line<br>
&nbsp;number 104<br>&nbsp;label phone5<br>&nbsp;name Desk5<br>!<br>!<br>ephone-dn&nbsp; 6&nbsp; dual-line<br>&nbsp;number 105<br>&nbsp;label phone6<br>&nbsp;name Desk6<br>!<br>!<br>ephone-dn&nbsp; 7&nbsp; dual-line<br>&nbsp;number 106<br>&nbsp;label phone7<br>&nbsp;name Desk7<br>!<br>!<br>
!<br>!<br>ephone&nbsp; 1<br>&nbsp;mac-address 001A.6D27.6B91<br>&nbsp;type 7960<br>&nbsp;button&nbsp; 1:1<br>!<br>!<br>!<br>ephone&nbsp; 2<br>mac-address 0004.F2E2.08CA<br>&nbsp;type 7936<br>&nbsp;button&nbsp; 1:2<br>!<br>!<br>!<br>ephone&nbsp; 3<br>&nbsp;mac-address 001B.0C18.DA91<br>
&nbsp;type 7940<br>&nbsp;button&nbsp; 1:3<br>!<br>!<br>!<br>ephone&nbsp; 4<br>&nbsp;mac-address 001B.0C18.AC97<br>&nbsp;type 7940<br>&nbsp;button&nbsp; 1:4<br>!<br>!<br>!<br>ephone&nbsp; 5<br>&nbsp;mac-address 0019.30D4.AC14<br>&nbsp;type 7940<br>button&nbsp; 1:5<br>!<br>!<br>!<br>
ephone&nbsp; 6<br>&nbsp;mac-address 001B.0C18.C967<br>&nbsp;type 7940<br>&nbsp;button&nbsp; 1:6<br>!<br>!<br>!<br>ephone&nbsp; 7<br>&nbsp;mac-address 001B.0C18.B8FA<br>&nbsp;type 7940<br>&nbsp;button&nbsp; 1:7<br>!<br>!<br>!<br>scheduler allocate 20000 1000<br>ntp clock-period 17208075<br>
ntp server <a rel="nofollow" target="_blank"  href="http://192.168.40.1">192.168.40.1</a><br>ntp server <a rel="nofollow" target="_blank"  href="http://192.168.40.254">192.168.40.254</a><br>!<br>end<br>!</span></div>
<div class="EC_MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"></span><span style="font-size: 11pt; color: rgb(31, 73, 125);">---------------------------------------------------------------------------------</span></div>

<p class="EC_MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"></span></p>
</div><br></div></div><br>



      <hr size=1>Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile. <a href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ "> Try it now.</a></body></html>