newbi3 Posted May 28, 2013 Share Posted May 28, 2013 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. Quote Link to comment Share on other sites More sharing options...
Jason Cooper Posted May 29, 2013 Share Posted May 29, 2013 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). Quote Link to comment Share on other sites More sharing options...
Pwnd2Pwnr Posted May 29, 2013 Share Posted May 29, 2013 (edited) @Jason Cooper: If I read that right, Asterisk is an open source PBX? edit: I feel old... Edited May 29, 2013 by Pwnd2Pwnr Quote Link to comment Share on other sites More sharing options...
newbi3 Posted May 30, 2013 Author Share Posted May 30, 2013 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! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.