Re: [OpenSIPStack] How to send CANCEL msg? And why CANCEL is absent in the list ALLOW of INVITE msg
Brought to you by:
joegenbaclor
From: Joegen E. B. <joe...@gm...> - 2008-05-14 04:36:30
|
H.Kropf wrote: > I wish to cancel an outgoing call which the remote side does not answer > longtime (ringin on remote side). For this purpose I should send message > CANCEL. > For this it is necessary to call method CallSession:: SendCancel()? > But how to obtain CallSession object? > Which module are you referring to? I am assuming you are referring to the SoftPhoneInterface module? There is no need for you to cal SendCancel() directly. Simply calling HangUpCall() will either send a BYE for mid-dialog and a CANCEL during setup stages. > Some softphones (for example EyeBeam set) announce method CANCEL in the > list "Allow" of message INVITE. Why OSS does not do it? > I have re-read RFC3261 and ACK and CANCEL are mandatory in the Allow header. I was quick to assume that INVITE in allow header implies support for ACK and CANCEL. I will patch the stack accordingly. Thanks for pointing it out. > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > |