[Home]

Summary:ASTERISK-09771: Error on SIP channel lock / unlock with cdr_tds
Reporter:Ubiarajara Cortes (birajr)Labels:
Date Opened:2007-06-27 14:26:29Date Closed:2007-06-27 15:26:14
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) CLI_log.txt
Description:The SIP channel lock fail when the cdr_tds failed to connect to the SQL Server and just before the cdr_tds.c report the failure, another SIP call from the same client computer arrived at the Asterisk.

The SIP INVITE from the new incoming call is treated as a message from the last ended call.

****** ADDITIONAL INFORMATION ******

How to reproduce the bug:
1- Asterisk/Caller do hangup
2- cdr_tds will automatic start the cdr save process.
3- If the SQL server is down the sql INSERT will fail.
4- Just before the cdr_tds.c detect that the sql INSERT failed a new SIP call from the same client computer arrives at the Asterisk.
5- The SIP channel lock error happens, the SIP INVITE from the new incoming call is treated as a message from the last ended call.
Comments:By: Joshua C. Colp (jcolp) 2007-06-27 15:26:14

Fixed in 1.2 as of revision 72256, 1.4 as of revision 72257, and trunk as of revision 72258.