Hi,
I am working towards implementing wtls for kannel. I find ROW directives quite
awkword and difficult to use and debug. I could use straight C, but that would
be contrary to the architecture. I would like to ask a couple of questions
about their use, that can make my task easier...
1) Is there a way to abort a STATE from within the action and go to another
state than the one prescribed in the NEXT_STATE? In a few cases the decision to
abort or continue is well deep into code and doesn't make sense to include it
in the condition clause. I could always generate an abort or terminate event
and send it to the queue, but it would be quite unefficient.
2) I imagine that ROWs are executed in order of first match. In other words in
the case:
ROW(EXCHANGE,
conditionA
ROW(EXCHANGE,
conditionB
ROW(EXCHANGE,
1
If condition evaluates to conditionC it should be executed by the 3rd ROW, if
it is conditionB it will be excuted by 2nd ROW.
3) Is there something like a wildcard for PDUs?
ROW(EXCHANGE,
*anyPDU*,
condition,
action,
NEXT_STATE
)
Thanx,
Nikos