1834490 Members
3234 Online
110067 Solutions
New Discussion

Re: how to dial out

 
Victor_5
Trusted Contributor

how to dial out

I have a modem connected with my K250 box, I am using 10.20. I am trying to dial out through the modem, I knew the command for modem test is atdt, for example:
atdt #telephone

however, it does not work on hp-ux. What is the command which I can dial a number directly through modem?
4 REPLIES 4
Sridhar Bhaskarla
Honored Contributor

Re: how to dial out

atdt works while you are in kermit mode.
Assume that you have the serial line already setup for the modem called /dev/ttyd0p0

#kermit
kermit>set line /dev/ttyd0p0
kermit> set speed xxxx
kermit> set modem hayes
kermit>co
at
ok
atdt your_number
ath


This should work,
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Printaporn_1
Esteemed Contributor

Re: how to dial out

you also can use cu command
# cu -lculxx (/dev/culxx was create when add modem in sam)
atdt #.....
enjoy any little thing in my life
Victor_5
Trusted Contributor

Re: how to dial out

Hi Sridhar:

I typed co, it said that
?Ambiguous - co

I also go throught the help, but did not find co command, what is the correct one?
Sridhar Bhaskarla
Honored Contributor

Re: how to dial out

Oops it is not co . It is "c"

kermit>c
at
OK
atdt your_number


You can also use "cu" command to dial. Check the man page for details.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try