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

[reSIProcate-users] Canceling invite after failover


Hi!

 

I have a problem with the following scenario.

 

My application sends an invite to a destination that can be resolved to two different destinations.

The first tried destination is down so reciprocate tries the other and succeeds. I’m then trying to cancel the invite by using makeCancel giving it the pointer to the invite.

 

The problem is that this invite has a branch parameter different from the invite actually sent out. The branch of the invite sent out has been incremented in restoreOriginalContactAndVia. So when I’m calling makeCancel the cancel is constructed with the incorrect branch-parameter and I’m not able to cancel the request.

 

Incrementing the branch parameter when failing over seems fine but shouldn’t this affect my original sip message? Is the sip message copied somewhere in the stack?

 

What am I missing here?

 

/kj