The configuration below is confirmed to be working to dialup from a computer with an analog modem via the Cisco 2691 to the Cisco AS5300, and being able to get online to the Internet.
Cisco AS5300 with:
as5300-01#show ver Cisco Internetwork Operating System Software IOS (tm) 5300 Software (C5300-IS-M), Version 12.2(6i), RELEASE SOFTWARE (fc1) Copyright (c) 1986-2002 by cisco Systems, Inc. Compiled Thu 05-Dec-02 15:00 by pwade Image text-base: 0x600089B0, data-base: 0x60F12000 ROM: System Bootstrap, Version 12.0(2)XD1, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1) BOOTLDR: 5300 Software (C5300-BOOT-M), Version 12.0(4)T1, RELEASE SOFTWARE (fc1) as5300-01 uptime is 2 weeks, 4 days, 20 hours, 13 minutes System returned to ROM by reload at 21:10:15 UTC Mon Jul 22 2024 System restarted at 21:11:01 UTC Mon Jul 22 2024 System image file is "flash:c5300-is-mz.122-6i.bin" cisco AS5300 (R4K) processor (revision A.32) with 131072K/16384K bytes of memory. Processor board ID 25487350 R4700 CPU at 150Mhz, Implementation 33, Rev 1.0, 512KB L2 Cache Channelized E1, Version 1.0. Bridging software. X.25 software, Version 3.0.0. SuperLAT software (copyright 1990 by Meridian Technology Corp). Primary Rate ISDN software, Version 1.1. Backplane revision 2 Manufacture Cookie Info: EEPROM Type 0x0001, EEPROM Version 0x01, Board ID 0x30, Board Hardware Version 3.2, Item Number 800-2544-04, Board Revision C0, Serial Number 25487350, PLD/ISP Version 0.0, Manufacture Date 26-Jul-2001. 1 Ethernet/IEEE 802.3 interface(s) 1 FastEthernet/IEEE 802.3 interface(s) 4 Serial network interface(s) 240 terminal line(s) 8 Channelized E1/PRI port(s) 128K bytes of non-volatile configuration memory. 16384K bytes of processor board System flash (Read/Write) 8192K bytes of processor board Boot flash (Read/Write) Configuration register is 0x2102
Cisco 2691 router with:
c2691-01#show ver Cisco IOS Software, 2600 Software (C2691-SPSERVICESK9-M), Version 12.3(11)T3, RELEASE SOFTWARE (fc4) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2005 by Cisco Systems, Inc. Compiled Wed 26-Jan-05 12:56 by pwade ROM: System Bootstrap, Version 12.2(8r)T2, RELEASE SOFTWARE (fc1) c2691-01 uptime is 1 day, 1 hour, 56 minutes System returned to ROM by power-on System restarted at 15:40:48 UTC Fri Aug 9 2024 System image file is "slot0:c2691-spservicesk9-mz.123-11.T3.bin" This product contains cryptographic features and is subject to United States and local country laws governing import, export, transfer and use. Delivery of Cisco cryptographic products does not imply third-party authority to import, export, distribute or use encryption. Importers, exporters, distributors and users are responsible for compliance with U.S. and local country laws. By using this product you agree to comply with applicable laws and regulations. If you are unable to comply with U.S. and local laws, return this product immediately. A summary of U.S. laws governing Cisco cryptographic products may be found at: http://www.cisco.com/wwl/export/crypto/tool/stqrg.html If you require further assistance please contact us by sending email to export@cisco.com. Cisco 2691 (R7000) processor (revision 0.1) with 246784K/15360K bytes of memory. Processor board ID JHY0919K1W4 R7000 CPU at 160MHz, Implementation 39, Rev 3.3, 256KB L2 Cache 2 FastEthernet interfaces 1 Channelized E1/PRI port 1 ATM AIM 4 Voice FXS interfaces DRAM configuration is 64 bits wide with parity disabled. 55K bytes of NVRAM. 31360K bytes of ATA System CompactFlash (Read/Write) 62976K bytes of ATA Slot0 CompactFlash (Read/Write) Configuration register is 0x2102
From | To | Cable used |
---|---|---|
AS5300 controller E1 port 1 (the second port) | Cisco 2691 VWIC-1MFT-E1 | T1 crossover cable |
Analog modem | One of the VIC-2FXS ports. | Standard RJ11 phone line cable. |
The Cisco 2691 is connected to Controller E1 1 with a T1 crossover cable.
Another AS5300 is connected with Controller E1 0 to this AS5300 Controller E1 0 with a T1 crossover cable.
! ! Last configuration change at 16:27:31 UTC Sat Aug 10 2024 by admin ! NVRAM config last updated at 16:27:52 UTC Sat Aug 10 2024 by admin ! version 12.2 service timestamps debug datetime msec localtime show-timezone service timestamps log datetime msec localtime show-timezone service password-encryption ! hostname as5300-01 ! boot system flash:c5300-is-mz.122-6i.bin aaa new-model aaa authentication login default local aaa authentication ppp default if-needed local enable secret 5 SECRETPASSWORD ! username as5300-02 password 7 SECRETPASSWORD username admin password 7 SECRETPASSWORD username airport password 7 SECRETPASSWORD username imacg3 password 7 SECRETPASSWORD spe 1/0 2/4 firmware location flash:/mica-modem-pw.2.7.4.0.bin spe 2/5 2/9 firmware location system:/ucode/mica_port_firmware ! ! resource-pool disable ! call rsvp-sync ip subnet-zero no ip domain-lookup ! isdn switch-type primary-net5 chat-script async ABORT ERROR ABORT BUSY "" "ATZ" OK "ATDT \T" TIMEOUT 30 CONNECT \c ! ! ! ! ! fax interface-type modem mta receive maximum-recipients 0 ! controller E1 0 ds0-group 0 timeslots 1-15,17-31 type r2-digital ! controller E1 1 clock source line secondary 1 ds0-group 0 timeslots 1-15,17-31 type r2-digital r2-compelled ! controller E1 2 clock source line secondary 2 ! controller E1 3 clock source line secondary 3 ! controller E1 4 clock source line secondary 4 ! controller E1 5 clock source line secondary 5 ! controller E1 6 clock source line secondary 6 ! controller E1 7 clock source line secondary 7 ! ! ! interface Loopback0 ip address 10.1.2.254 255.255.255.0 ! interface Ethernet0 no ip address shutdown ! interface Serial0 no ip address shutdown no fair-queue clockrate 2015232 ! interface Serial1 no ip address shutdown no fair-queue clockrate 2015232 ! interface Serial2 no ip address shutdown no fair-queue clockrate 2015232 ! interface Serial3 no ip address shutdown no fair-queue clockrate 2015232 ! interface FastEthernet0 ip address 172.24.244.44 255.255.255.0 duplex auto speed auto no cdp enable ! interface Group-Async1 ip unnumbered Loopback0 encapsulation ppp dialer in-band dialer idle-timeout 3600 dialer-group 1 async mode dedicated peer default ip address pool dialin_pool ppp authentication chap pap ppp direction callin ppp ipcp dns 172.24.237.251 group-range 1 240 ! ip local pool dialin_pool 10.1.2.1 10.1.2.50 ip classless ip route 0.0.0.0 0.0.0.0 172.24.244.254 no ip http server ip pim bidir-enable ! dialer-list 1 protocol ip permit ! ! ! line con 0 line 1 240 modem InOut transport preferred none transport input all transport output lat pad telnet rlogin udptn v120 lapb-ta autoselect during-login autoselect ppp line aux 0 line vty 0 4 exec-timeout 0 0 password 7 104D000A0618 ! ntp server 172.24.244.251 end
“dial-peer voice 1 pots” is confirmed working for dialup *AND* PPP login.
! ! Last configuration change at 17:14:54 UTC Sat Aug 10 2024 by admin ! NVRAM config last updated at 17:15:01 UTC Sat Aug 10 2024 by admin ! version 12.3 service timestamps debug datetime msec service timestamps log datetime msec service password-encryption ! hostname c2691-01 ! boot-start-marker boot-end-marker ! enable secret 5 SECRETPASSWORD ! username admin password 7 SECRETPASSWORD network-clock-participate wic 2 no network-clock-participate aim 1 voice-card 3 dspfarm ! no aaa new-model ip subnet-zero ip cef ! ! ! ! ip domain name de12werken.nl ip ssh version 2 no ftp-server write-enable ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! controller E1 0/0 clock source internal ds0-group 0 timeslots 1-15,17-31 type r2-digital r2-compelled ! ! ! interface FastEthernet0/0 ip address 172.24.244.46 255.255.255.0 duplex auto speed auto no cdp enable ! interface FastEthernet0/1 no ip address shutdown duplex auto speed auto ! ip classless ! ! no ip http server no ip http secure-server ! ! ! ! control-plane ! ! ! voice-port 0/0:0 ! voice-port 1/0/0 ! voice-port 1/0/1 ! voice-port 1/1/0 ! voice-port 1/1/1 ! ! ! ! dial-peer voice 1 pots destination-pattern 0 incoming called-number 0 no digit-strip direct-inward-dial port 0/0:0 ! ! ! line con 0 exec-timeout 0 0 line aux 0 line vty 0 4 exec-timeout 0 0 password 7 00071A150754 login local ! ! end
Working ppp.conf for OpenBSD/i386 4.7 on an old Compaq Armada laptop.
A US Robotics Sportster FLASH external modem is connected to COM1 on the Armada laptop.
default: set log Phase Chat LCP IPCP CCP tun command set device /dev/cua00 set speed 115200 set ctsrts off set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" as5300: set phone 0 set login set authname imacg3 set authkey SECRETPASSWORD set timeout 0 set ifaddr 10.0.0.1/0 10.0.0.2/0 0.0.0.0 0.0.0.0 # set log local Phase Chat LCP IPCP CCP add default HISADDR enable dns
Running Mac OS 9.2 Dutch version.
Modem was set to “Apple interne 56K-modem (v.90)”, but had to be set to “Apple interne 56K-modem (v.34)” to make it work.
The DNS server needs to be set manually on the iMac.
The PPP client in Mac OS 9.2 does not seem to support getting that from the AS5300 via PPP.
Limited to the modem lines (tty):
show users | include tty
as5300-01# show users | include tty 181 tty 181 imacg3 Async interface 00:16:32 PPP: 10.1.2.2
show line summary
Example output with modem 181 on an active dialup call:
as5300-01#show line summary 0: ???? ???? ???? ???? ???? ???? ???? ???? ???? 36: ???? ???? ???? ???? ???? ???? ???? ???? ???? 72: ???? ???? ???? ???? ???? ???? ???? ???? ???? 108: ???? ???? ???? ???? ???? ???? ???? ?--- ???- 144: -??? ???? ???? ??-- -?-? -??- ?--- ---- ---- 180: -A?? ???? ???? ?MMM MMMM MMMM M??? ???? ???? 216: ???? ???? ???? ???? ???? ???? ??UU U-- 1 packet mode users. (A) 3 character mode users. (U) 12 lines in use by modem managment (M) 206 lines never used (?) 4 total lines in use, 0 not authenticated (lowercase)
show line LINENUMBER
Example of active line 181:
as5300-01#show line 181 Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int A 181 TTY - inout - - - 1 0 0/0 - Ready Line 181, Location: "PPP: 10.1.2.2", Type: "" Length: 24 lines, Width: 80 columns Status: Ready, Active, No Exit Banner, Async Interface Active HW PPP Support Active, CTS Raised Capabilities: Hardware Flowcontrol In, Hardware Flowcontrol Out Modem Callout, Modem RI is CD, Line is permanent async interface Integrated Modem Modem state: Ready modem(slot/port)=2/60, state=CONNECTED dsx1(slot/unit/channel)=0/1/2, status=VDEV_STATUS_ACTIVE_CALL.VDEV_STATUS_ALLOCATED.VDEV_STATUS_NEGOTIATED. Modem hardware state: CTS DSR DTR RTS Group codes: 0 Line is running PPP for address 10.1.2.2. 0 output packets queued, 1 input packets. Async Escape map is 00000000000000000000000000000000 Special Chars: Escape Hold Stop Start Disconnect Activation ^^x none - - none Timeouts: Idle EXEC Idle Session Modem Answer Session Dispatch 00:10:00 never none not set Idle Session Disconnect Warning never Login-sequence User Response 00:00:30 Autoselect Initial Wait not set Modem type is unknown. Session limit is not set. Time since activation: 00:44:29 Editing is enabled. History is enabled, history size is 10. DNS resolution in show commands is enabled Full user help is disabled Allowed input transports are lat pad telnet rlogin udptn v120 lapb-ta. Allowed output transports are lat pad telnet rlogin udptn v120 lapb-ta. Preferred transport is none. No output characters are padded No special data dispatching characters
show async status
Example output (shortened) with modem 181 on an active dialup call:
as5300-01#show async status Async protocol statistics: Int Local Remote Qd InPack OutPac Inerr Drops MTU 1 10.1.2.254 None 0 0 10 0 0 1500 2 10.1.2.254 None 0 0 10 0 0 1500 3 10.1.2.254 None 0 0 10 0 0 1500 4 10.1.2.254 None 0 0 10 0 0 1500 5 10.1.2.254 None 0 0 10 0 0 1500 6 10.1.2.254 None 0 0 10 0 0 1500 7 10.1.2.254 None 0 0 10 0 0 1500 8 10.1.2.254 None 0 0 10 0 0 1500 9 10.1.2.254 None 0 0 10 0 0 1500 10 10.1.2.254 None 0 0 10 0 0 1500 11 10.1.2.254 None 0 0 10 0 0 1500 12 10.1.2.254 None 0 0 10 0 0 1500 13 10.1.2.254 None 0 0 10 0 0 1500 14 10.1.2.254 None 0 0 10 0 0 1500 15 10.1.2.254 None 0 0 10 0 0 1500 16 10.1.2.254 None 0 0 10 0 0 1500 17 10.1.2.254 None 0 0 10 0 0 1500 18 10.1.2.254 None 0 0 10 0 0 1500 19 10.1.2.254 None 0 0 10 0 0 1500 20 10.1.2.254 None 0 0 10 0 0 1500 21 10.1.2.254 None 0 0 10 0 0 1500 (...) 157 10.1.2.254 None 0 0 20 0 0 1500 158 10.1.2.254 None 0 34 47 0 0 1500 159 10.1.2.254 None 0 29 19 0 0 1500 160 10.1.2.254 None 0 79 90 0 0 1500 161 10.1.2.254 None 0 0 10 0 0 1500 162 10.1.2.254 None 0 1304 1314 0 0 1500 163 10.1.2.254 None 0 0 10 0 0 1500 164 10.1.2.254 None 0 23 34 0 0 1500 165 10.1.2.254 None 0 0 10 0 0 1500 166 10.1.2.254 None 0 0 10 0 0 1500 167 10.1.2.254 None 0 149 161 0 0 1500 168 10.1.2.254 None 0 0 10 0 0 1500 169 10.1.2.254 None 0 22 33 0 0 1500 170 10.1.2.254 None 0 330 349 0 0 1500 171 10.1.2.254 None 0 3068 2999 0 0 1500 172 10.1.2.254 None 0 91 19 0 0 1500 173 10.1.2.254 None 0 604 538 0 0 1500 174 10.1.2.254 None 0 7929 7901 0 0 1500 175 10.1.2.254 None 0 87 99 0 0 1500 176 10.1.2.254 None 0 62 73 0 0 1500 177 10.1.2.254 None 0 1003 1200 0 0 1500 178 10.1.2.254 None 0 42 51 0 0 1500 179 10.1.2.254 None 0 29 39 0 0 1500 180 10.1.2.254 None 0 41 46 0 0 1500 * 181 10.1.2.254 10.1.2.2 54 19842 24068 0 1295 1500 182 10.1.2.254 None 0 0 10 0 0 1500 183 10.1.2.254 None 0 0 10 0 0 1500 184 10.1.2.254 None 0 0 10 0 0 1500 185 10.1.2.254 None 0 0 10 0 0 1500 Int Local Remote Qd InPack OutPac Inerr Drops MTU 186 10.1.2.254 None 0 0 10 0 0 1500 187 10.1.2.254 None 0 0 10 0 0 1500 188 10.1.2.254 None 0 0 10 0 0 1500 189 10.1.2.254 None 0 0 10 0 0 1500 190 10.1.2.254 None 0 0 10 0 0 1500 191 10.1.2.254 None 0 0 10 0 0 1500 192 10.1.2.254 None 0 0 10 0 0 1500 193 10.1.2.254 None 0 0 10 0 0 1500 194 10.1.2.254 None 0 0 10 0 0 1500 (...) 230 10.1.2.254 None 0 0 10 0 0 1500 231 10.1.2.254 None 0 0 10 0 0 1500 232 10.1.2.254 None 0 0 10 0 0 1500 Int Local Remote Qd InPack OutPac Inerr Drops MTU 233 10.1.2.254 None 0 0 10 0 0 1500 234 10.1.2.254 None 0 0 10 0 0 1500 235 10.1.2.254 None 0 0 10 0 0 1500 236 10.1.2.254 None 0 0 10 0 0 1500 237 10.1.2.254 None 0 0 10 0 0 1500 238 10.1.2.254 None 0 0 10 0 0 1500 239 10.1.2.254 None 0 0 10 0 0 1500 240 10.1.2.254 None 0 0 10 0 0 1500 Rcvd: 34935 packets, 6477950 bytes 0 format errors, 0 checksum errors, 0 overrun Sent: 41534 packets, 7422738 bytes, 1295 dropped
show dialer interface Async LINENUMBER
Example of inactive (180) and active (181) async interface:
as5300-01#show dialer interface Async 180 As180 - dialer type = IN-BAND ASYNC NO-PARITY Idle timer (3600 secs), Fast idle timer (20 secs) Wait for carrier (30 secs), Re-enable (15 secs) Dialer state is idle Dial String Successes Failures Last DNIS Last status As181 - dialer type = IN-BAND ASYNC NO-PARITY Idle timer (3600 secs), Fast idle timer (20 secs) Wait for carrier (30 secs), Re-enable (15 secs) Dialer state is data link layer up Time until disconnect 2497 secs (imacg3) Dial String Successes Failures Last DNIS Last status
as5300-01#show modem connect-speeds ? <12000-64000> Max baud connect speed to display to | Output modifiers <cr>
Using only:
show modem connect-speeds
Will only show speeds from 75 to 12000 bps:
Codes: * - Modem has an active call C - Call in setup T - Back-to-Back test in progress R - Modem is being Reset p - Download request is pending and modem cannot be used for taking calls D - Download in progress B - Modem is marked bad and cannot be used for taking calls b - Modem is either busied out or shut-down d - DSP software download is required for achieving K56flex connections ! - Upgrade request is pending transmit connect speeds Mdm 75 300 600 1200 2400 4800 7200 9600 12000 TotCnt 1/0 0 0 0 0 0 0 0 0 0 0 1/1 0 0 0 0 0 0 0 0 0 0 1/2 0 0 0 0 0 0 0 0 0 0 1/3 0 0 0 0 0 0 0 0 0 0 1/4 0 0 0 0 0 0 0 0 0 0 1/5 0 0 0 0 0 0 0 0 0 0
To show more speeds define the maximum speed to show:
show modem connect-speeds 64000
Codes: * - Modem has an active call C - Call in setup T - Back-to-Back test in progress R - Modem is being Reset p - Download request is pending and modem cannot be used for taking calls D - Download in progress B - Modem is marked bad and cannot be used for taking calls b - Modem is either busied out or shut-down d - DSP software download is required for achieving K56flex connections ! - Upgrade request is pending transmit connect speeds Mdm 50666 52000 53333 54000 54666 56000 58000 60000 64000 TotCnt 1/0 0 0 0 0 0 0 0 0 0 0 1/1 0 0 0 0 0 0 0 0 0 0 1/2 0 0 0 0 0 0 0 0 0 0 1/3 0 0 0 0 0 0 0 0 0 0 1/4 0 0 0 0 0 0 0 0 0 0
Example of active line 181, which is slot 2 modem 60, with results limited to speeds of 29000 bps and below and slot 2 modems (shortened):
as5300-01#show modem connect-speeds 29000 2 Codes: * - Modem has an active call C - Call in setup T - Back-to-Back test in progress R - Modem is being Reset p - Download request is pending and modem cannot be used for taking calls D - Download in progress B - Modem is marked bad and cannot be used for taking calls b - Modem is either busied out or shut-down d - DSP software download is required for achieving K56flex connections ! - Upgrade request is pending transmit connect speeds Mdm 14400 16800 19200 21600 24000 26400 28000 28800 29333 TotCnt 2/0 0 0 0 0 0 0 0 0 0 0 2/1 0 0 0 0 0 0 0 0 0 0 2/2 0 0 0 0 0 0 0 0 0 0 2/3 0 0 0 0 0 0 0 0 0 0 2/4 0 0 0 0 0 0 0 0 0 0 2/5 0 0 0 0 0 0 0 0 0 0 2/6 0 0 0 0 0 0 0 0 0 0 2/7 0 0 0 0 0 0 0 0 0 0 2/8 0 0 0 0 0 0 0 0 0 0 (...) 2/50 0 0 0 0 0 0 0 0 0 1 2/51 0 0 0 0 0 0 0 0 0 1 2/52 0 0 0 0 0 1 0 0 0 1 2/53 0 0 0 0 0 0 0 0 0 1 2/54 0 0 0 0 0 0 0 0 0 1 2/55 0 0 0 0 0 0 0 0 0 1 2/56 0 0 0 0 0 0 0 0 0 1 2/57 0 0 0 0 0 0 0 0 0 1 2/58 0 0 0 0 0 0 0 0 0 1 2/59 0 0 0 0 0 0 0 0 0 1 * 2/60 0 0 0 0 0 1 0 0 0 1 2/61 0 0 0 0 0 0 0 0 0 0 2/62 0 0 0 0 0 0 0 0 0 0 2/63 0 0 0 0 0 0 0 0 0 0 2/64 0 0 0 0 0 0 0 0 0 0 2/65 0 0 0 0 0 0 0 0 0 0 (...) 2/118 0 0 0 0 0 0 0 0 0 0 2/119 0 0 0 0 0 0 0 0 0 0 Tot 0 0 0 0 0 4 0 0 0 33 Tot % 0 0 0 0 0 12 0 0 0
With 2 dialup sessions active:
c2691-01#show voice port summary IN OUT PORT CH SIG-TYPE ADMIN OPER STATUS STATUS EC ========= == ============ ===== ==== ======== ======== == 0/0:0 01 r2-digital up dorm idle idle y 0/0:0 02 r2-digital up dorm idle idle y 0/0:0 03 r2-digital up dorm idle idle y 0/0:0 04 r2-digital up dorm idle idle y 0/0:0 05 r2-digital up dorm idle idle y 0/0:0 06 r2-digital up dorm idle idle y 0/0:0 07 r2-digital up dorm idle idle y 0/0:0 08 r2-digital up dorm idle idle y 0/0:0 09 r2-digital up dorm idle idle y 0/0:0 10 r2-digital up dorm idle idle y 0/0:0 11 r2-digital up dorm idle idle y 0/0:0 12 r2-digital up dorm idle idle y 0/0:0 13 r2-digital up dorm idle idle y 0/0:0 14 r2-digital up dorm idle idle y 0/0:0 15 r2-digital up dorm idle idle y 0/0:0 17 r2-digital up dorm idle idle y 0/0:0 18 r2-digital up dorm idle idle y 0/0:0 19 r2-digital up dorm idle idle y 0/0:0 20 r2-digital up dorm idle idle y 0/0:0 21 r2-digital up dorm idle idle y 0/0:0 22 r2-digital up dorm idle idle y 0/0:0 23 r2-digital up dorm idle idle y 0/0:0 24 r2-digital up up answered idle y 0/0:0 25 r2-digital up up answered idle y 0/0:0 26 r2-digital up dorm idle idle y 0/0:0 27 r2-digital up dorm idle idle y 0/0:0 28 r2-digital up dorm idle idle y 0/0:0 29 r2-digital up dorm idle idle y 0/0:0 30 r2-digital up dorm idle idle y 0/0:0 31 r2-digital up dorm idle idle y 1/0/0 -- fxs-ls up up off-hook idle y 1/0/1 -- fxs-ls up up off-hook idle y 1/1/0 -- fxs-ls up dorm on-hook idle y 1/1/1 -- fxs-ls up dorm on-hook idle y
When you associate port 1/0/1 with a dial-peer like so:
dial-peer voice 10 pots destination-pattern 1234 incoming called-number 1234 direct-inward-dial port 1/0/1 !
Then port 1/0/1 will give a BUSY signal when trying to dialup from a modem attached to it.
Do not associate ports with a dial-peer that you wan't to use for modem dialup.