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

Re: [reSIProcate] DUM: Cancelling client session in initial state


On Fri, 5 Nov 2004, Dmitry Semyonov wrote:

> DUM does not send CANCEL request when I call end() method of 
> ClientInviteSessionHandle. Also note the empty Contact AOR of the 
> scheduled CANCEL request. I use r3433 based reSIProcate, and 
> process(fdset).
 [...]

Well the described behavior was caused by using SipMessage instance 
instead of reference to it:

<           SipMessage is_msg = m_pDum->makeInviteSession( dstAor, FromAddr,
---
>           // Warning! Using SipMessage instead of SipMessage& here will result
>           // in wrong transaction Id!
>           SipMessage &is_msg = m_pDum->makeInviteSession( dstAor, FromAddr,

-- 
...Bye..Dmitry.