Detecting remote-rings when calling with slmodemd and co.

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

 



Hallo!

This is a mail I wrote to smartlink long ago. Is there anybody here, who knows something to this matter?

First of all I want to thank for the modem driver for linux. It's great.
The modem is working fine, I just have problems with the AT-commands it should
understand.

Is it possible to recognise the rings one can hear when  calling  somebody?  I
don't  mean the detection of rings when being called (that works perfectly). I
would like to call a number and hangs up (go on-hook) after 2 rings. I need it
for mgetty callback after the second call.
I tried this script:

echo "Unmuting Modem Speaker..."
amixer -c1 set 'Modem Speaker' 100%
echo "Calling home first time..."
echo  "atdt  0234491642;"  >  /dev/modem  #;  is ignored, modem should stay in command mode
echo "Waiting 10 sec..."
sleep 10
echo "Modem hangs up (goes on-hook)..."
echo "ath0" > /dev/modem #any char works in on-line mode, this is for off-line mode
echo "Waiting 20 sec..."
sleep 20
echo "And action..."
pppd -detach debug user pppuser call pppcall-back
echo "home end"
amixer -c1 set 'Modem Speaker' 0%


I  took  the  AT-commands from the smartLink modem driver page and I think the
semicolon should do what I want but I actually have a:
00:02.6 Modem: Silicon Integrated Systems [SiS] Intel 537 [56k Winmodem]  (reva0)

So  I  don't  know  whether  the  AT-commands are defined by the driver or are
hardware specific.

When is +++ working to get in off-line mode? Only after a connection has  been
established?

How  can  I  use  my  modem  for  simple  phoning (voice phone) with a mic and
headphone connected to my soundcard?
(AT+FCLASS=8 AT#VLS=4 doesn't work)

And finally I wanted to try to recieve  mgetty-sources   per  uucp.  I  called
GREENIE    ((my    system):    ++49-89-35663089 as said on the mgetty page but
got stuck after logging in as nuucp. Do You know how to do  this?  Wath's  the
thing about z|y|x-modems? What type is mine?

Thanks for any answers
Lynx

[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux