SIP call using linphone CLI and voipbuster
Purpose: make a SIP call to my phone in CLI. I used voipbuster as VOIP service provider.
Solution: linphone CLI (command line)
1. install
$ sudo apt install linphone-nogtk
this will install linphone v3.12.0 (at the time of writing)
2. config
2.1. run command "linphonec" (note the "c" at the end)
$ linphonec
2.2. add voipbuster (red bold letters are input)
linphonec> proxy add
Adding new proxy setup. Hit ^D to abort.
Enter proxy sip address: sip:XXX@voipbuster.com
Your identity for this proxy: sip:XXX@voipbuster.com
Do you want to register on this proxy (yes/no): yes
Specify register expiration time in seconds (default is 600): <ENTER>
Expiration: 600 seconds
Specify route if needed: <ENTER>
No route specified.
--------------------------------------------
sip address: sip:XXX@voipbuster.com
route:
identity: sip:XXX@voipbuster.com
register: yes
expires: 600
registered: no
--------------------------------------------
Accept the above proxy configuration (yes/no) ?: yes
Proxy added.
linphonec> Refreshing on sip:XXX@voipbuster.com...
linphonec> Registration on sip:XXX@voipbuster.com failed: Unauthorized
linphonec>
Password for XXX on voipbuster.com: your_password
Refreshing on sip:XXX@voipbuster.com...
linphonec> Registration on sip:XXX@voipbuster.com successful.
2.3. make a test call
you can try to make call first in the linphone cli mode.
linphonec> call sip:+16041234567@voipbuster.com
Comments
Post a Comment