<div dir="ltr"><div>Setflag is only setting the value of a transaction flag to true. We always need to make sure each flag as a unique integer value (It will be the bit position in an int32)<br></div><div><br></div><div>Example:<br></div><div>#!define FLT_ACCMISSED 2</div><div>The value 2 must not be used by any other flag, this is one thing you need to verify.<br></div><div><br></div><div>The transaction module TM will "callback" the ACC module on receiving responses and the ACC module will generate an ACC event and set the flag to false, next time it will receive a transaction response, it will have its corresponding flag set to false and will not generate an new event. <br></div><div><br></div><div>Q: Only one flag FLT_ACC FLT_ACCMISSED should be set for one dialog?  When i do twice FLT_ACC i can have duplicate records?</div><div>A: You can only the flag that is set in the modparam/acc they should be different.<br></div><div>A: No, unless you set the flag again (in another routing script execution), setting it multiple times in the same routing script execution as no impact.<br></div></div>