Hi,
Since developer mailing lists seem to be quite dead and TRs do not seem to be
fixed, I post a fix for this problem here, because I know I am not the only one
with this bug.
The fault is in function "int CStat::globalStat (E_Action P_action)" in
stat.cpp:782-784.
The auto answer statistics are updated at a wrong memory location destroying
the internal data of one of the std::list in the wheel_one array. This causes
the segmentation fault, when the list is actually used later (see bug report).
The fix is an easy one, you should have this code fragment:
case E_AUTO_ANSWERED :
// Let's count the automatic answered calls
M_G_counters [CPT_G_C_AutoAnswered - E_NB_COUNTER - 1]++;
M_G_counters [CPT_G_PD_AutoAnswered - E_NB_COUNTER - 1]++;
M_G_counters [CPT_G_PL_AutoAnswered - E_NB_COUNTER - 1]++;
break;
Instead of this:
case E_AUTO_ANSWERED :
// Let's count the automatic answered calls
M_G_counters [CPT_G_C_AutoAnswered - 1]++;
M_G_counters [CPT_G_PD_AutoAnswered - 1]++;
M_G_counters [CPT_G_PL_AutoAnswered - 1]++;
break;
Regards,
Endre
------------------------------------------------------------------------------
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users