merging the zap_and_dahdi_trunk branch up to trunk
[asterisk/asterisk.git] / apps / app_dahdiscan.c
index d1d37fa..70335b3 100644 (file)
@@ -68,7 +68,7 @@ static char *descrip =
 static struct ast_channel *get_dahdi_channel_locked(int num) {
        char name[80];
        
-       snprintf(name, sizeof(name), "%s/%d-1", dahdi_chan_name, num);
+       snprintf(name, sizeof(name), "DAHDI/%d-1", num);
        return ast_get_channel_by_name_locked(name);
 }