Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #install linphone
- sudo apt install linphone-cli
- #start up linphone shell internface
- linphonec
- #call someone
- call sip:<user>@<ip address>
- #or do it from the command line
- linphonec -s sip:<user>@<ip address>
- #receiving calls
- linphonec
- answer
- #or set it to auto answer
- autoanswer enable
- #hangup
- terminate
- #select sound card
- soundcard list
- soundcard use <number from above list>
- #ring tones and configs
- DESKTOP GUI stores configs: ~/.config/linphone/linphonerc
- #to load the configs in the shell
- linphonec -c ~/.config/linphone/linphonerc
- #example ringtones in config file
- #what you hear when some one calls you
- local_ring=/usr/share/sounds/linphone/toy-mono.wav
- #what someone hears when they are waiting for you to pick up
- remote_ring=/usr/share/sounds/linphone/ringback.wav
- ####ANDROID####
- Android By default uses a random port.
- If you are connecting directly you might need to set a port to use.
- #for more user 'help' command
- Commands are:
- ---------------------------
- help Print commands help.
- answer Answer a call
- autoanswer Show/set auto-answer mode
- call Call a SIP uri or number
- calls Show all the current calls with their id and status.
- call-logs Calls history
- camera Send camera output for current call.
- chat Chat with a SIP uri
- conference Create and manage an audio conference.
- duration Print duration in seconds of the last call.
- firewall Set firewall policy
- friend Manage friends
- ipv6 Use IPV6
- mute Mute microphone and suspend voice transmission.
- nat Set nat address
- pause pause a call
- play play a wav file
- playbackga Adjust playback gain.
- proxy Manage proxies
- record record to a wav file
- resume resume a call
- soundcard Manage soundcards
- stun Set stun server address
- terminate Terminate a call
- transfer Transfer a call to a specified destination.
- unmute Unmute microphone and resume voice transmission.
- webcam Manage webcams
- quit Exit linphonec
- ---------------------------
- Type 'help <command>' for more details or
- 'help advanced' to list additional commands.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement