Ah, indeed the problem is that the other side does not support this. I'd been assuming it was just a standard feature of all SIP clients - thanks very much for pointing this out!
John G On Tue, Apr 9, 2013 at 1:18 PM, Michael Jerris <m...@jerris.com> wrote: > Do you have "replaces" in your supported string? try SIPTAG_SUPPORTED_STR > passing a string that includes replaces in nua_set_params or nua_create. I > assume the othe sides your talking to support replaces too? > > On Apr 9, 2013, at 7:06 AM, John Graham <johngavingra...@googlemail.com> > wrote: > >> Hi there, >> >> I'm trying to use the Sofia-SIP library to perform an unattended call >> transfer. E.g. If I'm A and in a call with B and C, I thought I could >> transfer so that B and C are talking with something like: >> >> sip_replaces_t *replaces = nua_handle_make_replace(nua_ >> handle_B, NULL, 0); >> nua_refer(nua_handle_B, >> SIPTAG_REFER_TO_STR(addr_C), >> SIPTAG_REPLACES(replaces), >> TAG_END()); >> >> However, when I do this I immediately get a nua_r_refer/400/"Replaces >> header not allowed", and no further action is taken. >> >> I'd appreciate it if someone could point out my error, or what I can >> do to get around this. > ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel