On Tue, Sep 7, 2010 at 2:39 PM, Klaus Darilion <klaus.mailinglists at pernau.at> wrote: > > Am 07.09.2010 00:40, schrieb Benny Prijono: >> >> The behavior is expected, and is inline with the SIP spec. If call >> gets established after CANCEL is sent, then we'll let it continue to >> get established, and it is then user or app decision whether to >> continue or not. If not, then it should call hangup() one more time. > > As pjsua (pj sip USER AGENT) API is a very high-level API I think the SIP > stack itself should send BYE in such a race condition. > Yes, and that's what I meant in the second paragraph of my email. -Benny