View Full Version : [HACK!] autoanswer call
joerg_rw
11-22-2011, 06:01 AM
to automatically accept an inbound call after N rings, you can do:
start xterm
pnatd
at
ats0=1
close xterm (for N = 1 above, not tested for other N like ats0=5 etc)
to unset the "feature" use N:0 I.E. ats0=0
/j
pusak gaoq
11-22-2011, 06:05 AM
is this one time hacked or do we have to set it every time we restart/reboot our device???
joerg_rw
11-22-2011, 06:14 AM
another similar hack, same scheme as above:
AT+CNUM delivers your own number (if it's available on your SIM)
joerg_rw
11-22-2011, 06:14 AM
is this one time hacked or do we have to set it every time we restart/reboot our device???
I think this gets reset on reboots
travla
11-22-2011, 06:16 AM
Hey guys, Nicolai has already added this functionality in to ProfilesX:
http://maemo.org/downloads/product/Maemo5/profilesx/
And the beauty of it is it can be set to a Car profile (for example).
joerg_rw
11-22-2011, 06:30 AM
to query Local-Area-Code and Cell-Identifier of your base station:
at+creg? (watch first digit, for later restoring)
at+creg=2
at+creg?
>> n, stat, lac, ci
<n>:
0 disable network registration unsolicited result code
1 enable network registration unsolicited result code +CREG: <stat>
2 enable network registration and location information unsolicited result code +CREG:
<stat>[,<lac>,<ci>]
<stat>:
0 not registered, ME is not currently searching a new operator to register to
1 registered, home network
2 not registered, but ME is currently searching a new operator to register to
3 registration denied
4 unknown
5 registered, roaming
<lac>: string type; two byte location area code in hexadecimal format (e.g. "00C3" equals 195 in decimal)
<ci>: string type; two byte cell ID in hexadecimal format
restore to original state (much recommended):
at+creg=0 (if your state <n> been 0 in your first at+creg?)
This could make for an interesting script...
Is your tinfoil hat starting to feel the burn? Are you forever aware that the global new world order single government police state are intercepting your phone calls?
Simple, force your phone to 3G only mode (2G encryption has been compromised) and set your n900 to record the locations you are in (GPS) and a list of station IDs. Once you have 'learned' the cell IDs you normally connect to (you always travel around roughly the same area) you set the device to check your database of station IDs against location as you migrate through the network.
A rogue station ID has appeared? MITM ATTACK! They are closing in! Burn your clothes! Acid your fingerprints off! Run for the border!
Estel
11-22-2011, 08:23 AM
Huh, I see joerg_rw started to play with at_commands. I've worked with them for years, so for the first time, probably, I know his discoveries for quite a long time. Damn, never though that day will happen ;)
Seriously though, I agree that it's very nice to document it here - it's true that at commands are not very popular in scripts. Thinking about that, I have no idea why - for me (and anyone, who played with GSM modems and phones acting as modems for other, strange purposes) they're quite natural.
/Estel
joerg_rw
11-26-2011, 12:16 AM
ATTENTION!
unconfirmed observation: setting S0=0 did not restore modem behaviour to default for me! I got a call that got auto-accepted while I was not even noticing it ;-P.
Anyway going offline_mode for a moment obviously reset the modem for me, so everything back to normal after that
nicholes
11-26-2011, 02:39 AM
is there anyway i can play an audio file for a caller after an auto answer (like a voice msg) or can you make anything possible from this (http://talk.maemo.org/showthread.php?t=70679) thread?
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.