Skip to content

Commit

Permalink
fix for [SIPX-865]
Browse files Browse the repository at this point in the history
calls with e.g. 404 SIP Responses will marked as terminated
this creates correct CDRs for failed calls again.
  • Loading branch information
cbeyersdorf committed Jan 5, 2023
1 parent 8506e1a commit 5f6590d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sipXcdr/lib/cdr.rb
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def complete?
end

def terminated?
@termination == CALL_COMPLETED_TERM || @termination == CALL_UNKNOWN_COMPLETED_TERM || @termination == CALL_TRANSFERRED_TERM || @termination == CALL_ABANDONED_TERM
@termination == CALL_COMPLETED_TERM || @termination == CALL_FAILED_TERM || @termination == CALL_UNKNOWN_COMPLETED_TERM || @termination == CALL_TRANSFERRED_TERM || @termination == CALL_ABANDONED_TERM
end

# Return a text description of the termination status for this CDR.
Expand Down

0 comments on commit 5f6590d

Please sign in to comment.