Not sure if anyone ever had the same problem, but msg_dup() gave me
continuous errors when dupping a SIP message with multipart payload:
http://sourceforge.net/mailarchive/message.php?msg_name=71e7543a0901290159m16ee387fj9d93c17338f68eed%40mail.gmail.com

Cheers,
-Aleksander

On Wed, Mar 11, 2009 at 6:04 PM, techsgin <techs...@gmail.com> wrote:

>  Hi
>
> I found how to do that.
>
>
>
> msg_t* lMsgCopy = msg_dup(nua_current_request(nua));
>
> sip_t* lSipCopy = sip_object(lMsg);
>
>
>
> J
>
>
>
>
>  ------------------------------
>
> *From:* techsgin [mailto:techs...@gmail.com]
> *Sent:* Wednesday, March 11, 2009 11:42 AM
> *To:* 'sofia-sip-devel@lists.sourceforge.net'
> *Subject:* Duplicate sip_t structure cont.
>
>
>
> Hi all
>
>
>
> Thanks in advance
>
>
>
> We are trying to copy the sip_t structure from within the nua callback.
>
>
>
> We saw this answer in the mailing list:
>
>
>
> “… You are looking for msg_dup(), it will create an another msg_t and
>
> sip_t inside it. …”
>
>
>
> But we crash when we try to:
>
>
>
> sip_t* lCopy =  (sip_t*)msg_dup((msg_t*)sip)
>
>
>
> We are probably doing something wrong.
>
> We use the ubuntu sofia-sip-dev 1.12.9 (We cannot debug )
>
>
>
> Regards
>
> TechSgin
>
>
>
> * *
>
>
>
>
> ------------------------------------------------------------------------------
> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
> software that enables intelligent coding and step-through debugging.
> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> _______________________________________________
> Sofia-sip-devel mailing list
> Sofia-sip-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel
>
>
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to