What I really want is any SIP message like NOTFY,INVITE, etc. and not just when an incoming call occurs. On Mon, Jun 25, 2012 at 3:49 AM, Pawel Kuzak <pawel.kuzak at 1und1.de> wrote: > Hi Thomas, > > did you try the "on_incoming_call" callback from the pjsua_callbacks? Take > a look here: > http://www.pjsip.org/pjsip/**docs/html/structpjsua__**callback.htm<http://www.pjsip.org/pjsip/docs/html/structpjsua__callback.htm> > > Kind regards, > Paul > > Am 22.06.2012 22:28, schrieb Tom Merriewether: > > I am using the pjsua package and need to register to get a callback every >> time the stack receives an incoming message. >> How do I do this? I need to count the number and frequency of incoming >> messages when my iPhone app is in the background. >> Any pointers on how to do this would be greatly appreciated. >> >> TIA >> >> -- >> Thomas Merriewether >> Star2Star Communications >> >> >> > ______________________________**_________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/**mailman/listinfo/pjsip_lists.**pjsip.org<http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org> > -- Thomas Merriewether Star2Star Communications -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120626/a035b0e0/attachment.html>