Is there any SIP-client for Ubuntu which has command-line interface? So, for example, I can make calls without using any GUI, just sending commands to the application.
You only need to install sudo apt-get install sipclients
Check out the repos here: https://docs-new.sipthor.net/w/debian_package_repositories/
you can do this with skype. see:
skype --callto echo123