[asterisk-dev] Bug in chan_sip
Tilghman Lesher
tilghman at mail.jeffandtilghman.com
Wed Dec 3 08:15:02 CST 2008
On Wednesday 03 December 2008 04:18:24 Jon Bonilla wrote:
> El Wed, 3 Dec 2008 09:14:44 +0100
>
> "Saúl Ibarra" <saghul at gmail.com> escribió:
> > Manwe is very right, this could break the communication between
> > Asterisk and a SIP proxy. By reading the commints list, I see this bug
> > has been introduced in revision 158071
> > (http://svn.digium.com/view/asterisk?view=rev&revision=158071).
> >
> > We should destroy the dialog only when a 481 or 408 is received, and
> > treat other responses to BYE requests as usual.
>
> This bug is also in version 1.6.1beta3:
>
> line 16069 of chan_sip.c
>
> if (resp >= 400 && resp < 500 && sipmethod == SIP_BYE) {
> p->needdestroy = 1;
> return;
> }
Fixed in SVN.
--
Tilghman
More information about the asterisk-dev
mailing list