Hacker News new | ask | show | jobs
by dqv 981 days ago
It's really easy to set up FreeSWITCH to do that. I prefer FreeSWITCH to Asterisk because the XML config is way easier to grok. FreeSWITCH peeps also made Signalwire and it's pretty nice.

One problem with this method is that your burner will still accept incoming calls from any number, so you'd lose caller ID information if you want to make sure only your VOIP server can call you. Of course you can just set it up to send you the caller ID through some other channel - like a text message.

But anyway you can make a really simple lua script that looks at a text file to see if the number is allowed, then forward it to your burner. In FreeSWITCH you just do something like <action application="set" data="allowed=${lua(allowlist.lua)}"/> and act on that variable accordingly. Then you can use whatever command line tool you prefer to add and remove numbers from the file.

If you need some help, drop a burner email and I can reach out.

1 comments

FreeSWITCH and SignalWire looks great. I'll give it a shot during the weekend.

I guess I'd have to decide wether the bastion should forward or channel/tunnel the call. My knowledge in telco and VOIP is very limited, do you know if there's any way to identify a number one has been forwarded to? If so, complete isolation and using some other channel to transmit the caller id would be preferable.

That is really kind of you to offer, thanks a bunch!

>My knowledge in telco and VOIP is very limited, do you know if there's any way to identify a number one has been forwarded to?

Do you mean like the calling party being able to find out what your burner number is?

I think that information could be revealed if you do a SIP refer. To be extra careful, you'd want to answer the call on FreeSWITCH/Asterisk and then bridge it to your burner number through whatever gateway (e.g. Signalwire, Flowroute, Twilio, whatever SIP provider you choose). The calling party will just see that they're calling your bastion.

It can also be revealed if you have the default voicemail set up on your burner, since a lot of voicemail systems will read the number out to the caller.