summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAymeric Moizard <amoizard@gmail.com>2015-01-26 21:06:53 +0100
committerAymeric Moizard <amoizard@gmail.com>2015-01-26 21:06:53 +0100
commit2cf1bcf544e24e7acd3efa98aa33c093dc29f3a9 (patch)
tree8d18ea7e02cf6ba48537abfce40450486ab11987
parentc89fa17cecb7ec6b1a9ea527d3642c9cc68a5a04 (diff)
downloadosip-2cf1bcf544e24e7acd3efa98aa33c093dc29f3a9.tar.gz
add some reason code from rfc4412, rfc3261 and rfc6086
-rw-r--r--src/osipparser2/osip_message_parse.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/osipparser2/osip_message_parse.c b/src/osipparser2/osip_message_parse.c
index c015811..e305cf0 100644
--- a/src/osipparser2/osip_message_parse.c
+++ b/src/osipparser2/osip_message_parse.c
@@ -987,10 +987,12 @@ osip_message_get_reason (int replycode)
{414, "Request-URI Too Large"},
{415, "Unsupported Media Type"},
{416, "Unsupported Uri Scheme"},
+ {417, "Unknown Resource-Priority"},
{420, "Bad Extension"},
{421, "Extension Required"},
{422, "Session Interval Too Small"},
{423, "Interval Too Short"},
+ {469, "Bad Info Package"},
{480, "Temporarily not available"},
{481, "Call Leg/Transaction Does Not Exist"},
{482, "Loop Detected"},
@@ -1011,6 +1013,7 @@ osip_message_get_reason (int replycode)
{503, "Service Unavailable"},
{504, "Gateway Time-out"},
{505, "SIP Version not supported"},
+ {513, "Message Too Large"},
};
static const struct code_to_reason reasons6xx[] = {
{600, "Busy Everywhere"},