diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_dial.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c index 515fa1b3f..c92dec263 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -2423,14 +2423,6 @@ static int dial_exec_full(struct ast_channel *chan, const char *data, struct ast } else { /* Nobody answered, next please? */ res = 0; } - - /* SIP, in particular, sends back this error code to indicate an - * overlap dialled number needs more digits. */ - if (chan->hangupcause == AST_CAUSE_INVALID_NUMBER_FORMAT) { - res = AST_PBX_INCOMPLETE; - } - - /* almost done, although the 'else' block is 400 lines */ } else { const char *number; |