Browse code

sip: fixes CANCEL handling

do not overwrite INVITE transaction in uas_trans[] when a CANCEL is received.

Raphael Coeffic authored on 08/04/2013 13:41:53
Showing 1 changed files
... ...
@@ -88,7 +88,10 @@ bool AmSipDialog::onRxReqSanity(const AmSipRequest& req)
88 88
       return false;
89 89
     }
90 90
 
91
-    return true;
91
+    if(onRxReqStatus(req) && hdl)
92
+      hdl->onSipRequest(req);
93
+
94
+    return false;
92 95
   }
93 96
 
94 97
   if(!AmBasicSipDialog::onRxReqSanity(req))