On Fri, Mar 13, 2009 at 4:38 PM, Soh Wei Sin <wssoh85 at yahoo.com> wrote: > Hi, thanks for your fast reply :) > > I understand that the on_pager() call able to obtain the received IM. > However, since the on_pager() is an static void function, therefore, how > could I pass the IM received to other function? I need to get the message > string for other purpose instead of display it on screen. So is there are > any other method to do so? > > I was talking about on_pager() callback in pjsua_callback structure, and not on_pager() function in pjsua_app.c application. I think that should fit your purpose. cheers Benny > Sincerely, > WS > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090313/863544bd/attachment.html>