On Fri, Sep 19, 2008 at 8:36 AM, cedric leveque <levequecedric at hotmail.com>wrote: > Hi, > > I need to modify some data in a PRACK I send. > Actually I used 100Rel API to manage Early SIP Message because it's simple. > But with this API, I don't find any CallBacks call for sending PRACK like > callback for the ACK of the INVITE Session API. > So I can't manage PRACK unless I modify the API. > I don't want do this, but I don't know how modify PRACK message. > May be with Dialog API, but can I use in same time the Dialog API and the > Invite Session API and 100Rel API ? > Another solution is create my own API, but it's difficult when I see INVITE > Session API. > > >From what I know, PRACK is not supposed to do anything useful except for acknowledging the response and possibly sending SDP answer. That's why it was managed automatically. But one possible solution for you is to create a pjsip module which catch the outgoing PRACK request and do the modifications there. Please check the PJSIP Developer's Guide PDF doc for the details. Cheers Benny > Thanks in advance for your response. > > C?dric. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080921/3af6de64/attachment.html