]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Issue #6764 - Return BUSY signal when other party is busy at Attended Transfer (Repor...
authorJoshua Colp <jcolp@digium.com>
Thu, 23 Mar 2006 21:51:50 +0000 (21:51 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 23 Mar 2006 21:51:50 +0000 (21:51 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@14523 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_features.c

index bf248b5f44f9cfe5b5025e4bb82f47ad5ab79a3e..131d695ee05368f9e1f2df185d1e1c7855a83a5d 100644 (file)
@@ -1144,6 +1144,9 @@ static struct ast_channel *ast_feature_request_and_dial(struct ast_channel *call
                                                        ast_indicate(caller, AST_CONTROL_RINGING);
                                                } else if ((f->subclass == AST_CONTROL_BUSY) || (f->subclass == AST_CONTROL_CONGESTION)) {
                                                        state = f->subclass;
+                                                       if (option_verbose > 2)
+                                                               ast_verbose( VERBOSE_PREFIX_3 "%s is busy\n", chan->name);
+                                                       ast_indicate(caller, AST_CONTROL_BUSY);
                                                        ast_frfree(f);
                                                        f = NULL;
                                                        break;