Fix some comments in chan_zap
[asterisk/asterisk.git] / channels / chan_zap.c
index f60c3a4..b9c3780 100755 (executable)
@@ -3523,7 +3523,7 @@ struct ast_frame  *zt_read(struct ast_channel *ast)
        }
 
        if (p->subs[index].needbusy) {
-               /* Send ringing frame if requested */
+               /* Send busy frame if requested */
                p->subs[index].needbusy = 0;
                p->subs[index].f.frametype = AST_FRAME_CONTROL;
                p->subs[index].f.subclass = AST_CONTROL_BUSY;
@@ -3532,7 +3532,7 @@ struct ast_frame  *zt_read(struct ast_channel *ast)
        }
 
        if (p->subs[index].needcongestion) {
-               /* Send ringing frame if requested */
+               /* Send congestion frame if requested */
                p->subs[index].needcongestion = 0;
                p->subs[index].f.frametype = AST_FRAME_CONTROL;
                p->subs[index].f.subclass = AST_CONTROL_CONGESTION;
@@ -3546,7 +3546,7 @@ struct ast_frame  *zt_read(struct ast_channel *ast)
        }
        
        if (p->subs[index].needanswer) {
-               /* Send ringing frame if requested */
+               /* Send answer frame if requested */
                p->subs[index].needanswer = 0;
                p->subs[index].f.frametype = AST_FRAME_CONTROL;
                p->subs[index].f.subclass = AST_CONTROL_ANSWER;