Merged revisions 72851 via svnmerge from
[asterisk/asterisk.git] / channels / chan_misdn.c
index fc1309a..b4ef3e6 100644 (file)
@@ -4657,8 +4657,10 @@ cb_events(enum event_e event, struct misdn_bchannel *bc, void *user_data)
 
        case EVENT_RESTART:
 
-               stop_bc_tones(ch);
-               release_chan(bc);
+               if (!bc->dummy) {
+                       stop_bc_tones(ch);
+                       release_chan(bc);
+               }
                break;
 
        default: