fmwviormv / doubango

Automatically exported from code.google.com/p/doubango
0 stars 0 forks source link

schedule timer B in tsip_transac_ict_Calling_2_Accepted_X_2xx #223

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
hello.

I have a question.

Why does schedule Timer B in "Accepted" state ?

Timer B scheduled already in tsip_transac_ict_Started_2_Calling_X_send.

int tsip_transac_ict_Started_2_Calling_X_send(va_list *app)
{
    .... 
    if(!TSIP_TRANSAC(self)->reliable){
        TRANSAC_ICT_TIMER_SCHEDULE(A);
    }
    TRANSAC_ICT_TIMER_SCHEDULE(B);
    ....
}

int tsip_transac_ict_Calling_2_Accepted_X_2xx(va_list *app)
{
     ......
     /* Cancel timers A and B */
    if(!TSIP_TRANSAC(self)->reliable){
        TRANSAC_ICT_TIMER_SCHEDULE(A);
    }
    TRANSAC_ICT_TIMER_SCHEDULE(B);
     ......
}

Original issue reported on code.google.com by notdo...@gmail.com on 22 Mar 2013 at 5:46