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.
There are lot of sip clients which support command-line.
Pjsua is a sip client. check this for features of pjsua
You can download pjsua from here
you can do this with skype. see: