Hey All,<div>I'm trying to log the 100 Trying in the acc module. I tried the acc_db_request, but it can't be called from onreply.</div><div><br class="webkit-block-placeholder"></div><div>So I tried editing acc_logic.c, but that isn't working either?! :/ Any ideas? Maybe I should edit acc_db_request so it can be called from ONREPLY?</div>
<div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div><div> </div><div><div><div>static inline int should_acc_reply(struct sip_msg *req,struct sip_msg *rpl,</div><div> int code)</div>
<div>{</div><div> /* negative transactions reported otherwise only if explicitly </div><div> * demanded */</div><div> if (code == 100)</div><div> return 1;</div><div> if ( !is_failed_acc_on(req) && code >=300 )</div>
<div> return 0;</div><div> if ( !is_acc_on(req) )</div><div> return 0;</div><div> if ( code<200 && !(early_media &&</div><div> parse_headers(rpl,HDR_CONTENTLENGTH_F, 0)==0 && rpl->content_length &&</div>
<div> get_content_length(rpl)>0 ) )</div><div> return 0;</div><div><br class="webkit-block-placeholder"></div><div> return 1; /* seed is through, we will account this reply */</div><div>}</div>
</div><div><br></div></div>