[OpenSIPS-Users] ACC module for rejected calls

2023-04-03 Thread Alberto
Hi, I'm trying to understand the ACC module, using this minimal configuration below. My question is: why is there no cdr created? I would have assumed that `do_accounting("log", "cdr|missed|failed");` always saves cdrs, but it doesn't when the call is rejected from inside the configuration script.

Re: [OpenSIPS-Users] ACC module for rejected calls

2023-04-03 Thread Daniel Zanutti
Hi Alberto You are correct, this is the line you need. I think you need a created transaction. Since you are responding in stateless, you may be missing the cdr. Try changing this and let me know if solves: sl_send_reply(488, "Not Acceptable Here"); -> t_reply(488, "Not Acceptable Here"); Reg

Re: [OpenSIPS-Users] ACC module for rejected calls

2023-04-03 Thread Alberto
Thanks I tried both sl_send_reply and send_reply, but I didn't see t_reply. That was it. On Mon, 3 Apr 2023 at 22:40, Daniel Zanutti wrote: > Hi Alberto > > You are correct, this is the line you need. > > I think you need a created transaction. Since you are responding in > stateless, you may be