Re: At commands

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

 



Because Skype is not open source (and I can't play with my custom function) and I have to pay to call and receive on the traditional phone line. Many people use modem through vgetty to have an answering machine so I thought it was easy! Hope that someone will help me! Apart from my "game" it can be really useful for many function if I learn well how to use it and, of course, when my job is done I'll share my script/sources to everyone.

(ex. of useful function:
call recording,
playing sounds through the traditional line (which I already can do)
calling people through the computer's addressbook and use a normal headphone and microfone to speak
create a complete pbx without needing VoIP
et cetera...)

If you don't have time to help me, I'll understand, but I'm sure it can make interesting thinks...

(And the think that makes me crazy is that I miss just two easy AT commands, maybe!)

Thanks anyway.
Cheers,
Stefano

Il 25/04/2012 15:18, Marvin Stodolsky ha scritto:
If your major interest is Voice, why not install SKYPE, for which the
related problems have already been worked out?  Members of this List
have been interested in Internet CONNECTs, and have not played with
the ordinary phone angle.  You are on your own in that arena.

MarvS



On Wed, Apr 25, 2012 at 9:05 AM, Spazzatura.Live<kharhonte@xxxxxxxxxxx>  wrote:
However, I don't really care about the dialing, I can solve other way. I'd
really appreciate if you can help me with full duplex voice and the ascii
code sequence to stop receiving ('cause now I'm closing it restarting the
daemon).

Thanks.
Cheers,
Stefano

Il 25/04/2012 14:03, Spazzatura.Live ha scritto:

I already tried wvdial, but it seems to be just for ip connection on
internet (which i really don't need).

I'm using slmodemd since the first time, the config file has the same
arguments you suggested me (except for the country one because I'm in Italy
so it's "-c ITALY")

Why should i use chatscript? Can't I go on with "minicom" and 'echo -en
"ATCOMMAND\r">  /dev/ttySL0&&  read -t1<  /dev/ttySL0&&  echo "$REPLY"'?

Il 25/04/2012 04:09, Marvin Stodolsky ha scritto:
After (if necessary)
# modprobe snd-intel8x0m
activate your modem with:
#  slmodemd -c USA --alsa  modem:1

You could setup a chatscript to manage the dialout,
wherein you could put the line:
Carrier check = no
Search out the documentation on chatscript usage.

If you can install the wvdialconf package, a good first sanity test
(with slmodemd left running) is
# wvdialconf
which should report finding the modem.
# wvdial
is what we recommend for managing routine IP CONNECTs for Internet usage.

MarvS


On Tue, Apr 24, 2012 at 7:47 PM, Spazzatura.Live<kharhonte@xxxxxxxxxxx>
  wrote:
Sorry, forgot it.

However it was just a mistake, it's Gentoo x86, not AMD64, confused my
laptop with my desktop (AMD64 from which I'm writing now...)

Il 24/04/2012 22:42, Marvin Stodolsky ha scritto:
  The ModemData.txt wasn't attached.

  Also just noticed your platform is x86_64 AMD
  while snd-intel8x0m will work, slamr cannot be used because it has a
  precompiled 32 bit component

  MarvS

  On Tue, Apr 24, 2012 at 4:30 PM,
Spazzatura.Live<kharhonte@xxxxxxxxxxx>
wrote:
  Here's my ModemData.txt

  I don't need the whole set of AT commands, just the one who disable
the
  carrier detecting, the full duplex audio transmission and the "stop
  receiving" code...

  The first one is optional because if I wanna make a call, I can just
record
  the number's tone and make a script to call them in the right order
from
the
  number... But it's a un-fency solution...

  Il 24/04/2012 21:27, Marvin Stodolsky ha scritto:

  Send to the List (not me), the ModemData.txt file output when you
run
  ./scanModem

  With respect to the AT commands, many drivers under Linux do not
have
  the full AT set implemented.

  MarvS

  On Tue, Apr 24, 2012 at 2:45 PM,
Spazzatura.Live<kharhonte@xxxxxxxxxxx>
   wrote:
  Since now it had not any die, however I built it as module and run
  scanModem. Should i put the output here?
  "Carrier check = no", where should I put it? The only configuration
file
  I
  have (apart from udev's...) is from slmodem daemon
(/etc/conf.d/slmodem).

  Thanks a lot for your time!
  Cheers,
  Stefano

  Il 24/04/2012 16:07, Marvin Stodolsky ha scritto:

  get scanModem  and run, to output instructions.
  snd-intel8xom driver should be a module, as unloading and
reloading
is
  necessary, when the loaded driver dies occasionally.
  Carrier check = no
  Is necessary in some config file.

  More later, now on cellphone.
  MarvS

  On Apr 24, 2012 8:44 AM, "Spazzatura.Live"<kharhonte@xxxxxxxxxxx
<mailto:kharhonte@xxxxxxxxxxx>>         wrote:

     Hi everyone!

     I'm trying to make my modem work as phone but I found a lot of
issue:

     I don't know the AT command to stop AT+VRX.

     Don't know how to do full duplex:
     (if i use AT+VTX+VRX it let me just send, AT+VRX+VTX just
receive)

     Need a full AT command list but really don't know where to find
it
     after hours and hours of research...

     When i try to call someone:
     AT+FCLASS=8\r
     AT+VLS=1\r
     ATD<NUMBER>;\r (or ATD<NUMBER>\r)
     It starts calling, but if i give ANY command it tells me: "NO
     CARRIER" and stop calling... I don't know how to disable
carrier
     detection and ATS10=255 doesn't work. (Even some other commands
i
     tried [AT&C0/1] etc...)

     I'm really going mad!

     These are my informations:

     lspci:
        00:1f.6 Modem: Intel Corporation 82801BA/BAM AC'97 Modem
     Controller (rev 05)

     Product data:
        Vendor=8086
        Product=2446

     Chip=SmartLink SmartRISER561 ACR,AMR,CNR,MDC,Mini-PCI V.92 Soft
?
     (Maybe) ?

     Driver (that seems to fit):
        slmodem - http://wiki.debian.org/it/slmodem (8086:2446)
        INTEL AC-Link Controller (ICH) - Linuxant HSF softmodem -
     http://www.linuxant.com/drivers/hsf/index.php (8086:2446)




http://www.modem-help.co.uk/search.php?id=PCI\VEN_8086%26DEV_2446#results




<http://www.modem-help.co.uk/search.php?id=PCI%5CVEN_8086%26DEV_2446#results>


     ATI ->         SmartLink Soft Modem
     ATI1 ->         SmartLink Soft Modem, 2.9.11<cr>Smart Link Ltd.
     ATI2 ->         Like ATI1
     ATI3 ->         modem:1<cr>alsa modem driver

     Kernel driver=snd_intel8x0m (builtin)

     Software:
        slmodem-2.9.11-20110321
        ungrab-winmodem-2009-07-16
        Installed through customizing ebuild from
     http://gpo.zugaina.org/net-dialup/slmodem with latest version
     package and removing PCI_LEGACY check.

     OS:
        Gentoo AMD64 up-to-date

     Thanks for help.

     Cheers,
     Stefano





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

  Powered by Linux