From 413869778c59b855891f1259d3d087ec15cb01cb Mon Sep 17 00:00:00 2001 From: Anders Date: Wed, 21 Jun 2017 18:37:25 +0200 Subject: [sipstat] Update the Response Codes table. Change-Id: Iae6e49963ea94ba8a174342e25d2ca5494001e28 Reviewed-on: https://code.wireshark.org/review/22310 Petri-Dish: Anders Broman Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman (cherry picked from commit 536451a8dea2655a1d31006125cb283f49cfb859) Reviewed-on: https://code.wireshark.org/review/22318 --- ui/cli/tap-sipstat.c | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/ui/cli/tap-sipstat.c b/ui/cli/tap-sipstat.c index a7936102db..c1902f1060 100644 --- a/ui/cli/tap-sipstat.c +++ b/ui/cli/tap-sipstat.c @@ -69,14 +69,17 @@ typedef struct _sip_request_method_t { sipstat_t *sp; } sip_request_method_t; -/* TODO: extra codes to be added from SIP extensions? */ +/* TODO: extra codes to be added from SIP extensions? +* http://www.iana.org/assignments/sip-parameters/sip-parameters.xhtml#sip-parameters-6 +*/ static const value_string vals_status_code[] = { { 100, "Trying"}, { 180, "Ringing"}, { 181, "Call Is Being Forwarded"}, { 182, "Queued"}, { 183, "Session Progress"}, - { 199, "Informational - Others" }, + + { 199, "Early Dialog Terminated" }, { 200, "OK"}, { 202, "Accepted"}, @@ -99,26 +102,36 @@ static const value_string vals_status_code[] = { { 406, "Not Acceptable"}, { 407, "Proxy Authentication Required"}, { 408, "Request Timeout"}, + { 410, "Gone"}, + { 412, "Conditional Request Failed"}, { 413, "Request Entity Too Large"}, { 414, "Request-URI Too Long"}, { 415, "Unsupported Media Type"}, { 416, "Unsupported URI Scheme"}, + { 417, "Unknown Resource-Priority"}, + { 420, "Bad Extension"}, { 421, "Extension Required"}, { 422, "Session Timer Too Small"}, { 423, "Interval Too Brief"}, + { 424, "Bad Location Information" }, + { 428, "Use Identity Header"}, { 429, "Provide Referrer Identity"}, { 430, "Flow Failed"}, + { 433, "Anonymity Disallowed"}, { 436, "Bad Identity-Info"}, { 437, "Unsupported Certificate"}, { 438, "Invalid Identity Header"}, { 439, "First Hop Lacks Outbound Support"}, { 440, "Max-Breadth Exceeded"}, + + { 469, "Bad Info Package"}, { 470, "Consent Needed"}, + { 480, "Temporarily Unavailable"}, { 481, "Call/Transaction Does Not Exist"}, { 482, "Loop Detected"}, @@ -129,6 +142,7 @@ static const value_string vals_status_code[] = { { 487, "Request Terminated"}, { 488, "Not Acceptable Here"}, { 489, "Bad Event"}, + { 491, "Request Pending"}, { 493, "Undecipherable"}, { 494, "Security Agreement Required"}, @@ -141,12 +155,17 @@ static const value_string vals_status_code[] = { { 504, "Server Time-out"}, { 505, "Version Not Supported"}, { 513, "Message Too Large"}, + + { 580, "Precondition Failure"}, + { 599, "Server Error - Others"}, { 600, "Busy Everywhere"}, { 603, "Decline"}, { 604, "Does Not Exist Anywhere"}, { 606, "Not Acceptable"}, + { 607, "Unwanted"}, + { 699, "Global Failure - Others"}, { 0, NULL} -- cgit v1.2.1