Browse code

b/f: fix onDtmf ext-cc module processing

Stefan Sayer authored on 20/11/2013 12:05:20
Showing 1 changed files
... ...
@@ -597,8 +597,8 @@ void SBCCallLeg::onDtmf(int event, int duration)
597 597
   DBG("received DTMF on %c-leg (%i;%i)\n", a_leg ? 'A': 'B', event, duration);
598 598
 
599 599
   for (vector<ExtendedCCInterface*>::iterator i = cc_ext.begin(); i != cc_ext.end(); ++i) {
600
-    if ((*i)->onDtmf(this, event, duration)  == StopProcessing);
601
-    return;
600
+    if ((*i)->onDtmf(this, event, duration)  == StopProcessing)
601
+      return;
602 602
   }
603 603
 
604 604
   AmB2BMedia *ms = getMediaSession();