Benny, thanks a lot. The sip server is set to forward all the inbounds to other registered users to a particular client, say MyClient. MyClient is written in PJSIP. When MyClient receives a forwarded call, i need to know the original callee id of the in bound call. The link you pointed out in your message makes me feel close to the solution. In the following function, static void on_incoming_call(pjsua_acc_id acc_id, pjsua_call_id call_id, pjsip_rx_data *rdata) { } I have tried to get the info in rdata (I am not able to get all of them), but still could not find the original calleed id. Is there a way that we can get the original callee id in my case? thanks again -Jessica Date: Tue, 5 Aug 2008 21:51:28 +0100From: bennylp@pjsip.orgTo: pjsip at lists.pjsip.orgSubject: Re: get callee id 2008/8/5 vopjessie <jessievop at hotmail.com> Hi there, I have created a client with pjsip. The sip server forwards all calls to my client. However, I need to get the callee id of those calls. Does anyone know how to do this? Not sure what do you mean by callee ID, but probably this would answer your question: http://trac.pjsip.org/repos/wiki/FAQ#pjsip_eventCheers Benny _________________________________________________________________ ???MSN??????????????????? http://mobile.msn.com.cn/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080805/935f20b6/attachment.html