please help! to get original callee id

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank Juri, yes, but for a forwarded call, what i get in rdata-msg_info.to->uri is not the original callee id any more, it is the callee id that actually receives the forwarded call. Do you know if i can get the original callee id of a forwarded call from some where?
 
thanks
 
-Jessica
 
> From: juri.glass@xxxxxxxxxxxx> To: pjsip at lists.pjsip.org> Date: Thu, 7 Aug 2008 13:44:44 +0200> Subject: Re: please help! to get original callee id> > Hi Jessica> > Every SIP message should contain a To header with a callee SIP URI inside.> rdata->msg_info.to->uri> > Best,> Juri> > ________________________________________> Von: pjsip-bounces at lists.pjsip.org [pjsip-bounces at lists.pjsip.org] im Auftrag von vopjessie [jessievop at hotmail.com]> Gesendet: Donnerstag, 7. August 2008 03:40> An: pjsip at lists.pjsip.org> Betreff: [pjsip] please help! to get original callee id> > Hi all, my sip server is set up to forward all calls to a particular client written in pjsip, say MyClient. I need to know the original callee id (destination client) when a forwarded call reaches MyClient. The following method is called when an incoming call arrives on MyClient:> > static void on_incoming_call(pjsua_acc_id acc_id, pjsua_call_id call_id, pjsip_rx_data *rdata)> {> ...> }> > I have looked into some of the data in rdata, but could not find the original callee id. Could someone help me out?> > > thanks in advance> > -Jessica> > ________________________________> ? Windows Live Spaces ??????????????? ???????<http://spaces.live.com/?page=HP>> _______________________________________________> 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
_________________________________________________________________
MSN ????????????????????
http://cn.msn.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080807/c25aa30d/attachment-0001.html 


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux