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
   *[email protected]
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
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * [email protected]
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

Reply via email to