Re: [Sofia-sip-devel] Duplicate sip_t structure cont.

2009-03-12 Thread Aleksander Morgado
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 a

Re: [Sofia-sip-devel] Duplicate sip_t structure cont.

2009-03-11 Thread techsgin
Hi I found how to do that. msg_t* lMsgCopy = msg_dup(nua_current_request(nua)); sip_t* lSipCopy = sip_object(lMsg); :-) _ From: techsgin [mailto:[email protected]] Sent: Wednesday, March 11, 2009 11:42 AM To: '[email protected]' Subject: Duplicate si

[Sofia-sip-devel] Duplicate sip_t structure cont.

2009-03-11 Thread techsgin
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 = (si

Re: [Sofia-sip-devel] Duplicate sip_t structure

2007-05-22 Thread Pekka Pessi
2007/5/21, Fabio Margarido <[EMAIL PROTECTED]>: > sorry if this is a dumb question, but I couldn't find anything neither in > the documentation nor the mailing list archives... > I'd like to know if there is a function to duplicate an entire sip_t object. > I see that there are header-specific func

[Sofia-sip-devel] Duplicate sip_t structure

2007-05-21 Thread Fabio Margarido
Hi there, sorry if this is a dumb question, but I couldn't find anything neither in the documentation nor the mailing list archives... I'd like to know if there is a function to duplicate an entire sip_t object. I see that there are header-specific functions, like sip_to_dup(), but is there somet