linphonecsh - Sends a command to a linphonec running in daemon mode, and exits.

       linphonecsh init  <optional linphonec args>
       linphonecsh exit
       linphonecsh generic  <linphonec command line surrounded by quotes>
       linphonecsh register  --username <username> --host <proxy> --password <password>
       linphonecsh unregister
       linphonecsh dial <sip address or number>
       linphonecsh status <domain = one of 'register', 'hook', 'autoanswer'>
       linphonecsh --help

       Linphonecsh  is  a  small utility to send basic commands to a linphonec (console
       mode linphone) process.  Unlike linphonec, linphonecsh does  not  wait  commands
       from  standard input: it takes the command from its arguments and sends it using
       unix pipe to a linphonec process started in daemon  mode.   The  motivation  for
       this tool is for example to simply execute voip calls from scripts, web-servers,
       or javascript web pages.

       The very first thing to do before doing actions is to ask linphonecsh to spawn a
       linphonec daemon using

       linphonecsh init
              The  resulting  linphonec daemon does not read or write any configuration

              When the linphonec daemon is no more needed, the following commands makes
              it exit properly:

       linphonecsh exit

       By  default a linphonec started as a daemon by 'linphonecsh init' does not use a
       config file.

       Simon Morlat <simon.morlat at>

       linphonec(1) sipomatic(1) linphone(1)
linphonecsh <action> [arguments]
  where action is one of

    	init		: spawn a linphonec daemon (first step to make other actions)
    			followed by the arguments sent to linphonec
    	generic		: sends a generic command to the running linphonec daemon
    			followed by the generic command surrounded by quotes,
    			 for example "call sip:[email protected]"
    	register	: register; arguments are 
    			--host <host>
    			--username <username>
    			--password <password>
    	unregister	: unregister
    	dial		: dial <sip uri or number>
    	status		: can be 'status register', 'status autoanswer' or 'status hook'
    	soundcard	: can be 'soundcard capture', 'soundcard playback', 'soundcard ring',
    			 followed by an optional number representing the index of the soundcard,
    			 in which case the soundcard is set instead of just read.
    	exit		: make the linphonec daemon to exit.