[Pidgin] #48: Make SIP/SIMPLE work with Microsoft Live Communication Server

Pidgin trac at pidgin.im
Wed Aug 13 10:59:13 EDT 2008


#48: Make SIP/SIMPLE work with Microsoft Live Communication Server
---------------------------+------------------------------------------------
 Reporter:  MarkDoliner    |        Owner:  shulman
     Type:  patch          |       Status:  new    
Milestone:                 |    Component:  SIMPLE 
  Version:  2.0            |   Resolution:         
 Keywords:  MS LCS SIMPLE  |  
---------------------------+------------------------------------------------

Comment(by nicholas):

 I've managed to get this to authenticate to our LCS server (no TLS
 required) after I edited sipe.c slightly and used it with Pidgin 2.4.3:

 {{{
 diff --git a/src/sipe.c b/src/sipe.c
 index 37d834a..c2da0f7 100644
 --- a/src/sipe.c
 +++ b/src/sipe.c
 @@ -1921,10 +1921,10 @@ static void sipe_login(GaimAccount *account)
         if(!sip->udp)
                 sip->txbuf = gaim_circ_buffer_new(0);

 -       userserver = g_strsplit(username, "@", 2);
 +       userserver = g_strsplit(username, "@", 3);
         gaim_connection_set_display_name(gc, userserver[0]);
          sip->username = g_strdup(g_strjoin("@", userserver[0],
 userserver[1], NULL));
 -        sip->servername = g_strdup(userserver[1]);
 +        sip->servername = g_strdup(userserver[2]);
         sip->password = g_strdup(gaim_connection_get_password(gc));
         g_strfreev(userserver);

 }}}

 so that I could tell it where the LCS server was. Setting the proxy may
 also have worked?

 However, I can't 'chat' with anyone, as our LCS server seems to require an
 INVITE to be sent first. sipe_invite() is currently never used.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/48#comment:110>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list