Thursday, February 2, 2012

Enabling video and audio calls in pidgin office communicator accout under Ubuntu oneiric (11.10)

Not sure if you are using office communicator, but I do @work. For a long time I was frustrated with the fact that the audio and video calls do not work. Fortunately, there is a way out.

Install required deps

sudo apt-get install libgstreamer0.10-dev libnice-dev libpurple-dev libnss3-dev libglib2.0-dev checkinstall
wget http://downloads.sourceforge.net/project/sipe/sipe/pidgin-sipe-1.12.0/pidgin-sipe-1.12.0.tar.bz2
tar -xf pidgin-sipe-1.12.0.tar.bz2
cd pidgin-sipe-1.12.0/
./configure --with-vv
now you need to take a look at the output and make sure that it says:
Voice and video: enabled
because I might have forgotten some dependency. Anyway from now on (if you have the video enabled in the configure script) it is straightforward:
make
checkinstall -D make install
Voila! You need to restart pidgin and the audio and video should work. Maybe someone will make a ppa for this, but for now, there is none.
Update: I made the ppa myself. I don't have all the dependencies figured out yet, but the package is here:
https://launchpad.net/~radaczynski/+archive/ppa/+packages

and you also need to update pidgin to the one from pidgin ppa

19 comments:

  1. thanks for wonderful blog...

    i follow up your steps, i got Voice and video: enabled. But after when i tried to run "make" command then i got following error.

    ---------------------------------------------------------
    make[3]: *** [libsipe_core_la-sipmsg.lo] Error 1
    make[3]: Leaving directory `/home/******/Downloads/pidgin-sipe-1.12.0/src/core'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/*****/Downloads/pidgin-sipe-1.12.0/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/*****/Downloads/pidgin-sipe-1.12.0'
    make: *** [all] Error 2

    ------------------------------------------------------

    might be you face such an issue while installation.

    System information:
    Linux ubuntu 3.2.0-12-generic-pae #21-Ubuntu SMP Tue Jan 31 20:44:35 UTC 2012 i686 i686 i386 GNU/Linux

    Dell latitude e6420.

    ReplyDelete
    Replies
    1. nope I did not, I also have a dell laptop (e6400). Perhaps you are missing some dependency?

      In any case: upgrade pidgin to the one from here: https://launchpad.net/~pidgin-developers/+archive/ppa/

      and then use https://launchpad.net/~radaczynski/+archive/ppa/+packages to get the pidgin-sipe. Hope that works for you.

      Delete
  2. I created the package. I had to create a directory in /usr/local/share in order to make the checkinstall progress.

    I installed it. It looked nice in synaptic, but when I launched pidgin, Office Communicator did not appear as an available protocol ??

    Did I miss something?

    ReplyDelete
    Replies
    1. yes, I forgot to mention to update pidgin to the one from https://launchpad.net/~pidgin-developers/+archive/ppa/

      Delete
    2. I made it work...

      ~/Desktop/pidgin-sipe-1.12.0$ ./configure --with-vv --prefix=/usr
      ~/Desktop/pidgin-sipe-1.12.0$ make
      ~/Desktop/pidgin-sipe-1.12.0$ sudo checkinstall -D make install

      Stop pidgin
      Uninstall pidgin-sipe

      ~/Desktop/pidgin-sipe-1.12.0$ sudo gdebi pidgin-sipe_1.12.0-1_i386.deb

      Launch pidgin

      I can not stablish out-going calls I get this error...

      "Error occured

      Unable to establish a call
      415 Mutipart mime in content type not supported by Archiving CDR service"

      BUT I can receive calls

      Delete
    3. well, it is the opposite for me: I cannot receive calls but I can make them :D. Also, there is some echo issue sometimes (not sure why that is). Things are probably going to improve over time, SIPE seems to be an active project. Glad it's (kinda) working for you.

      Delete
  3. Hey .. I have done the above steps but when I make call it shows.."Error Occured....Unable to establish a call
    488 Not Acceptable Here" .. Please tell me what should I do? I am using Ubuntu 11.04.. 32 bit.

    ReplyDelete
    Replies
    1. And also when someone is calling me then its saying that call terminated due there encryption is different from ours.

      Delete
    2. That one was I think some bug in SSL libraries. You could try a workaround: set NSS_SSL_CBC_RANDOM_IV=0 and then launch pidgin. See here:
      https://bugs.launchpad.net/ubuntu/+source/pidgin/+bug/950790

      Delete
  4. Hey.. did someone get success in placing Audio calls? I just tested it out with the latest sipe version 1.13.1 and I was able to place and receive calls, however once either I or the other person pick up the call it just hangs within the following message:

    Error ocured
    Unable to establish a call
    488 Not Acceptable Here

    any idea ?

    ReplyDelete
    Replies
    1. Hi Guys,
      same problem here.

      Have any suggestions?

      Delete
    2. You can start pidgin in debug mode
      pidgin -d

      and dump the output to a logfile and see what is going on. Most likely this is codec negotiation issues.

      Delete
    3. Problem is at encryption level of calls, you can see it here:
      https://itbasedtelco.wordpress.com/tag/pidgin/
      and if you are debuging, you get:
      a=rtcp:33657
      a=encryption:rejected

      Delete
  5. I'm probably missing something, but I don't know what...

    I'm running Ubuntu 12.04 64 bits

    I installed latest version of pidgin from developpers ppa:
    sudo apt-add-repository ppa:pidgin-developers/ppa
    sudo apt-get update && sudo apt-get install pidgin libpurple0 libpurple-bin

    Then, I fetched your package, and installed it:
    sudo dpkg -i pidgin-sipe_1.13.2-1_amd64.deb

    I restarted pidgin (in fact, I had to reboot completely my computer for other reasons, so...)

    And when I talk with a Microsoft/Lync colleague, the "Media" sub-menus are greyed out...
    Any idea why ?

    Thanks !

    ReplyDelete
  6. Is pidgin-sipe (version 1.13.1-2) from Ubuntu 12.10 have integrated voice calls or I need to install package from ppa?
    I configure and successfully go to online in sip account (via sipe), but can't see any way to make a call.
    Also how can I make call to custom number (not sip, but city number) without adding it to contacts?

    ReplyDelete
    Replies
    1. I don't think that there is a way to do it from pidgin.

      Delete
  7. My company changed to lync 2010, and voice began to work...

    I just installed using the instructions in this blog.

    ii pidgin-sipe 1.13.3-1 i386 ACA 20120831 SIPE pacakge with voice and video

    ReplyDelete
    Replies
    1. After installing did you find any button or other interface for initiate SIP call to custom number?

      Delete
    2. No, but I think that is something that is just missing in pidgin, not in the SIPE plugin itself.

      Delete