[mod_sofia] Map SWITCH_CAUSE_REJECT_ALL cause to 603

This commit is contained in:
Andrey Volk 2023-06-22 18:02:20 +03:00
parent 9c63f03b45
commit f64314ff48
1 changed files with 1 additions and 0 deletions

View File

@ -348,6 +348,7 @@ static int hangup_cause_to_sip(switch_call_cause_t cause)
case SWITCH_CAUSE_BUSY_EVERYWHERE:
return 600;
case SWITCH_CAUSE_DECLINE:
case SWITCH_CAUSE_REJECT_ALL:
return 603;
case SWITCH_CAUSE_DOES_NOT_EXIST_ANYWHERE:
return 604;