< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate-users] Forking Invites


I cant really see anything relevant in there. Im not using repro. Is there a simple way to make a new invite from an existing one just changing the relevant bits before forwarding it? I know which fields I need to change but Im not sure how to go about it.



Byron Campen wrote:
So, to meaningfully address this, you first need to understand the things you need to do when forwarding a request. Check out ResponseContext::beginClientTransaction(repro::Target* target) (in repro/ResponseContext.cxx) for some example code. Once you have this stuff covered, forking a request is exactly like forwarding it again, with a different Request-Uri and new branch-parameter.

Best regards,
Byron Campen