aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders <anders.broman@ericsson.com>2017-06-21 18:37:25 +0200
committerAnders Broman <a.broman58@gmail.com>2017-06-21 17:22:50 +0000
commit536451a8dea2655a1d31006125cb283f49cfb859 (patch)
tree7532923d5e425e3f13b54ab05f77ba35c8e1ae38
parentb44ad2a0fa58e4a5acb4293d047993b3aea1f532 (diff)
[sipstat] Update the Response Codes table.
Change-Id: Iae6e49963ea94ba8a174342e25d2ca5494001e28 Reviewed-on: https://code.wireshark.org/review/22310 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r--ui/cli/tap-sipstat.c23
1 files 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}