Hi Benny, here is the code if (buddy_id == PJSUA_INVALID_ID) { ??? *code = PJSIP_SC_DECLINE; ??? return; ??? } why is it the request for status presence keeps on asking me whre in fact i set the code to decline Thanks, Joseph -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080915/08ed9e17/attachment.html