Site Map - skip to main content

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes every weekday Monday through Friday.
This page was generated by The HPR Robot at


hpr2627 :: Home Phone Setup!!

This episode we set up a small phone system.

<< First, < Previous, , Latest >>

Thumbnail of sigflup
Hosted by sigflup on Tuesday, 2018-08-28 is flagged as Clean and is released under a CC-BY-SA license.
sip kamailio. 7.
The show is available on the Internet Archive at: https://archive.org/details/hpr2627

Listen in ogg, spx, or mp3 format. Play now:

Duration: 00:23:22

general.

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”

https://theadesilva.com/hpr_phone1.jpg https://theadesilva.com/hpr_phone2.jpg https://theadesilva.com/hpr_phone3.jpg https://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: https://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 "https://theadesilva.com/" + data + """ , THREAD_ID);
 });
});

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

Comments

Subscribe to the comments RSS feed.

Comment #1 posted on 2018-08-28 01:17:42 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-28 19:36:03 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-29 17:11:25 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-30 12:07:18 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-30 12:34:29 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-01 02:24:15 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.

Comment #7 posted on 2018-10-01 15:25:03 by clacke

Re: stoop

That explains why it's a "stoop sale"!

(which is a garage sale, which is like a yard sale, if you live in Brooklyn ...)

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 letter P in HPR stand for?
Are you a spammer?
Who is the host of this show?
What does HPR mean to you?