Como posso instalar e usar o sipcmd no xenial 16.04? Por:
With sipcmd https://github.com/tmakkonen/sipcmd you can do it on one line:
sipcmd -u <login> -c <passwd> -P sip -w <sipproxy> -x "c<phonenum>;ws3000;v<audiofile>;h"
pela página do github, eu instalei como:
sudo apt-get install libopal-dev
A página do github sugere /usr/local/lib/
, mas não vejo nada lá. A lista completa de pacotes instalados foi:
thufir@doge:~$
thufir@doge:~$ sudo apt-get install libopal-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
asterisk-config asterisk-core-sounds-en asterisk-core-sounds-en-gsm asterisk-modules asterisk-moh-opsound-gsm freetds-common
libfreeradius-client2 libiksemel3 libjansson4 liblua5.1-0 libpj2 libpjlib-util2 libpjmedia-audiodev2 libpjmedia2 libpjnath2
libpjsip-simple2 libpjsip-ua2 libpjsip2 libpq5 libresample1 libsqlite0 libsybdb5
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
autotools-dev libasound2-dev libcaca-dev libcapi20-3 libdrm-amdgpu1 libdrm-amdgpu1:i386 libdrm-dev libdrm-intel1
libdrm-intel1:i386 libdrm-nouveau2 libdrm-nouveau2:i386 libdrm-radeon1 libdrm-radeon1:i386 libdrm2 libdrm2:i386 libexpat1-dev
libgl1-mesa-dev libgl1-mesa-glx libgl1-mesa-glx:i386 libglapi-mesa libglapi-mesa:i386 libglib2.0-dev libglu1-mesa-dev
libldap-2.4-2 libldap2-dev libltdl-dev libopal-doc libopal3.10.10 libpcre3-dev libpcre32-3 libpcrecpp0v5 libpng12-dev libpt-dev
libpt2.10.10v5 libpthread-stubs0-dev libpulse-dev libpulse-mainloop-glib0 libpulse0 libpulse0:i386 libpulsedsp libsasl2-dev
libsdl1.2-dev libsdl1.2debian libslang2-dev libspeex-dev libspeexdsp-dev libsrtp0-dev libssl-dev libssl-doc libssl1.0.0
libssl1.0.0:i386 libtool libx11-dev libx11-doc libx11-xcb-dev libxau-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev
libxcb-present-dev libxcb-randr0-dev libxcb-render0-dev libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb1-dev
libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxshmfence-dev libxxf86vm-dev mesa-common-dev odbcinst odbcinst1debian2
pulseaudio pulseaudio-module-bluetooth pulseaudio-module-x11 pulseaudio-utils unixodbc unixodbc-dev x11proto-core-dev
x11proto-damage-dev x11proto-dri2-dev x11proto-fixes-dev x11proto-gl-dev x11proto-input-dev x11proto-kb-dev x11proto-xext-dev
x11proto-xf86vidmode-dev xorg-sgml-doctools xtrans-dev zlib1g-dev
Suggested packages:
libasound2-doc isdnutils-doc libglib2.0-doc libtool-doc autoconf automaken gfortran | fortran95-compiler gcj-jdk libxcb-doc
libxext-doc pavumeter pavucontrol paman paprefs
The following NEW packages will be installed:
autotools-dev libasound2-dev libcaca-dev libcapi20-3 libdrm-dev libexpat1-dev libgl1-mesa-dev libglib2.0-dev libglu1-mesa-dev
libldap2-dev libltdl-dev libopal-dev libopal-doc libopal3.10.10 libpcre3-dev libpcre32-3 libpcrecpp0v5 libpng12-dev libpt-dev
libpt2.10.10v5 libpthread-stubs0-dev libpulse-dev libsasl2-dev libsdl1.2-dev libsdl1.2debian libslang2-dev libspeex-dev
libspeexdsp-dev libsrtp0-dev libssl-dev libssl-doc libtool libx11-dev libx11-doc libx11-xcb-dev libxau-dev libxcb-dri2-0-dev
libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxcb-randr0-dev libxcb-render0-dev libxcb-shape0-dev libxcb-sync-dev
libxcb-xfixes0-dev libxcb1-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxshmfence-dev libxxf86vm-dev
mesa-common-dev odbcinst odbcinst1debian2 unixodbc unixodbc-dev x11proto-core-dev x11proto-damage-dev x11proto-dri2-dev
x11proto-fixes-dev x11proto-gl-dev x11proto-input-dev x11proto-kb-dev x11proto-xext-dev x11proto-xf86vidmode-dev
xorg-sgml-doctools xtrans-dev zlib1g-dev
The following packages will be upgraded:
libdrm-amdgpu1 libdrm-amdgpu1:i386 libdrm-intel1 libdrm-intel1:i386 libdrm-nouveau2 libdrm-nouveau2:i386 libdrm-radeon1
libdrm-radeon1:i386 libdrm2 libdrm2:i386 libgl1-mesa-glx libgl1-mesa-glx:i386 libglapi-mesa libglapi-mesa:i386 libldap-2.4-2
libpulse-mainloop-glib0 libpulse0 libpulse0:i386 libpulsedsp libssl1.0.0 libssl1.0.0:i386 pulseaudio pulseaudio-module-bluetooth
pulseaudio-module-x11 pulseaudio-utils
25 upgraded, 69 newly installed, 0 to remove and 464 not upgraded.
Need to get 31.7 MB of archives.
After this operation, 222 MB of additional disk space will be used.
Do you want to continue? [Y/n]