Let chat_play finish even if calling channel hung up.

This commit is contained in:
MelwareDE 2009-07-24 14:50:38 +00:00
parent 3d8b215153
commit 7eac23a7d6
1 changed files with 2 additions and 0 deletions

View File

@ -475,6 +475,8 @@ static void chat_handle_events(struct ast_channel *c, struct capi_pvt *i,
if (rchan) {
f = ast_read(chan);
if (!f) {
if (voice_message != NULL)
continue;
cc_verbose(3, 1, VERBOSE_PREFIX_3 "%s: chat: no frame, hangup.\n",
i->vname);
break;