[asterisk-dev] Bug in chan_sip

Jon Bonilla (Manwe) manwe at aholab.ehu.es
Wed Dec 3 04:18:24 CST 2008


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;
        }





-- 
First they ignore you.
Then they laugh at you.
Then they fight you.
**Then you win.**

DaHjaj jaj QaQ Daghajjaj :)



More information about the asterisk-dev mailing list