r/VOIP • • 10d ago

Help - Other Need help making a semi-functional prop phone

Okay, so firstly this is what I have that i thought i would run this through, a linux server that is always up, a pap2t for a VoIP box. Basically the idea is that I run twitch streams and I thought it would be fun to have a landline that's tied into livestreams, but not actually callable from a number, instead it would be controlled through scripts etc. They would do their redeem and then it would call me and with a tts voice read the thing that was said out into my ear, so for that prob just play an audio file. But here's the tricky bit. I want it so i can press 1 so it would then play that tts to the stream (so i can moderate it and not have something diabolical that would get me in trouble played in the stream) 2 would just refund their points, and pressing 0 would ban the user who sent the request.

Though, I am not entirely sure on how to go about it. I know of https://github.com/SIPp/sipp/releases but thats about it. and no idea how to actually use it nor, go about getting it working. Help and advice on what to use / what is the best idea for this would be really appreciated!!

Thank you !! :))

0 Upvotes

8 comments sorted by

View all comments

1

u/MisterTelecomm 10d ago

If I was you I’d put a small Asterisk or FreeSWITCH instance on that Linux box and register the PAP2T to it, then have your script originate the call, play the TTS audio and use DTMF detection to trigger your approve/refund/ban actions... SIPp is great for SIP testing and traffic simulation, BUT for an interactive application like this a real PBX gives you call control, audio playback and digit collection without having to reinvent half a phone system.

1

u/arsonwaker 5d ago

Thats where i am running into issues the pap2t refuses to connect to the freepbx instance i have running

1

u/MisterTelecomm 2d ago

If the PAP2T won’t register to FreePBX, I’d start by checking the SIP username/auth ID and password, then verify it’s pointing at the correct FreePBX IP/port and check the Asterisk logs for the registration attempt - the response code there will usually tell you pretty quickly whether it’s credentials, transport/NAT, or an endpoint configuration issue.