JohnHoder / sipdroid

Automatically exported from code.google.com/p/sipdroid
GNU General Public License v3.0
1 stars 0 forks source link

SIP IM support #1001

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Reference:
http://www.ietf.org/rfc/rfc3428.txt

I would love to see this implemented in Sipdroid and I'd like to know if it's 
[easily] possible to implement it. To be usable it requires an interface of 
course, but ultimately it's best if this could be integrated with Android's 
messaging app in the same way as the current dialer integration.

If you can give me some directions I might take it upon myself to implement it 
(given it's not too hard).

Thanks.

Original issue reported on code.google.com by ameen.r...@gmail.com on 24 Dec 2011 at 12:47

GoogleCodeExporter commented 9 years ago

Original comment by pmerl...@googlemail.com on 28 Dec 2011 at 11:23

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I'm currently looking into adding this feature and from what I can tell there 
is no callback triggered upon receipt of a MESSAGE and the code appears to be 
designed so that callbacks can be made within a transaction or dialog.  Since 
RFC3428 specifies that the MESSAGE must not be restricted to transactions and 
dialogs it will likely be a sloppy hack job on my part. Currently I'm hooking 
into processReceivedMessage() from org.zoolu.sip.provider.SipProvider and using 
isMessage then do other stuff.  Does anyone have a recommendation on how I 
should go about doing this?  preferably at a higher level in the code.  
...whatever I come up with, I'll also submit here.

Thanks

Original comment by asynnest...@gmail.com on 27 Jan 2012 at 6:57