many times there would be a need for a simple condition test in dsm
scripts.  for example, addition of a header might depend on value of
some variable:

if ($Caller-URI != "") {
   append(b_leg_hdrs, "P-Asserted-Identity: ");
   append(b_leg_hdrs, $Caller-URI);
   append(b_leg_hdrs, "\r\n");
}

needing to write a state for this kind of operation that does not affect
execution logic, feels like an overkill for me.

have i missed something and there indeed is a way to achieve what i
showed in the above example without needing to introducing a new state?

-- juha
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems

Reply via email to