[Asterisk-video] app_h324m: can't cancel call

Klaus Darilion klaus.mailinglists at pernau.at
Tue Jul 24 11:09:34 CDT 2007


Hi Sergio!

There is a problem in h324m_gw/call(). As the application waits for a 
frame on the outgoing channel (pseudo channel) the call can't be 
canceled by the caller.

         while (pseudo->_state!=AST_STATE_UP) {
                 /* Wait for data */
                 if (ast_waitfor(pseudo, 0)<0)
                         /* error, timeout, or done */
                         break;
                 /* Read frame */
                 f = ast_read(pseudo);

I guess also "channel" should be checked for incoming control frames.

regards
klaus



More information about the asterisk-video mailing list