Lync clients: something more for Linux users – voice

On this original post I mentioned the existence of an open source client that could connect to OCS and Lync.
I would like to update the count for two: Pidgin and Empathy, both can connect using the SIPE plugin.

The initial reference it that Pidgin+SIPE could support Presence and Instant Messaging and Outlook contact lookup.
On the last days I decided to install a Linux client for a demonstration, and choosed Fedora 16. The installation was plain simple command: “sudo yum install pidgin pidgin-sip”.

After the account configuration I noticed the availability of the audio and video call option, so I clicked it and received and error, but I noticed the SIP error code. After some Snooper packet analysis I noticed that the call was being reject because of unsupported encryption method.

I just change the Lync media policy encryption, and after another login… I got a sucessfull voice call between a Linux Pidgin and  a Windows Lync client !!.

Of course I also test the Audio/Video Call, but the window keep on closing and only got audio.
Analysing again the SIP logging, the Linux client doesn’t negotiate any Video codec.
Linux is cleary not my field of expertise. After some days investigating the technology, maybe I just need some more development and new updated in the libraries used: Telepathy, Farstream,…

The news update is that a Linux desktop user can interact more with a Lync infrastructure.

If anyone from the Linux community has report of Pidgin+SIPE working on other linux, feedbacks are welcomed and posted 😉

Update (13/march): It possible to make audio/video calls between 2 Pidgin clients connected to Lync.

The problem with Lync clients is all about lack of video interoperability offered during the SDP negotiation: Lync offers RTV or H.263 and Pidgin offers JPEG or VP8-DRAFT-0-3-2.

Don’t know if and how is possible to include other video codec on Pidgin negotiation (H.264 for example)

Additional notes:
* Empathy crashed when you try to make voice/video calls;
* I also try on Pidgin on an Ubuntu operating system, but never get the Audio or Video call options to appear, althougt my attempts on following the instructions of Bartosz Radaczyński blog.



21 thoughts on “Lync clients: something more for Linux users – voice

  1. George Jetson 12/03/2012 / 13:12

    Wow. Pidgin is great. Did you do this in the same local network, or between networks? Between networks is trickier.

    How did you change the Lync media policy encryption?

    • LuisR 12/03/2012 / 19:19

      The test was made between two subnetworks, using voice and video.

  2. Douglas 27/03/2012 / 09:41

    How did you change the Lync media policy encryption? Is in the Voice Routing -> Trunk Configuration -> Global -> Encryption support level?

    • LuisR 27/03/2012 / 18:59

      Using the powersheel command set-csmediaconfiguration

      • Douglas 29/03/2012 / 07:55

        ok, succeeded! thanks!

  3. Tha-Fox 27/03/2012 / 19:20

    Just tested this on openSuSE 12.1 64-bit with Lync and works well with chat. I tried from LAN and external network with and without VPN.

    • LuisR 27/03/2012 / 20:40

      Chat and presence, right?
      There’s no voice option in openSuSE?

      • Tha-Fox 15/10/2012 / 09:10

        Took me a while to answer this… There is voice option too and I just tried that in openSuSE 12.2 and it gave me error: “Encryption settings of peer are incompatible with ours.” I’m the only Linux user so I won’t change the policy just to satisfy my needs although that is one tempting option.

        We federated our environment with other company and that didn’t cause any troubles in Pidgin.

  4. Long Donald 29/03/2012 / 10:15

    I cannot make audio call between Pidgin on Fedora with Lync on Windows.
    Can you explain more clearly on how to change the Lync media policy encryption.

    • LuisR 29/03/2012 / 18:45

      The media policy is just a Lync powershell command mentioned.
      You better make some additional troubleshooting:
      * can you initiate the call and make the windows client toast/ring?
      * what happens when you answer?
      * activate and analyze the SIP logs on the windows client (or capture at server)

      • Long Donald 30/03/2012 / 02:11

        * can you initiate the call and make the windows client toast/ring?
        -> Yes, I can make a call from windows client to fedora.
        * what happens when you answer?
        -> When I click Accept, windows client got error “reference error ID 28 (source ID 241)”
        * activate and analyze the SIP logs on the windows client (or capture at server)
        -> Here is logs on windows client

        TL_INFO(TF_PROTOCOL) [1]17E8.1784::03/30/2012-15:52:41.263.0000a033 (SIPStack,SIPAdminLog::TraceProtocolRecord:SIPAdminLog.cpp(125))$$begin_record
        Trace-Correlation-Id: 3832700262
        Instance-Id: 00000475
        Direction: outgoing;source=”local”
        Message-Type: response
        Start-Line: SIP/2.0 404 Not Found
        From: “user3″;tag=2315055951;epid=3feb824c64e6
        To: ;tag=809E92E61AFDF3FE9B31E7592B53EFB7
        CSeq: 1 INVITE
        Call-ID: F4D9g1332a59D2i4106m5D75t8739b25F6xC44Ex
        Authentication-Info: NTLM qop=”auth”, opaque=”155818F5″, srand=”E2BEE849″, snum=”6″, rspauth=”01000000ae5bd8de0b3ad44c64000000″, targetname=””, realm=”SIP Communications Service”, version=4
        Via: SIP/2.0/tls;ms-received-port=52852;ms-received-cid=2E00
        ms-diagnostics: 1003;reason=”User does not exist”;TargetUri=””;source=””
        Server: RTC/4.0
        Content-Length: 0
        Message-Body: –

        FYI: I made a call from user user2(windows) to user3(fedora). I don’t know the reason why oschat user appeared here. I did not create oschat before

  5. Long Donald 12/04/2012 / 03:01

    Hi, I still unable to make audio call. I got no error message, even in the logs also show no error.
    I think the problem is I couldn’t make sipe ringing. Like in your picture, the second bar show that Pidgin is ringing, but mine isn’t.
    Do you have any ideas to fix this?

    • LuisR 12/04/2012 / 18:39

      You really need to trace (using netmon or lync logging tool + snooper) the sip traffic at the Lync server to check if the session is being sent to the linux client.

  6. Long Donald 13/04/2012 / 03:04

    When I made a call from Lync client on windows to Pidgin on Linux, the session is sent and received. However, when Pidgin press accept call, the connection is terminate.

    On the other way, Pidgin try to make a audio call to Lync client, the call keep showing “calling …” without ringing until session timeout. In Lync logging tool show that pidgin try to contact ocschat user and receive message “user does not exist”.

    FYI, I’m hosting Lync Server 2010 Standard.

    • LuisR 16/04/2012 / 18:45

      If you are just using a lab, try removing/disabling group chat service?

      • Long Donald 17/04/2012 / 09:35

        I don’t setup group chat. And I also didn’t setup Edge server or Mediation server.

      • LuisR 17/04/2012 / 18:50

        You cleary have some problem that cannot simply be solved with this messages thread 🙂

  7. Frex 09/05/2012 / 15:13

    please.. in Gartner what is the leader now in Unified Communication; cisco or microsoft ?

  8. fl production company 18/05/2012 / 20:36

    Thanks for the information I will have to check into the programs!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s