Controlling A Computer Remotely

ScytheScythe Join Date: 2002-01-25 Member: 46NS1 Playtester, Forum Moderators, Constellation, Reinforced - Silver
edited August 2003 in Off-Topic
<div class="IPBDescription">DTMF tones.</div> This is what I want to do:

I want my modem to intercept calls from my mobile phone (Using caller ID to recognise the number) after x number of rings. I then want to be able to send DTMF tones down the line and to have my modem recognise them and be able to run programs on my computer. I would like to be able to ring my computer up from anywhere and tell it to dial onto the 'net and then start up a telnet server so I can access files from it anywhere in the world. If anyone knows of a program that would do the job I would very much like to know about it.

I also know a fair bit of C++ so another possibility would be to find some C++ libraries that would allow me access to the modem's functions.

--Scythe--

P.S. Gah, double post. Need some deleteage on the older one.

Comments

  • SoulSkorpionSoulSkorpion Join Date: 2002-04-12 Member: 423Members
  • ScytheScythe Join Date: 2002-01-25 Member: 46NS1 Playtester, Forum Moderators, Constellation, Reinforced - Silver
    If you have nothing to add to the conversation don't bother posting.

    Plskthx.

    --Scythe--
  • MoquiaoMoquiao Join Date: 2003-05-09 Member: 16168Members
    i cant help im afraid.. but this is a well good idea... i'd love to see you get this going..
  • TalesinTalesin Our own little well of hate Join Date: 2002-11-08 Member: 7710NS1 Playtester, Forum Moderators
    Unfortunately it's unlikely that you'll be able to get this going, nowadays. Most modem hardware is extremely modular at this point. Self-contained. So either you're going to have to find a modem made specifically to do what you're trying to do, a modem with a programmable DSP (figure a 2400 baud or so), or figure out how to hack the drivers on a winmodem to allow you to insert code or hooks. The last of which can be a REAL pain in the butt (aka: hope you know ASM).

    As to the why... modems are not generally set up to LISTEN for DTMF tones. They generate them to ring out, sure. But after that, they're checking for carrier. Same as when they pick up. Uses an entirely different range. So you're not only going to have to figure out how to talk to the DSP and figure out what it's saying back, but figure out how to train it to listen for DTMF when offhook, interpret which buttons have been pressed, and then relay that to your daemon one way or another, with feedback.

    And before you ask, the way large companies do it is that they have phone systems with the functionality and serial link for a computer interface already in as part of the package. But they DO cost, and quite a bit.



    In any case, you have your work cut out for you. Let me know if you ever manage to get it working.
    (Oh... and good luck finding a 2400 baud with caller ID, if you choose to go that route)
  • ScytheScythe Join Date: 2002-01-25 Member: 46NS1 Playtester, Forum Moderators, Constellation, Reinforced - Silver
    edited August 2003
    What about picking up a cheap voice modem, detaching the speaker wires, soldering them onto a 3.5 mm stereo plug, plugging it into the line in on my sound card and getting some DTMF recognition software?

    Anyone know of any links to sites that have code for DTFM recognition? I'm probably way out of my depth here but it's worth a try.

    --Scythe--
  • CodemanCodeman Join Date: 2002-11-21 Member: 9497Members, Constellation, Reinforced - Shadow
    i think you can buy dtmf decoder chips or something and do electronics h4x

    software-wise, the tones can be generated easy enough i think, a bit of the intarweb's search function should help you here (google that is - use teh search function you nub! <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo--> )

    they are a set frequency so you should be able to auto-answer a call and just record the pcm data straight from soundcard (or from modem itself, most decent voice modems treat their sound portion as a soundcard so you can just select the modem as device to record from)

    you can then do some crazy maths h4x to get the frequency and work from there i'd say (but the sound probly has line noise and such, making this more difficult)

    still, where there's a will, there's a way...

    -- Codeman
Sign In or Register to comment.