diff options
author | George Joseph <gjoseph@digium.com> | 2016-06-09 09:33:48 -0600 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2016-06-09 11:03:45 -0500 |
commit | f0855358a64cea11567b64b4e8bf93aeb7ae1a73 (patch) | |
tree | 283d404ce83afe6fe13c3b25a3c0dabbef199fd1 | |
parent | d21a77b325d814eca76290b11a276199841d8bfa (diff) |
cdr.c: Remove assert in base_process_dial_end
Scenario: Caller blonde transfer
Bob calls Charlie who answers.
Bob puts Charlie on hold and calls Alice.
Before Alice answers, Bob transfers Charlie to Alice.
Charlie's channel triggers an assert because he gets an "ANSWERED"
event even though he never dialed anything. With recent changes to dial
events, this is now a valid scenario so the assert needed to be removed.
ASTERISK-26103 #close
Change-Id: I2679b517b696e7952ab7fb29403df9140e7d1de2
-rw-r--r-- | main/cdr.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/main/cdr.c b/main/cdr.c index b43e3610c..8658710d5 100644 --- a/main/cdr.c +++ b/main/cdr.c @@ -1415,8 +1415,6 @@ static int base_process_bridge_leave(struct cdr_object *cdr, struct ast_bridge_s static int base_process_dial_end(struct cdr_object *cdr, struct ast_channel_snapshot *caller, struct ast_channel_snapshot *peer, const char *dial_status) { - /* In general, most things shouldn't get a dial end. */ - ast_assert(0); return 0; } |