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

Pidgin trac at pidgin.im
Mon Dec 1 12:52:23 EST 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 gburt):

 Replying to [comment:219 fixxxer]:
 > Yes, I was. But indeed the problem was your debug output:
 > purple_debug_info("sipe", "process_incoming_notify: activity(%s)\n",
 activity);

 Did this cause a crash?  For me it prints out as "(null)".

 > Because you don't initialize the value then 'activity' got a NULL value
 when I connected.

 The activity variable is meant to represent the explicit (if any) activity
 string sent in the NOTIFY, and if there isn't one, then we assume the
 status_id should be 'available'.  My code already did this, AFAICT.

 > Also, the below part was because I sometimes I got another value
 different to 'busy','away','avalaible', then pidgin doesn't put a correct
 status to the almost all contacts (inclusive doesn't put the 'avalaible')

 If you got a value other than 'busy' or 'away' then it should have been
 assuming a status_id of 'available'.  Are you saying that wasn't
 happening?  Or was the only problem the printing out of the NULL/not-
 initialized activity variable?

 Gabriel

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


More information about the Tracker mailing list