Calling an ICALL from an IRULE
HI,
I am trying to call an Icall from an Irule but couldn't do it. I try this =
sys icall istats-trigger delete_entry_trigger_istats { event-name deletecon istats-key "wa policy string prueba_xxa" }
then in the irule I put this
when CLIENT_ACCEPTED { ISTATS::set "wa policy string prueba_xxa" 1 }
But the Icall won't triggered
ICALL SCRIPT
sys icall script delete_entry_conecction_script { app-service none definition { tmsh::delete sys connection cs-client-addr 192.168.1.97 exec istats remove "wa policy string prueba_xxa" } description none events none }
ICALL HANDLER
sys icall handler triggered delete_entry_conecction_handler { script delete_entry_conecction_script subscriptions { messages { event-name deletecon } } }
ICALL TRIGGER
sys icall istats-trigger delete_entry_trigger_istats { event-name deletecon istats-key "wa policy string prueba_xxa" }
For now the goal is to achieve the tmsh command delete sys connection cs-client-addr 192.168.1.97 via Icall
Thanks for your support.