The macros and variables for the standard SIP status codes and reason phrases are defined in <sofia-sip/sip_status.h>. More...
Files | |
file | sip_status.h |
SIP status codes and standard phrases. | |
Defines | |
#define | SIP_100_TRYING |
100 Trying | |
#define | SIP_180_RINGING |
180 Ringing | |
#define | SIP_181_CALL_IS_BEING_FORWARDED |
181 Call Is Being Forwarded | |
#define | SIP_182_QUEUED |
182 Queued | |
#define | SIP_183_SESSION_PROGRESS |
183 Session Progress | |
#define | SIP_200_OK |
200 OK | |
#define | SIP_202_ACCEPTED |
202 Accepted | |
#define | SIP_300_MULTIPLE_CHOICES |
300 Multiple Choices | |
#define | SIP_301_MOVED_PERMANENTLY |
301 Moved Permanently | |
#define | SIP_302_MOVED_TEMPORARILY |
302 Moved Temporarily | |
#define | SIP_305_USE_PROXY |
305 Use Proxy | |
#define | SIP_380_ALTERNATIVE_SERVICE |
380 Alternative Service | |
#define | SIP_400_BAD_REQUEST |
400 Bad Request | |
#define | SIP_401_UNAUTHORIZED |
401 Unauthorized | |
#define | SIP_402_PAYMENT_REQUIRED |
402 Payment Required | |
#define | SIP_403_FORBIDDEN |
403 Forbidden | |
#define | SIP_404_NOT_FOUND |
404 Not Found | |
#define | SIP_405_METHOD_NOT_ALLOWED |
405 Method Not Allowed | |
#define | SIP_406_NOT_ACCEPTABLE |
406 Not Acceptable | |
#define | SIP_407_PROXY_AUTH_REQUIRED |
407 Proxy Authentication Required | |
#define | SIP_408_REQUEST_TIMEOUT |
408 Request Timeout | |
#define | SIP_409_CONFLICT |
409 Conflict | |
#define | SIP_410_GONE |
410 Gone | |
#define | SIP_411_LENGTH_REQUIRED |
411 Length Required | |
#define | SIP_412_PRECONDITION_FAILED |
412 Precondition Failed | |
#define | SIP_413_REQUEST_TOO_LARGE |
413 Request Entity Too Large | |
#define | SIP_414_REQUEST_URI_TOO_LONG |
414 Request-URI Too Long | |
#define | SIP_415_UNSUPPORTED_MEDIA |
415 Unsupported Media Type | |
#define | SIP_416_UNSUPPORTED_URI |
416 Unsupported URI Scheme | |
#define | SIP_417_RESOURCE_PRIORITY |
417 Unknown Resource-Priority | |
#define | SIP_420_BAD_EXTENSION |
420 Bad Extension | |
#define | SIP_421_EXTENSION_REQUIRED |
421 Extension Required | |
#define | SIP_422_SESSION_TIMER_TOO_SMALL |
422 Session Timer Too Small | |
#define | SIP_423_INTERVAL_TOO_BRIEF |
423 Interval Too Brief | |
#define | SIP_480_TEMPORARILY_UNAVAILABLE |
480 Temporarily Unavailable | |
#define | SIP_481_NO_TRANSACTION |
481 Call/Transaction Does Not Exist | |
#define | SIP_482_LOOP_DETECTED |
482 Loop Detected | |
#define | SIP_483_TOO_MANY_HOPS |
483 Too Many Hops | |
#define | SIP_484_ADDRESS_INCOMPLETE |
484 Address Incomplete | |
#define | SIP_485_AMBIGUOUS |
485 Ambiguous | |
#define | SIP_486_BUSY_HERE |
486 Busy Here | |
#define | SIP_487_REQUEST_TERMINATED |
487 Request Terminated | |
#define | SIP_488_NOT_ACCEPTABLE |
488 Not acceptable here | |
#define | SIP_489_BAD_EVENT |
489 Bad Event | |
#define | SIP_490_REQUEST_UPDATED |
490 Request Updated | |
#define | SIP_491_REQUEST_PENDING |
491 Request Pending | |
#define | SIP_493_UNDECIPHERABLE |
493 Undecipherable | |
#define | SIP_494_SECAGREE_REQUIRED |
494 Security Agreement Required | |
#define | SIP_500_INTERNAL_SERVER_ERROR |
500 Internal Server Error | |
#define | SIP_501_NOT_IMPLEMENTED |
501 Not Implemented | |
#define | SIP_502_BAD_GATEWAY |
502 Bad Gateway | |
#define | SIP_503_SERVICE_UNAVAILABLE |
503 Service Unavailable | |
#define | SIP_504_GATEWAY_TIME_OUT |
504 Gateway Time-out | |
#define | SIP_505_VERSION_NOT_SUPPORTED |
505 Version Not Supported | |
#define | SIP_513_MESSAGE_TOO_LARGE |
513 Message Too Large | |
#define | SIP_580_PRECONDITION |
580 Precondition Failure | |
#define | SIP_600_BUSY_EVERYWHERE |
600 Busy Everywhere | |
#define | SIP_603_DECLINE |
603 Decline | |
#define | SIP_604_DOES_NOT_EXIST_ANYWHERE |
604 Does Not Exist Anywhere | |
#define | SIP_606_NOT_ACCEPTABLE |
606 Not Acceptable | |
#define | SIP_687_DIALOG_TERMINATED |
687 Dialog terminated | |
Functions | |
char const * | sip_status_phrase (int status) |
Convert a SIP status code to a status phrase. |
The macros and variables for the standard SIP status codes and reason phrases are defined in <sofia-sip/sip_status.h>.
char const* sip_status_phrase | ( | int | status | ) |
Convert a SIP status code to a status phrase.
Convert a SIP status code to a status phrase. If the status code is not in the range 100..699, NULL is returned. If the status code is not known, empty string "" is returned.
status | well-known status code in range 100..699 |