[Devel] Last changes before CVS freez

Juha Heinanen jh at tutpro.com
Tue May 23 14:12:33 CEST 2006

Bogdan-Andrei Iancu writes:

 > Accounting is done on TMCB_RESPONSE_OUT. if you set the accounting flag, 
 > the call report will be triggered at that point - by default only 
 > successful transactions are reported; to get also the negative ones, you 
 > need to set the failed_transaction flag also.

as i told, after commenting out

/*	} else if (type&TMCB_ON_FAILURE) {
	on_missed( t, ps->req, ps->rpl, ps->code); */

i only get one call missed report when called party does not answer.

i still don't understand why i don't get two reports (and before
commenting the above out, three reports), because acc_onreply calls

	on_missed(t, req, reply, code);

which in turn calls acc_log_missed( t, req, reply, code) if missed call
flag is on, and then acc_onreply goes on and calls acc_log_reply if
accounting flag is on.

-- juha

More information about the Devel mailing list