On Wed, Aug 20, 2008 at 8:30 AM, Joseph Maiquez <josephmaiquez at yahoo.com>wrote: > OK ill make it clear. > > UserA send a request while UserB is logged off. > When UserB logged in, the callback was not called. it seems that the call > back only work if the user send a request in time where the other(the one > who suppose to receive the request) is online as well. Yes that's how it works. But there's a timer in UserA, and if you allow it to run a bit longer, UserA will retry the request after few minutes, and by this time the on_incoming_subscribe() callback in UserB will be called. > One more thing benny I cant add buddy inside the call back. > pjsua_add_buddy always returns an error dont know why.. > > It will be much helpful if you mention what the error is. -benny -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080820/eb4deb6e/attachment.html