Klaus Darilion wrote:
Does this work? I think the accounting CDR for the BYE will be made by the tm module during t_relay. Thus, the script will be called before the CDR is created.
I think so too, but the OP didn't loose a word about CDRs or acc, that's why I asked what he really wants to achieve...
If it's really some rating stuff, he could write the acc table manually using acc_db_request(...) before calling exec_msg(...).
Andy