Derrick Bradbury writes:

> Trying to do it using existing code.. have it parsing the json, but
> how do I pass the AmArg structure back into the DSM code?

if i remember correctly, once you have json keys/values is AmArg struct,
key will be arg's name and value will be arg's value.  you then need to
construct for each arg name a varname (name of destination struct + . +
arg name) and assign to it arg's value:

sc_sess->var[varname] = value;

-- juha

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

Reply via email to