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

Author: Stefan Sayer <[email protected]>
Committer: Stefan Sayer <[email protected]>
Date:   Tue Apr 17 19:22:06 2012 +0200

mobile_push: handle CANCEL properly

---

 apps/mobile_push/mobile_push.dsm |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/apps/mobile_push/mobile_push.dsm b/apps/mobile_push/mobile_push.dsm
index 938971f..61ad783 100644
--- a/apps/mobile_push/mobile_push.dsm
+++ b/apps/mobile_push/mobile_push.dsm
@@ -185,4 +185,9 @@ transition "timer hit" WAITING - timer(#id==1) / {
   stop(false);
 } -> END;
 
+transition "CANCEL received" WAITING - hangup / {
+  subscription.remove($r.handle);
+  stop(false);
+} -> END;
+
 state END;
\ No newline at end of file

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

Reply via email to