Advertisement
metalx1000

Linphone SIP calling

Aug 16th, 2022
1,035
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.65 KB | None | 0 0
  1. #install linphone
  2. sudo apt install linphone-cli
  3.  
  4. #start up linphone shell internface
  5. linphonec
  6.  
  7. #call someone
  8. call sip:<user>@<ip address>
  9. #or do it from the command line
  10. linphonec -s sip:<user>@<ip address>
  11.  
  12. #receiving calls
  13. linphonec
  14. answer
  15. #or set it to auto answer
  16. autoanswer enable
  17.  
  18.  
  19. #hangup
  20. terminate
  21.  
  22. #for more user 'help' command
  23. Commands are:
  24. ---------------------------
  25.       help      Print commands help.
  26.     answer      Answer a call
  27. autoanswer      Show/set auto-answer mode
  28.       call      Call a SIP uri or number
  29.      calls      Show all the current calls with their id and status.
  30.  call-logs      Calls history
  31.     camera      Send camera output for current call.
  32.       chat      Chat with a SIP uri
  33. conference      Create and manage an audio conference.
  34.   duration      Print duration in seconds of the last call.
  35.   firewall      Set firewall policy
  36.     friend      Manage friends
  37.       ipv6      Use IPV6
  38.       mute      Mute microphone and suspend voice transmission.
  39.        nat      Set nat address
  40.      pause      pause a call
  41.       play      play a wav file
  42. playbackga      Adjust playback gain.
  43.      proxy      Manage proxies
  44.     record      record to a wav file
  45.     resume      resume a call
  46.  soundcard      Manage soundcards
  47.       stun      Set stun server address
  48.  terminate      Terminate a call
  49.   transfer      Transfer a call to a specified destination.
  50.     unmute      Unmute microphone and resume voice transmission.
  51.     webcam      Manage webcams
  52.       quit      Exit linphonec
  53. ---------------------------
  54. Type 'help <command>' for more details or
  55.      'help advanced' to list additional commands.
  56.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement