Payphone: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
No edit summary
(6 intermediate revisions by 4 users not shown)
Line 5: Line 5:
==The Idea==
==The Idea==


[[Image:MateRack.jpg| Red Payphone graphic, circa 2011]]
[[Image:Noisebridge_RedPayPhone1.png| Red Payphone graphic, circa 2011]]
[[Image:MateRack.jpg| Red Payphone dialplan, circa 2011]]
[[Image:Noisebridge_RedPayPhone2.png| Red Payphone dialplan, circa 2011]]


While it looks the same circa 2016, the functionality is much different. The stuff like "leave a message" and "dictate to IRC" aren't really relevant so much. Though it would be pretty cool to "dictate a message to [[Slack|groupchat]]".
Another idea is to make an Intercom that allows someone to pick up the phone and speak out of the speakers in marry poppins. "toll free nation-wide calls" is hilarious and should remain.


==History of the Phone==
==History of the Phone==
Line 32: Line 35:


*We figured out the order of wires for the headset to operate, corresponding to the (somewhat arbitrary) aligator clip => rj11 cable we made for the purpose. We got this to connect to the guts of a functioning landline phone, and got a dialtone from the VoIP box, as well as a functioning mic. This mapping is complicated to format on the wiki, it's written on the inside of the old headset in sharpie. That counts as documentation.
*We figured out the order of wires for the headset to operate, corresponding to the (somewhat arbitrary) aligator clip => rj11 cable we made for the purpose. We got this to connect to the guts of a functioning landline phone, and got a dialtone from the VoIP box, as well as a functioning mic. This mapping is complicated to format on the wiki, it's written on the inside of the old headset in sharpie. That counts as documentation.
==TDM Hardware==
The phone cable is connected to a [https://www.digium.com/products/telephony-cards/analog/4-port Wildcard TDM410P] in [[Pegasus]] which runs inside [[Freeswitch]] with some [https://freeswitch.org/confluence/display/FREESWITCH/FreeTDM software drivers].


==Photos==
==Photos==
Line 39: Line 46:
Post more if you got 'em.
Post more if you got 'em.


[[Image:MateRack.jpg|500px]]
[[Image:Opening_payphone.JPG|500px]]


[[Image:MateRack.jpg|500px]]
[[Image:Opened_payphone.jpg|500px]]


http://flickr.com/photos/pvck/3101832241/in/photostream/
http://flickr.com/photos/pvck/3101832241/in/photostream/


[[Category:Pages with a Noisebridge Tiny URL]]
[[Category:Pages with a Noisebridge Tiny URL]]

Revision as of 15:13, 6 March 2016

Project Payphone

The payphone's number is 415-800-6786

The Idea

Red Payphone graphic, circa 2011 Red Payphone dialplan, circa 2011

While it looks the same circa 2016, the functionality is much different. The stuff like "leave a message" and "dictate to IRC" aren't really relevant so much. Though it would be pretty cool to "dictate a message to groupchat".

Another idea is to make an Intercom that allows someone to pick up the phone and speak out of the speakers in marry poppins. "toll free nation-wide calls" is hilarious and should remain.

History of the Phone

An awesome old red payphone was serendipitously discovered abandoned on Grand Avenue in Oakland. Our local hero picked it up and brought it to the space.

We got it open to discover the following:

  • The date of manufacture seems to be a very scribbly Aug. 1988.
  • It is completely missing the coin counting and collecting mechanism.
  • The keypad and hang-up switch look intact. The metal buttons on the outside actually just press against a standard little plastic keypad on the inside.
  • The headset is not connected to anything, but terminates in four red, black, green and yellow wires that can be hooked up to a standard RJ11 (normal phone jack) connector.
  • Out of the keypad/hang-up switch part there is a DB15 connector, equally hooked up to nothing. The assumption is that both this and the headset were connected to the coin counting mechanism which was the brains of the operation.
  • We'll likely need to gut another phone for some missing parts, but how much surgery is needed will depend on what that DB15 connector can do for us. For that, we need someone to find a schematic for the pins, or someone who is a master reverse-engineer. If that's you, get to work!

Well, Seth is a master reverse-engineer, and Steen is an old school phreaker, so one long night spent on this later:

  • We decoded the standard schema for DTMF that seems to apply at least to both the gutted landline phone and the payphone internals, and determined the pinouts for both the relevant bits. It turns out, a button on the keypad doesn't simply close a circuit to make a pin hot, it activates two pins, which then correspond to inputs on the DTMF encoder chip. In other words, Dual-Tone doesn't just mean the tones that are output, it also applies to the signals inside the phone circutry. Neat! So now we can connect the output pins from the payphone keypad to the DTMF inputs on the landline guts. Seth is (I think) planning on bringing in a db15 breakout box in order to manifest this. Please no one break it further before we get a chance to do so.
  • We figured out the order of wires for the headset to operate, corresponding to the (somewhat arbitrary) aligator clip => rj11 cable we made for the purpose. We got this to connect to the guts of a functioning landline phone, and got a dialtone from the VoIP box, as well as a functioning mic. This mapping is complicated to format on the wiki, it's written on the inside of the old headset in sharpie. That counts as documentation.

TDM Hardware

The phone cable is connected to a Wildcard TDM410P in Pegasus which runs inside Freeswitch with some software drivers.

Photos

I actually took more pictures but I strangely had a "Memory Card Error" (GRR!) and these were the two I recovered.

Post more if you got 'em.

Opening payphone.JPG

Opened payphone.jpg

http://flickr.com/photos/pvck/3101832241/in/photostream/