pjsip: Add new status phrases

Taken from various (newer) SIP RFC's.
This commit is contained in:
Alex Hermann 2020-04-10 14:22:02 +02:00
parent b3ca3b50e1
commit 687c58d76d
1 changed files with 22 additions and 0 deletions

View File

@ -162,9 +162,11 @@ static int init_status_phrase()
pj_strset2( &status_phrase[181], "Call Is Being Forwarded");
pj_strset2( &status_phrase[182], "Queued");
pj_strset2( &status_phrase[183], "Session Progress");
pj_strset2( &status_phrase[199], "Early Dialog Terminated");
pj_strset2( &status_phrase[200], "OK");
pj_strset2( &status_phrase[202], "Accepted");
pj_strset2( &status_phrase[204], "No Notification");
pj_strset2( &status_phrase[300], "Multiple Choices");
pj_strset2( &status_phrase[301], "Moved Permanently");
@ -181,15 +183,31 @@ static int init_status_phrase()
pj_strset2( &status_phrase[406], "Not Acceptable");
pj_strset2( &status_phrase[407], "Proxy Authentication Required");
pj_strset2( &status_phrase[408], "Request Timeout");
pj_strset2( &status_phrase[408], "Conflict");
pj_strset2( &status_phrase[410], "Gone");
pj_strset2( &status_phrase[411], "Length Required");
pj_strset2( &status_phrase[412], "Conditional Request Failed");
pj_strset2( &status_phrase[413], "Request Entity Too Large");
pj_strset2( &status_phrase[414], "Request URI Too Long");
pj_strset2( &status_phrase[415], "Unsupported Media Type");
pj_strset2( &status_phrase[416], "Unsupported URI Scheme");
pj_strset2( &status_phrase[417], "Unknown Resource-Priority");
pj_strset2( &status_phrase[420], "Bad Extension");
pj_strset2( &status_phrase[421], "Extension Required");
pj_strset2( &status_phrase[422], "Session Timer Too Small");
pj_strset2( &status_phrase[423], "Interval Too Brief");
pj_strset2( &status_phrase[424], "Bad Location Information");
pj_strset2( &status_phrase[428], "Use Identity Header");
pj_strset2( &status_phrase[429], "Provide Referrer Identity");
pj_strset2( &status_phrase[430], "Flow Failed");
pj_strset2( &status_phrase[433], "Anonymity Disallowed");
pj_strset2( &status_phrase[436], "Bad Identity-Info");
pj_strset2( &status_phrase[437], "Unsupported Certificate");
pj_strset2( &status_phrase[438], "Invalid Identity Header");
pj_strset2( &status_phrase[439], "First Hop Lacks Outbound Support");
pj_strset2( &status_phrase[440], "Max-Breadth Exceeded");
pj_strset2( &status_phrase[469], "Bad Info Package");
pj_strset2( &status_phrase[470], "Consent Needed");
pj_strset2( &status_phrase[480], "Temporarily Unavailable");
pj_strset2( &status_phrase[481], "Call/Transaction Does Not Exist");
pj_strset2( &status_phrase[482], "Loop Detected");
@ -203,6 +221,7 @@ static int init_status_phrase()
pj_strset2( &status_phrase[490], "Request Updated");
pj_strset2( &status_phrase[491], "Request Pending");
pj_strset2( &status_phrase[493], "Undecipherable");
pj_strset2( &status_phrase[494], "Security Agreement Required");
pj_strset2( &status_phrase[500], "Internal Server Error");
pj_strset2( &status_phrase[501], "Not Implemented");
@ -211,12 +230,15 @@ static int init_status_phrase()
pj_strset2( &status_phrase[504], "Server Timeout");
pj_strset2( &status_phrase[505], "Version Not Supported");
pj_strset2( &status_phrase[513], "Message Too Large");
pj_strset2( &status_phrase[555], "Push Notification Service Not Supported");
pj_strset2( &status_phrase[580], "Precondition Failure");
pj_strset2( &status_phrase[600], "Busy Everywhere");
pj_strset2( &status_phrase[603], "Decline");
pj_strset2( &status_phrase[604], "Does Not Exist Anywhere");
pj_strset2( &status_phrase[606], "Not Acceptable");
pj_strset2( &status_phrase[607], "Unwanted");
pj_strset2( &status_phrase[608], "Rejected");
pj_strset2( &status_phrase[701], "No response from destination server");
pj_strset2( &status_phrase[702], "Unable to resolve destination server");