[Pidgin] #2913: A patch for SMS support in ICQ

Pidgin trac at pidgin.im
Sun Sep 2 18:46:52 EDT 2007


#2913: A patch for SMS support in ICQ
--------------------------+-------------------------------------------------
 Reporter:  db42          |       Type:  patch
   Status:  new           |   Priority:  minor
Component:  pidgin (gtk)  |    Version:  2.1.1
 Keywords:                |    Pending:  0    
--------------------------+-------------------------------------------------
 This patch adds the ability to send and receive SMS in the ICQ protocol.

 As you are aware, SMS handling in ICQ and AIM is different, and pidgin
 hasn't supported ICQ SMS for a long time (if at all). Since AIM doesn't
 support SMS outside USA, and I like to SMS quite allot, I've decided to
 code support for it.

 The changes are all in the oscar protocol directory:
 family_icq.c:
 Enabled function "aim_icq_sendsms" and fixed it's various problems.

 oscar.c:
 Added handling receiving SMS messages from server in function
 "incomingim_chan4" message type 0x1a.
 Also changed "oscar_send_im" to detect if the message is being sent to a
 phone number.

 oscar.h:
 Added the prototype for "aim_icq_sendsms".

 family_icbm.c:
 There seems to be an error regarding the default handling of channel 4
 messages in regard to an SMS response (the default code got the packet
 length wrong), so i fixed it notices it's an SMS message. (In function
 "incomingim_ch4")

 If you have any questions / comments, please add them here :)

 BTW, this is patched via 2.1.1 sources (don't have monotone).

-- 
Ticket URL: <http://developer.pidgin.im/ticket/2913>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list