[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] ISDN Dialing Problem



I tried putting a "T" in the line ATD8418350. But that
did not help. I am sending the files for u to
evaluate.

Thanks
Pinku


MY CONNECTING SCRIPT:
#!/bin/sh
TELEPHONE=8418350	
ACCOUNT=linux@blr	
PASSWORD=linux	
LOCAL_IP=0.0.0.0	
Dynamic = 0.0.0.0
REMOTE_IP=0.0.0.0	
NETMASK=255.255.255.0	
export TELEPHONE ACCOUNT PASSWORD
DIALER_SCRIPT=/etc/ppp/ppp-on-dialer
exec /usr/sbin/pppd debug lock modem \
crtscts /dev/ttyS0 115200 \
	asyncmap 20A0000 escape FF kdebug 0 \
$LOCAL_IP:$REMOTE_IP \
	noipdefault netmask $NETMASK defaultroute  \
        connect $DIALER_SCRIPT

PPP-ON-DIALER SCRIPT:
#!/bin/sh
exec chat -v		\
	TIMEOUT		3	\
	ABORT		'\nBUSY\r'	\
	ABORT		'\nNO ANSWER\r'	\
	ABORT	'\nRINGING\r\n\r\nRINGING\r'\
	''		\rAT		\
	'OK-+++\c-OK'	ATH0	\
	TIMEOUT		120	\
	OK		ATD$TELEPHONE	\
	CONNECT		''		\

OPTIONS SCRIPT:
lock
name linux@blr
noauth

THE ERROR I RECIEVE:
timeout set to 2 seconds
   abort on (\nBUSY\r)
   abort on (\nRINGING\r\n\nRINGING\r)
   send (ATD8418350^M)
   expect (CONNECT)
   ^M
   ATD8418350^M^M
   NO CARRIER
   alarm
   Failed


> 
> hi there,
> I think there should be a T in the line
> ATD8418350
>  ^^^^^
> 
> Something like ATDT8418350 !!
> HTH
>      Khader
> 

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.