Jump to content

Computers Answering Phone Calls


newbi3

Recommended Posts

In the community that I live in you have to enter a code on this keypad which dials someones phone number. They then have to answer the phone call and press 9 on their phone for the gate to open. This is a huge pain if you are like me and have no phone. I am wondering if there is any software I can install onto my local Linux server that will be able to answer the call and "press" the number 9 automatically.

Link to comment
Share on other sites

If you want a lot of options then you could look into using Asterisk, but that could be overkill if all you want it to do is to answer the phone count to 3 and then press 9. If that is all you want it to do then you could just put a modem on the computer (or if it is an old laptop it may have a modem built in) and then knock up a script that connects to the modem, waits till it sees a RING message, answers it, wait a bit then dial a 9.

Useful Hayes commands for this would be

  • AT&F - Resets modem to factory defaults
  • ATA - Answer
  • ATDT9 - Dial 9 using tone dialling
  • ATH0 - On Hook (i.e. hang up)
  • ATH1 - Off Hook (i.e. pick up the phone, may be a better option than answer as it might stop the auto-connect kicking in and screaching down the line at you).
Link to comment
Share on other sites

If you want a lot of options then you could look into using Asterisk, but that could be overkill if all you want it to do is to answer the phone count to 3 and then press 9. If that is all you want it to do then you could just put a modem on the computer (or if it is an old laptop it may have a modem built in) and then knock up a script that connects to the modem, waits till it sees a RING message, answers it, wait a bit then dial a 9.

Useful Hayes commands for this would be

  • AT&F - Resets modem to factory defaults
  • ATA - Answer
  • ATDT9 - Dial 9 using tone dialling
  • ATH0 - On Hook (i.e. hang up)
  • ATH1 - Off Hook (i.e. pick up the phone, may be a better option than answer as it might stop the auto-connect kicking in and screaching down the line at you).

Thanks a lot! I am sure I can make something out of this!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...