fix: adjusted disconnect codes mapping#2165
fix: adjusted disconnect codes mapping#2165greenfrvr merged 1 commit intofeat/callkit-telecom-integrationfrom
Conversation
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
💡 Overview
As per documentation Telecom API disconnect method accepts limited disconnect cause codes. This PR adjust disconnect reason codes mapping, so that only valid values can be passed to Telecom API disconnect method. Using codes outside that range causes a crash: