...got it myself (RTEM - read the excellent manual... :-) ) http://www.pjsip.org/pjsip/docs/html/structpjsua__callback.htm#402dc4b89c409507fa69b54494efef10 'rdata' contains all that's needed. Best regards, Bernie 2008/10/24 Bernie B <bugsbernie1 at googlemail.com> > Hi everybody, > > I need to retrieve the 'Diversion' header (Invite message) in order to have > the extension number which forwarded the call other than the original caller > and the called. > > Example: > > Diversion: "anonymous" <sip:302 at 192.168.100.142<sip%3A302 at 192.168.100.142> > >;reason=user-busy;privacy=full;screen=yes > > How can this be achieved, preferably on pjsua level? > > Thanks in advance > Bernie > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20081106/7fdc134e/attachment.html>