summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith <keith@rhizomatica.org>2019-08-23 19:04:38 +0200
committerKeith <keith@rhizomatica.org>2019-08-23 19:04:41 +0200
commit5c5c78822e2c207a2b437dd5ef1788dcf4cbaf21 (patch)
tree038926601150788cc854c2b77b4233b26b899de2
parent5319d4d979485e5508f545fe68dd54e40a2be7d0 (diff)
Tweak CC cause SIP 404 response from POCcccamp2019
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
-rw-r--r--src/sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sip.c b/src/sip.c
index 2b28b4e..4ebe6d0 100644
--- a/src/sip.c
+++ b/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" },