Dear visitor, welcome to KDE-Forum.org.
If this is your first visit here, please read the Help. It explains in detail how this page works.
To use all features of this page, you should consider registering.
Please use the registration form, to register here or read more information about the registration process.
If you are already registered, please login here.
Script to dial phone
Hi,
kde AddressBook can dial-out telephone. In Settings box there is place to type in Dial-out script name (Script-Hooks).
But I can NOT find reasonable script to dial normal phone connected to AT modem. I have SDI internet connection and phone is connected to modem only to allow easy dialing from kAddressBook.
Any suggestions?
Marek
P.S.
I have tested my own simple script
echo ATDT$1 > /dev/modem
#wait 2 seconds
echo ATH > /dev/modem
It sort of works but wait time should be varied for short and long (i.e. international) numbers. Better solution will be to check modem response (i.e. OK).
Have you looked at the chat command. I don't know if it solves you problem but it is quite complex.
I can't post a link to the manpage but you can alway type yourself "man:chat" in the konqueror location bar.
Oh man... you'd think this would be easy but it's not.
This used to work for me, but no longer. Maybe you'll have more luck with it:
[code:1]
/usr/sbin/chat '' ATZ OK ATDP%N < /dev/ttyS0 > /dev/ttyS0
[/code:1]
I can't seem to use chat anymore, which is the main problem I think. Beats me why (Debian Sid).