diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-05-12 01:43:36 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-05-12 01:43:36 +0000 |
commit | 81fa6e0346476dd7a3166d2710cdb21a15d3c634 (patch) | |
tree | 5236c7731848fbc704967138e6fbe2d7771fdd5e /apps/app_dial.c | |
parent | 45b76aa153cbba2736442836f02b7a180d550bb4 (diff) |
*** empty log message ***
git-svn-id: http://svn.digium.com/svn/asterisk/branches/v1-0@5631 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_dial.c')
-rwxr-xr-x | apps/app_dial.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c index 75a6f404d..0d16d0483 100755 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -364,6 +364,10 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, struct localu !(outgoing->ringbackonly || outgoing->musiconhold)) { if (ast_write(in, f)) ast_log(LOG_WARNING, "Unable to forward image\n"); + } else if (single && (f->frametype == AST_FRAME_TEXT) && + !(outgoing->ringbackonly || outgoing->musiconhold)) { + if (ast_write(in, f)) + ast_log(LOG_WARNING, "Unable to text\n"); } else if (single && (f->frametype == AST_FRAME_HTML) && !outgoing->noforwardhtml) { ast_channel_sendhtml(in, f->subclass, f->data, f->datalen); } |