[mod_sofia] Map 607 to CAUSE_UNWANTED and add 608 to CALL_REJECTED

This commit is contained in:
Brian West 2021-08-18 15:16:55 +00:00 committed by Andrey Volk
parent fcaaf20c7d
commit 01d805d5a0

View File

@ -1813,8 +1813,10 @@ switch_call_cause_t sofia_glue_sip_cause_to_freeswitch(int status)
case 403: case 403:
case 407: case 407:
case 603: case 603:
case 607: case 608:
return SWITCH_CAUSE_CALL_REJECTED; return SWITCH_CAUSE_CALL_REJECTED;
case 607:
return SWITCH_CAUSE_UNWANTED;
case 404: case 404:
return SWITCH_CAUSE_UNALLOCATED_NUMBER; return SWITCH_CAUSE_UNALLOCATED_NUMBER;
case 485: case 485: