log(level, message) prints to sems log

DI(module, function, parameters...) calls the DI module API function.
for setting a timer, you can use the setTimer function.

On 3/22/11, Jason b.a <[email protected]> wrote:
>
> Aha ok thanks Stephan, i am using DSM now, but i have some questions:
> whay do these lines do :
>
>  log(1, #body);
>
>  DI(user_timer, setTimer, (int)2, (int)20, @local_tag);
>
> here is the example:
> initial state START
>  enter {
>    playPrompt(hello);
>    DI(user_timer, setTimer, (int)1, (int)5, @local_tag);
>    DI(user_timer, setTimer, (int)2, (int)20, @local_tag);
>    recordFile(/tmp/test_rec.wav);
>  };
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems

Reply via email to