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

Re: [reSIProcate-users] Forking Invites


The short answer is no. Forking is a proxy behavior and needs to
follow section 16 of rfc 3261. As Byron pointed out, you need to
implement a response context to do this.

Jason


On Fri, Jan 2, 2009 at 6:54 AM, Andrew Wood <ajwood@xxxxxxx> wrote:
> 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
>>
>
> _______________________________________________
> resiprocate-users mailing list
> resiprocate-users@xxxxxxxxxxxxxxx
> List Archive: http://list.resiprocate.org/archive/resiprocate-users/
>