[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Creating modem chat script



Perhaps a generic chat script should do just fine for you; take a look at
this:

chat-script REMDEVICE ABORT ERROR ABORT BUSY "" "ATZ" OK "ATDT \T" TIMEOUT
30 CONNECT \C

Just to give you an indication for some these parameters:

REMDEVICE will drop any connection if the modem declares a busy or error
condition. If this condition is not present, the router will wait for the
string "".

\T inserts a phone number from your dial string or dial map into the chat
script. Please watch the casing here, it's very important, as a \t will do
something else altogether - it will cause the script to look for a table
character. Please maintain the casing for the entire chat script as shown
above.

The router will then issue an ATZ [modem reset] command. The modem will then
respond OK to the ATZ command, which is normal. The router will then send
the ATDT command and replace \T with a phone number to call from your dial
string or dial map.

TIMEOUT means that the call is considered unanswered if no carrier is
detected within 30 seconds. Once a connection is established, the chat
script sends a \C, which is a carriage return <cr>.

Regards,

Mark Tinka - CCNA
Network Engineer
Africa Online Uganda
5th Floor, Commercial Plaza
7 Kampala Rd,
Tel:   +256-41-258143
Fax:   +256-41-258144
E-mail: mtinka at africaonline.co.ug
Web:     www.africaonline.co.ug


-----Original Message-----
From: owner-afnog at afnog.org [mailto:owner-afnog at afnog.org]On Behalf Of
Doudou THERA
Sent: Thursday, March 27, 2003 3:15 PM
To: afnog at afnog.org
Subject: Creating modem chat script


	Hi,
I am interested for creating multitech modem caht script under cisco IOS
v11 for customer dialings. I had an example script for init and reset a
US Robotics Courier modem like :

!
chat-script init-courier ABORT ERROR "" "AT&F1S40=6S0=1&W" OK "ATZ"
chat-script reset-courier ABORT ERROR "" "AT&F1S40=6S0=1&w" OK "ATZ"
!
The ISP received new multitech modems to extand dialing access. Can I
use the same chat scrit to initialize and reset these modems like the
USR Courier ?


Tanks for your answers, and have fun ...

--oo00oo--
Badiany Doudou THERA <Badiany-Doudou.THERA at auf.org>
Mobile : (223) 673 85 11; Toile : http://www.ml.refer.org |
http://www.auf.org BAMAKO Mali

-----
This is the afnog mailing list, managed by Majordomo 1.94.5

To send a message to this list, e-mail afnog at afnog.org
To send a request to majordomo, e-mail majordomo at afnog.org and put
your request in the body of the message (i.e use "help" for help)

This list is maintained by owner-afnog at afnog.org




-----
This is the afnog mailing list, managed by Majordomo 1.94.5

To send a message to this list, e-mail afnog at afnog.org
To send a request to majordomo, e-mail majordomo at afnog.org and put
your request in the body of the message (i.e use "help" for help)

This list is maintained by owner-afnog at afnog.org