Simple and robust Linux command line SIP client/library

12,629

Solution 1

This page lists just about all your options. sofia and sipx are used in popular VoIP applications so they are probably good bets.

Solution 2

I had success with Simple SIP SDK. It seemed more modern that other solutions I tried and which did not work. It also has OPUS support which I was looking for.

https://sipsimpleclient.org/

It is a bit of work to build from source. They provide a repository with built binaries, which I ended up using.

After installing:

sip-settings -a add [email protected] 1234678 <--password
sip-settings -a default [email protected]
sip-settings -a set [email protected] sip.outbound_proxy=172.31.0.1
sip-register  <-- seems optional
sip-audio-session sip:[email protected]

One last note, I had to download the source to get the instructions on how to install the binaries from the repositories for the various operating systems.

Solution 3

PJSIP is a good choice. Very robust, stable, feature rich.

Share:
12,629
Metiu
Author by

Metiu

Updated on June 04, 2022

Comments

  • Metiu
    Metiu almost 2 years

    I'm looking for a SIP client on Linux which I could control through a pipe, or a high level library to incorporate one in my software. I tried Linphone, which is quite good, but seems to have some instabilities, as dropping sound when talking with an Asterisk server. I'm currently looking at OpalVoip, but I thought I'd ask to the experts... Thank you

  • Metiu
    Metiu almost 13 years
    I ended up using liblinphone, which is quite convenient
  • Ricardo Jl Rufino
    Ricardo Jl Rufino over 2 years
    incredible this works like on frist try on Linux Ubuntu 18.04