Hi Nauman, 2010/12/8 Nauman Sulaiman <nauman762-h...@yahoo.co.uk>: > Hi, using sofia 1.12.10 how to populate TO header of Invite created in > response to incoming REFER with refer-to header containing replaces parameter.
> I can't just use the refer-to uri on its own as it has the all the replaces > stuff. I suppose i could grab the various bits from the refer-to header and > create a To uri but was wondering if there is a better way. I am currently > using the following tags > SIPTAG_FROM_STR > SIPTAG_TO_STR > NUTAG_URL > NUTAG_NOTIFY_REFER > NUTAG_REFER_EVENT > the new invite is being created with a replaces header, just the to header > is wrong Is there something extra in To header? I guess you could parse the refer-to URL and remove all the header parameters from it. Do you want to have the to-tag from Replaces in the new INVITE? The Replaces header and to-tag is used to find an existing call to drop when the new referred call gets connected. -- Pekka.Pessi mail at nokia.com ------------------------------------------------------------------------------ Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel