[reSIProcate-users] DUM API CHANGE (was Re: Wrong reason codes in b2bua/MyInviteSessionHandler.cxx)
Byron -- take note of this to highlight it in the next set of release notes.
Brody, Chris - Acision wrote:
The function MyInviteSessionHandler::onTerminated() seems to be using some old
InviteSessionHandler::TerminatedReason enum values from version 1.3.
Unfortunately, I am a complete beginner and would have a hard time guessing the
correct values.
These changes were made when we added dialog event support. Here's what
appeared to happen:
1. PeerEnded has been split into RemoteCancel and RemoteBye
2. Ended has been split into LocalBye and Referred
3. GeneralFailure has been split into Error and Timeout
4. Cancelled has been replaced by LocalCancel
5. Rejected & Replaced are new, and specific to Dialog events (see
the reason codes in RFC 3265)
I've updated the b2bua code accordingly.
/a