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

Author: Stefan Sayer <[email protected]>
Committer: Stefan Sayer <[email protected]>
Date:   Fri Jul 22 14:30:01 2011 +0200

fixed default DSM examples to pass consistency check

---

 apps/dsm/lib/inbound_call.dsm  |    4 +---
 apps/dsm/lib/outbound_call.dsm |    2 +-
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/apps/dsm/lib/inbound_call.dsm b/apps/dsm/lib/inbound_call.dsm
index 3cbd981..6d7e1fa 100644
--- a/apps/dsm/lib/inbound_call.dsm
+++ b/apps/dsm/lib/inbound_call.dsm
@@ -21,7 +21,5 @@ transition replay the_secret_room - timerTest(#id == 1) / { 
stopRecord(); playFi
 state the_replay;
 transition fin the_replay - noAudioTest() / stop(true) -> end;
 
-transition "bye recvd" start - hangup() / stop(false) -> end;
-transition "bye recvd" the_replay - hangup() / stop(false) -> end;
-transition "bye recvd" the_secret_room - hangup() / stop(false) -> end;
+transition "bye recvd" (start, the_replay, the_secret_room, end) - hangup() / 
stop(false) -> end;
 
diff --git a/apps/dsm/lib/outbound_call.dsm b/apps/dsm/lib/outbound_call.dsm
index 6f1fdd1..a2aa00d 100644
--- a/apps/dsm/lib/outbound_call.dsm
+++ b/apps/dsm/lib/outbound_call.dsm
@@ -3,4 +3,4 @@ initial state start;
 transition "just an example" start - / { playPrompt(1); playPrompt(2); 
playPrompt(3); } -> end;
 state end;
 transition "stop it" end - noAudioTest() / stop(true) -> end;
-transition "bye recvd" end - hangup() / stop(false) -> end;
+transition "bye recvd" (start, end) - hangup() / stop(false) -> end;

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

Reply via email to