Mantis BugTracker for CapiSuite
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000133 [CapiSuite] core major always 2006-11-04 19:32 2006-11-04 19:32
Reporter duerrdetlef View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version 0.4.5
Summary 0000133: Fax with more as 7 DataHandles crashes
Description Small faxes are running ok but if your fax has more than 7 frames the destination gives an abort, because your datahandle is "0" like a new fax with the same id. The file in the attachment shows the debugging level 3.
Additional Information I corrected the definition of datahandles in the conection.cpp but i am not able to compile the capisuite in an OpenSuse 10.1 System and kernel 2.6.16.13-4-default - the modul capi.cpp gives errors in playing with capiutils.h.
This is the correction:
// Korrekturen in connection.cpp
// wegen Fehler bei Angabe des Data_Handl (nach dem Handle 6 folgt das Handl0 statt 7)
// 1. Zeile 731: buffer_start nicht modulo nehmen:
// Zeile alt:
        buffer_start=(buffer_start+1)%7;
// Zeile 731 neu:
                buffer_start += 1;
// 2. Zeile 817: buff_num als DataHandle nicht modulo nehmen
// Zeile alt:
    unsigned short buff_num=(buffer_start+buffers_used)%7; // buffer to store the next item
// Zeile neu:

        unsigned short buff_num = buffer_start + buffers_used; // bufferNumber to get the next DataHandle
        unsigned short buff_nu1 = (buffer_start%7 + buffers_used) % 7; // buffer to store the next item

//3. Zeile 821: buff_num durch buff_nu1 ersetzen
// Zeile alt:
        if (!file_to_send->get(send_buffer[buff_num][i]))
//Zeile neu:
          if (!file_to_send->get(send_buffer[buff_nu1][i]))
//4. Zeile 829: buff_num durch buff_nu1 ersetzen
// Zeile alt:
                capi->data_b3_req(ncci,send_buffer[buff_num],i,buff_num,0); // can throw CapiMsgError. Propagate.
// Zeile neu:
                        capi->data_b3_req(ncci,send_buffer[buff_nu1],i,buff_num,0); // can throw CapiMsgError. Propagate.

Attached Files  Testausschrieb_capisuite.log_20061103.txt [^] (7,251 bytes) 2006-11-04 19:32 [Delete]

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2006-11-04 19:32 duerrdetlef New Issue
2006-11-04 19:32 duerrdetlef File Added: Testausschrieb_capisuite.log_20061103.txt


Mantis 0.19.2
Copyright © 2000 - 2004 Mantis Group
123 total queries executed.
18 unique queries executed.