Site Map - skip to main content - dyslexic font - mobile - text - print

Hobby Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.


hpr2627 :: Home Phone Setup!!

This episode we set up a small phone system.

<< First, < Previous, Latest >>

Host Image
Hosted by sigflup on 2018-08-28 is flagged as Clean and is released under a CC-BY-SA license.
Tags: sip kamailio .
Listen in ogg, spx, or mp3 format. | Comments (6)

I’m not sure what the echoing is about. It could be picked up from my cell phone’s speaker. Also, I call ftp “tiny ftp” It actually stands for “trivial ftp”

http://theadesilva.com/hpr_phone1.jpg http://theadesilva.com/hpr_phone2.jpg http://theadesilva.com/hpr_phone3.jpg http://theadesilva.com/hpr_phone4.jpg

tftp file for xinetd:

service tftp
{
 protocol = udp
 port = 69
 socket_type = dgram
 wait = yes
 user = nobody
 server = /usr/sbin/in.tftpd
 server_args = /tftpboot
 disable = no
 per_source = 11
 cps = 100 2
 flags = IPv4
}

voipbuster config files look like this:

SIPDefault.cnf:
  nat_enable: 1

SIP<mac address>.cnf:
proxy1_address: sip.voipbuster.com
line1_name: outside
line1_authname: <user>
line1_displayname: outside
line1_password: <password>

github projects:

  • SIP_Pi: github.com/fabianhu/SIP_Pi (PjSIP: http://www.pjsip.org/release/2.1/pjproject-2.1.tar.bz2 )

  • Messenger-CLI: github.com/AstroCB/Messenger-CLI

scripts:

=============================
const login = require("facebook-chat-api");

login({email: "FB_EMAIL", password "FB_PASSWORD"}, (err, api) =>
{
  if(err) return console.error(err);
  api.listen((err,message) => {
   api.sendMessage(message.body, message.threadID);
  });
});

=============================

#!/bin/sh
lame "$2" -o "$2".mp3

scp "$2.mp3" planetearth.us:
ssh planetearth.us ./runner ""$2.mp3""

==============================

#!/bin/sh

echo "$@" | sed -e s/ /_/g > runner_tmp
doas mv "$1" /var/www/theadesilva.com/html/$cat runner_tmp)
node ./oo.js

==============================

fs= require('fs');
login = require('facebook-chat-api');

fs.readFile('runner_tmp', 'utf8', function (err, data) {
 login({email: "FB_EMAIL", password: "FB_PASSWORD"}) => {
  if(err) return console.error(err);

  api.sendMessage("New voicemail at 1109's front door "http://theadesilva.com/" + data + """ , THREAD_ID);
 });
});

===============================

Comments

Subscribe to the comments RSS feed.

Comment #1 posted on 2018-08-28T01:17:42Z by Mike Ray

Definition of hacking!

Brilliant show. This show is the real definition of hacking.

If I have this right, you found some Cisco phones in the garage of a neighbour and set about getting them to do something useful.

The joy of getting something to work is obvious from your tone of voice and your dialogue. Something that we all no doubt can identify with.

All the more satisfying when it is resurrecting something previously discarded

Comment #2 posted on 2018-08-28T19:36:03Z by b-yeezi

My sentiments exactly

This is the definition of hacking. I loved how you described your problem solving process. More of these, please!

Comment #3 posted on 2018-08-29T17:11:25Z by jezra

Absolutely spectacular

The best part of this wonderful hack (IMHO) is that you created something and then used that something to record an HPR episode.

Comment #4 posted on 2018-08-30T12:07:18Z by dodddummy

Scream, Yell, "Bravo!", also, this is called A Show

While I listen to ALL episodes of hpr, Sigflup is on my 'must watch NOW' list. This one delivered in spaces for me. Not only was is fun to listen to, but I have similar equipment I've been meaning to do something similar with.

There goes my last excuse.

My only regret is that after the excellent real hacking phone shows from the last two days, my horrible by comparison drivel is up today.

Sorry about that.

Comment #5 posted on 2018-08-30T12:34:29Z by Mike Ray

Stoop?

But what the hell is a stoop? Think we need an American/English dictionary here :-)

Comment #6 posted on 2018-09-01T02:24:15Z by Brenda J. Butler

stoop

A "stoop" is a set of cement steps up to your front door - not as big as a "porch". Hmm, not sure if it has to be cement.

<< First, < Previous, Latest >>

Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Title:
Comment:
Anti Spam Question: What does the P in HPR stand for ?