Hello Brett,
I guess the easies solution will be do stop using the db_missed_flag for
auto acc on failed branches and to control by yourself the acc from
failure route. (note that the acc missed call is done prior to failure
route, so you cannot disable it from failure route).
Keep in mind that the acc_db_request() function accepts variables, so
you can simulate the auto acc via:
acc_db_request("$T_reply_code Failed");
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 03/28/2013 11:55 AM, Brett Nemeroff wrote:
Hey All,
I'm routing a call using a failure_route and serial attempts. Under
certain conditions, I'd like to customize the failure code written to
the acc table with something like:
acc_db_request("503 Special Failure");
But when I'm doing this, I'm getting two acc entries. One for the last
failed attempt and one for that line. Is there anyway I can suppress
the one for the failed call leg and use mine instead? The issue here
is that this is a special failure case I'd like documented as such and
if I just write the sip_reason I got from the upstream, I won't know
that in the logs.
In the best case, the missed_calls entry would mirror the actual reply
I got, and the acc entry would mirror what I sent to the requestor.
Thanks,
Brett
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users