Module: sems
Branch: master
Commit: 25d5d402ae1704e16b360ac5f94683d37b7ec528
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=25d5d402ae1704e16b360ac5f94683d37b7ec528

Author: Stefan Sayer <[email protected]>
Committer: Stefan Sayer <[email protected]>
Date:   Mon Jul 12 15:47:29 2010 +0200

fixed DSM example

thanks to Anton Zagorskiy for the hint

---

 doc/src/doc_howtostart_noproxy.h |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/doc/src/doc_howtostart_noproxy.h b/doc/src/doc_howtostart_noproxy.h
index 5201226..1e7d579 100644
--- a/doc/src/doc_howtostart_noproxy.h
+++ b/doc/src/doc_howtostart_noproxy.h
@@ -152,13 +152,14 @@
   
   Then we paste this little script in /usr/local/lib/sems/dsm/mydsmapp.dsm :
   \code
-  initial state BEGIN {
-    playFile(/usr/local/lib/sems/audio/webconference/first_participant.wav
-  };
+  initial state BEGIN
+   enter {
+     playFile(/usr/local/lib/sems/audio/webconference/first_participant.wav
+   };
   transition "file ends" BEGIN - noAudioTest -> TYPING;
   
   state TYPING;
-  transition "typed a key" BEGIN - keyTest(#key < 10) / { 
+  transition "typed a key" TYPING - keyTest(#key < 10) / {
     set($myfile=/usr/local/lib/sems/audio/webconference/);
     append($myfile, #key);
     append($myfile, .wav);

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

Reply via email to