Terminal Telephony

Dec. 31, 2022 [technology] [guides] [phones] [libre]

Phones suck, and so does the new expectation to have one or otherwise be excluded from family, work or increasingly from everywhere. But it doesn’t mean that you really need a physical phone. I’ve written about this before, but feel it pertinent to expand on the advice. Any little bit of info that can help people get away from satanphones and building the new world slavery grid, right?

I will remain vague in my recommendation of SIP hosts because I don’t believe there is a best oneā„¢, but there are choices of those who accept cryptocurrency payment, do not require javascript on their web portal and support SMS for those who want or need texting functionality. Or if you’d just like to dip your toes into softphones as a test, I suppose one of the free hosts are fine.

You should be given an option to choose your phone number when you sign up. And even numbers from legitimate nearby area codes might still get marked as “spam risk” on your friend’s or family’s shartphones.

Guide, for those okay with GUIs and GTK libraries

Install Linphone from your repository and run the preferences dialogue. In the SIP accounts tab, add an account and enter the sip address using the account number provided by your SIP provider. It should be formatted like:

sip:0123456@sip.mysiphost.com

Make sure that register is enabled and open ports on your firewall for 5061 as well as for audio RTP 7078-7079. Consider setting encryption as mandatory in the Calls and Chat tab. Any settings will be written to ~.config/linphone/linphonerc by default.

If everything was able to reach the provider and register, you should see the icon near your account turn green. Try calling out by entering a number (+ full area code) in the top bar. Linphone-desktop automatically enters the complete dialing information in the background (the terminal version needs manual entry, more on this below).

The resource over at callcentric have a fairly good runthrough of the whole process.

Guide, for command line purists

Install the linphone-cli package. Other distributions may go by different names. Debian once had it under linphone-nogtk. The first time you run the console linphone, a new configuration file will be created at .linphonerc. Note that this is in a different location from the GTK version.

I’ve found that it is very important that the linphonerc has information given for the proxy section for some reason.

Add default_proxy=0 under [sip]:

[sip]
root_ca=/usr/share/linphone/rootca.pem
verify_server_certs=1
verify_server_cn=1
contact=sip:0123456@sip.mysiphost.com
media_encryption=none
default_proxy=0
guess_hostname=1
inc_timeout=30
in_call_timeout=0
delayed_timeout=4
register_only_when_network_is_up=1
register_only_when_upnp_is_ok=1

And account authentication info:

[auth_info_0]
username=0123456
realm=sip.mysiphost.com
domain=sip.mysiphost.com
algorithm=MD5

Supply configuration for proxy even if you don’t find that you’ll be using one and disable reporting:

[proxy_0]
reg_proxy=<sip:sip.mysiphost.com;transport=udp>
reg_identity=sip:0123456@sip.mysiphost.com
realm=sip.linphone.org
contact_parameters=message-expires=604800
quality_reporting_collector=sip:voip-metrics@sip.linphone.org;transport=tls
quality_reporting_enabled=0
quality_reporting_interval=0
reg_expires=3600
reg_sendregister=1
publish=1
avpf=-1
avpf_rr_interval=1
dial_escape_plus=0
privacy=32768
push_notification_allowed=0
idkey=proxy_config_5CpZ4jeMwtMmBi6
publish_expires=3600
nat_policy_ref=yYm95Uxki2OTCRx

Point linphone at your default sound device, if it isn’t already:

[sound]
ec_filter=MSWebRTCAEC
ringer_dev_id=ALSA: default
playback_dev_id=ALSA: default
capture_dev_id=ALSA: default
echocancellation=1
remote_ring=/usr/share/sounds/linphone/ringback.wav
playback_gain_db=0.000000
mic_gain_db=0.000000

Now, when you run linphonec, it should connect to your provider and await any incoming calls or user input. Type answer to pick up an incoming call or call out with:

call sip:15555555555@sip.mysiphost.com

End the call with terminate. Also consider using linphonecsh which sets up a linphone daemon (linphoncsh init) and then just place calls through that if you would prefer not to have a dedicated terminal window open for linphone or if you want to work telephony into your scripts.

For now, it seems that softphones with VoIP/SIP calling are accepted to interface with the gears of society although, like mentioned above, normie phones are now marking phone numbers originating from these services as spam risk. Who knows how long before the psychopaths catch on and try to start banning SIP from personal use or outright blocking the numbers from interacting with their NWO compliant companies. If calling was the last remaining functionality keeping you from ditching your zombie phone, then better to switch now than later.