Tweak CC cause SIP 404 response from POC

POC sends us back a 404 for a SIP phone that
is not currently registered. This is not an
"Unassigned Number", but rather "temporarily unavailable"
so send USER_NOTRESPOND to MNCC for 404.

Change-Id: Id67f2709fc16d614ad07db348f91a8f89627a9a0
cccamp2019
Keith Whyte 3 years ago
parent 5319d4d979
commit 5c5c78822e
  1. 2
      src/sip.c

@ -271,7 +271,7 @@ static struct cause_map {
{ SIP_407_PROXY_AUTH_REQUIRED, GSM48_CC_CAUSE_CALL_REJECTED, "Call Rejected" },
{ SIP_603_DECLINE, GSM48_CC_CAUSE_CALL_REJECTED, "Call Rejected" },
{ SIP_406_NOT_ACCEPTABLE, GSM48_CC_CAUSE_CHAN_UNACCEPT, "Channel Unacceptable" },
{ SIP_404_NOT_FOUND, GSM48_CC_CAUSE_UNASSIGNED_NR, "Unallocated Number" },
{ SIP_404_NOT_FOUND, GSM48_CC_CAUSE_USER_NOTRESPOND, "Unallocated Number" },
{ SIP_485_AMBIGUOUS, GSM48_CC_CAUSE_NO_ROUTE, "No Route to Destination" },
{ SIP_604_DOES_NOT_EXIST_ANYWHERE, GSM48_CC_CAUSE_NO_ROUTE, "No Route to Destination" },
{ SIP_504_GATEWAY_TIME_OUT, GSM48_CC_CAUSE_RECOVERY_TIMER, "Recovery on Timer Expiry" },

Loading…
Cancel
Save