[SR-Users] Failure route mechanism with counter
Igor Olhovskiy
igorolhovskiy at gmail.com
Tue Feb 8 08:55:41 CET 2022
Max,
You can use $avp() variable as they are transaction-persistent.
Regards,
Igor
Le 07.02.2022 à 17:13, Max Kemel a écrit :
>
> Hey, I would like to use a failure route with a retry mechanism, which
> provides a MAX_NUM_OF_RETRIES (max number of times reaching the
> failure route),
>
> Which can be achieved by a simple global counter, from what I’ve seen,
> the Counters module doesn’t provide a GET function in script,
>
> What is the easiest solution for this kind of behavior?
>
> Thanks a lot,
>
> *Max Kemel*
>
>
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
> *sr-users at lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to the sender!
> Edit mailing list options or unsubscribe:
> *https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220208/dd9b29a8/attachment.htm>
More information about the sr-users
mailing list