Open GoogleCodeExporter opened 8 years ago
Problem is with Cancel message from Mjsip. if your proxy ask Authentication for
the
invite the Cseq is 2 while the cancel is with Cseq=1 and there for its not
Cancel
the call.
you need to add the following lines in ExtendedInviteDialog.java
if (req.isInvite()) // make sure it's an invite
this.invite_req=req; // must track last invite so cancel will work correctly -
fixes 503 from asterisk on cancel
after the code in about line number 258 (look like that in my code)
if (code==401) ah=digest.getAuthorizationHeader();
else ah=digest.getProxyAuthorizationHeader();
req.setAuthorizationHeader(ah);
if (req.isInvite()) // make sure it's an invite
this.invite_req=req; // must track last invite so cancel will work
correctly - fixes 503 from asterisk on cancel
Original comment by lior.her...@gmail.com
on 7 Feb 2009 at 4:18
hey lior, where is this code must be implemented? Specifically, what class is
it?
Original comment by frenalfa...@gmail.com
on 4 May 2011 at 6:48
Original issue reported on code.google.com by
michaelpalmer04
on 4 Feb 2009 at 3:03