Domen
unread,May 16, 2025, 9:52:09 AMMay 16Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CGRateS
Greetings,
I've got a question regarding triggers or maybe it is solved differently.
So lets say I have 2 actions like below:
```
ACTION1,*topup_reset,,,ACTION1-DATA,*data,category1,DST_1,,,*unlimited,,100,10,false,false,10
ACTION2,*topup_reset,,,ACTION2-DATA,*data,category2,DST_2,,,*unlimited,,100,10,false,false,10
```
I then tried to setup a ActionTrigger that would trigger when the balance of the ACTION2 would run out:
```
STANDARD_TRIGGER_ACTION2,,*min_balance,0,false,0,,,,*data,,,,,,,,,,POST_WARNING,10
```
Now while this works if the ACTION2 runs out of its balance, but I've noticed that the same happens when ACTION1 runs out of its balance.
So the question is, if it is possible to have an ActionTrigger that triggers when only the balance of the ACTION2 runs out?
Best regards,
Domen