]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
cdr.c: Remove assert in base_process_dial_end 02/3002/2
authorGeorge Joseph <gjoseph@digium.com>
Thu, 9 Jun 2016 15:33:48 +0000 (09:33 -0600)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 9 Jun 2016 16:03:45 +0000 (11:03 -0500)
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

main/cdr.c

index b43e3610c074bbce93324ce74cfd681b73def230..8658710d523d6235396d36b03231754a6cd43b0c 100644 (file)
@@ -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;
 }