Skip to content

marioanton/gotACall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gotACall

This repo has got two barely useful things.

  • callOnly, which writes calls and messages received (no content) to a log.
  • callAndWhatsapp, which does same as above but logging to a different location + send whatsapps to a given number with the number that is calling you.

They rely on few things:

callOnly.py

  • needs a pin for the sim
  • uses tx and rx from raspberry pi (ttyAMA0)
  • write messages to syslog (messages)
  • sticks number and message received there.
  • to see content need to validate and check AT commands in TTYAMA0.

callAndWhatsapp.py

  • needs a pin for the sim
  • uses tx and rx from raspberry pi (ttyAMA0)
  • write messages to syslog (messages)
  • sticks number and message received there.
  • to see content need to validate and check AT commands in TTYAMA0.
  • requires to modify script to change from, to and whastapp auth code.

how to generate auth code with whatsapp

yowsup-cli registration --requestcode sms --config-phone 44XXXXXXXXX --config-cc 44 --config-mcc 234 --config-mnc 002

About

Bad written code to manage calls from gsm module and send whatsapps.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages