{"id":586,"date":"2025-01-05T23:20:04","date_gmt":"2025-01-05T14:20:04","guid":{"rendered":"https:\/\/team-okada.com\/?p=586"},"modified":"2025-11-13T20:07:18","modified_gmt":"2025-11-13T11:07:18","slug":"sip%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6","status":"publish","type":"post","link":"https:\/\/team-okada.com\/?p=586","title":{"rendered":"SIP\u306b\u3064\u3044\u3066"},"content":{"rendered":"\n<p>SIP:Session Initiation Protocol<\/p>\n\n\n\n<p>\u3000SIP\u3068\u306f\u3001IP\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3092\u901a\u3058\u3066\u3001\u97f3\u58f0\u3092\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u53ef\u80fd\u306b\u3059\u308b\u901a\u4fe1\u30d7\u30ed\u30c8\u30b3\u30eb\u3067\u3059\u3002\u96fb\u8a71\u306e\u547c\u51fa\u3057\u3001\u958b\u59cb\u3001\u7d42\u4e86\u3001\u8ee2\u9001\u3084\u4fdd\u7559\u306a\u3069\u306e\u901a\u8a71\u4e2d\u306e\u6a5f\u80fd\u3092\u5236\u5fa1\u3057\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u4e0a\u3067\u306e\u901a\u8a71\u3092\u5b9f\u73fe\u3057\u307e\u3059\u3002SIP\u306f\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u30c6\u30ad\u30b9\u30c8\u5f62\u5f0f\u3067\u3001\u30ea\u30af\u30a8\u30b9\u30c8\uff0f\u30ec\u30b9\u30dd\u30f3\u30b9\u5f62\u5f0f\u3067\u3084\u308a\u53d6\u308a\u3092\u884c\u3044\u307e\u3059\u3002\u30c8\u30e9\u30f3\u30b9\u30dd\u30fc\u30c8\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067UDP\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3000<\/p>\n\n\n\n<p><strong>SIP\u901a\u4fe1\u306b\u5fc5\u8981\u306a\u88c5\u7f6e<\/strong><br>\u30fb\u7aef\u672bUA(User Agent)<br>\u3000\u3000\u7aef\u672b\u9001\u4fe1UAC(User Agent Client)<br>\u3000\u3000\u3000\u30ea\u30af\u30a8\u30b9\u30c8\u9001\u4fe1<br>\u3000\u3000\u7aef\u672b\u53d7\u4fe1UAS(User Agent Server)<br>\u3000\u3000\u3000\u30ea\u30af\u30a8\u30b9\u30c8\u53d7\u4fe1\u30fb\u30ec\u30b9\u30dd\u30f3\u30b9\u9001\u4fe1<br>\u30fbSIP\u30b5\u30fc\u30d0\u30fc(\u4e2d\u7d99\u30b5\u30fc\u30d0\u30fc)<\/p>\n\n\n\n<p>\u3000<\/p>\n\n\n\n<p><strong>\u30ec\u30b8\u30b9\u30c8\u30e9<\/strong><br>SIP\u30b5\u30fc\u30d0\u30fc\u306b\u96fb\u8a71\u6a5f\u306eIP\u30a2\u30c9\u30ec\u30b9\u3092\u767b\u9332\u3059\u308b\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"http:\/\/team-okada.com\/wp-content\/uploads\/2025\/01\/register_5-1024x768.png\" alt=\"\" class=\"wp-image-729\" srcset=\"https:\/\/team-okada.com\/wp-content\/uploads\/2025\/01\/register_5-1024x768.png 1024w, https:\/\/team-okada.com\/wp-content\/uploads\/2025\/01\/register_5-300x225.png 300w, https:\/\/team-okada.com\/wp-content\/uploads\/2025\/01\/register_5-768x576.png 768w, https:\/\/team-okada.com\/wp-content\/uploads\/2025\/01\/register_5-1536x1152.png 1536w, https:\/\/team-okada.com\/wp-content\/uploads\/2025\/01\/register_5.png 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u3000<\/p>\n\n\n\n<p><strong>\u30d7\u30ed\u30b7\u30ad\u30fb\u30ea\u30c0\u30a4\u30ec\u30af\u30c8<\/strong><br>\u30ea\u30af\u30a8\u30b9\u30c8\u3001\u30ec\u30b9\u30dd\u30f3\u30b9\u3092\u4e2d\u7d99\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u5bfe\u3057\u3066IP\u30a2\u30c9\u30ec\u30b9\u3092\u8fd4\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"http:\/\/team-okada.com\/wp-content\/uploads\/2025\/01\/register_6-1024x768.png\" alt=\"\" class=\"wp-image-730\" srcset=\"https:\/\/team-okada.com\/wp-content\/uploads\/2025\/01\/register_6-1024x768.png 1024w, https:\/\/team-okada.com\/wp-content\/uploads\/2025\/01\/register_6-300x225.png 300w, https:\/\/team-okada.com\/wp-content\/uploads\/2025\/01\/register_6-768x576.png 768w, https:\/\/team-okada.com\/wp-content\/uploads\/2025\/01\/register_6-1536x1152.png 1536w, https:\/\/team-okada.com\/wp-content\/uploads\/2025\/01\/register_6.png 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u3000<\/p>\n\n\n\n<p><strong>\u30ec\u30b8\u30b9\u30bf\u306e\u30b7\u30fc\u30b1\u30f3\u30b9<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>    \u3000\u3000\u5185\u7dda\uff12\uff10                     SIP\u30b5\u30fc\u30d0\u30fc\n         |                              |\n         |(1) REGISTER                  |\n         |-----------------------------&gt;|\n         |(2) 401 Unauthorized          |\n         |&lt;-----------------------------|\n         |(3) REGISTER PA               |\n         |-----------------------------&gt;|\n         |(4) 200 OK                    |\n         |&lt;-----------------------------|\n         |                              |\n\nPA:Proxy-Authorization<\/code><\/pre>\n\n\n\n<p>\u3000<\/p>\n\n\n\n<p><strong>\u96fb\u8a71\u3092\u304b\u3051\u308b\u30b7\u30fc\u30b1\u30f3\u30b9<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>\u3000\u3000\u3000\u3000\u3000\u3000\u3000\uff29\uff30\u96fb\u8a71\u6a5f                               \uff29\uff30\u96fb\u8a71\u6a5f\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u5185\u7dda\uff12\uff10             SIP\u30b5\u30fc\u30d0\u30fc          \u5185\u7dda\uff12\uff11\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000|                    |                    |\n\u5185\u7dda\uff12\uff11\u306b\u96fb\u8a71\u3092|(1) INVITE          |                    |\n\u304b\u3051\u308b\u3000\u3000\u3000\u3000\u3000|------------------->|                    |\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000|(2) 407             |                    |\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000|<-------------------|                    |\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000|(3) ACK             |                    |\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000|------------------->|                    |\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000|(4) INVITE A        |                    |\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000|------------------->|(1) INVITE          |\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000|(5) 100 Trying      |------------------->|\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000|<-------------------|(2) 180 Ringing     |\u96fb\u8a71\u6a5f\u304c\u9cf4\u52d5\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000|(6) 180 Ringing     |<-------------------|\uff08\u30ea\u30ea\u30ea\u30ea\u30fc\u30f3\uff09\n\u547c\u51fa\u97f3\u3000\u3000\u3000\u3000\u3000|<-------------------|                    |\n\uff08\u30d7\u30eb\u30eb\u30eb\u30eb\uff09\u3000|                    |(3) 200 OK          |\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000|(7) 200 OK          |<-------------------|\u53d7\u8a71\u5668\u3092\u4e0a\u3052\u308b\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000|<-------------------|                    |\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000|(8) ACK             |                    |\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000|------------------->|                    |\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000|                    |(4) ACK             |\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000|                    |------------------->|\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000|                    |                    |\n\u901a\u8a71\u3000\u3000\u3000\u3000\u3000\u3000|<==================RTP==================>|\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000|                    |                    |\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000|                    |(5) BYE             |\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000|(9) BYE             |<-------------------|\u53d7\u8a71\u5668\u3092\u4e0b\u3059\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000|<-------------------|                    |\n\u96fb\u8a71\u304c\u5207\u308c\u308b\u3000\u3000|(10) 200 OK         |                    |\n\uff08\u30d7\u30fc\u30d7\u30fc\u30d7\uff09\u3000|------------------->|(6) 200 OK          |\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000|                    |------------------->|\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000|                    |                    |\n<\/code><\/div><\/pre-wrap>\n\n\n\n<p>\u3000<\/p>\n\n\n\n<p><strong>\u30ea\u30af\u30a8\u30b9\u30c8\u4f8b<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"703\" height=\"546\" src=\"http:\/\/team-okada.com\/wp-content\/uploads\/2024\/12\/sip_request.png\" alt=\"\" class=\"wp-image-641\" srcset=\"https:\/\/team-okada.com\/wp-content\/uploads\/2024\/12\/sip_request.png 703w, https:\/\/team-okada.com\/wp-content\/uploads\/2024\/12\/sip_request-300x233.png 300w\" sizes=\"auto, (max-width: 703px) 100vw, 703px\" \/><\/figure>\n\n\n\n<p>\u3000<\/p>\n\n\n\n<p><strong>\u30ec\u30b9\u30dd\u30f3\u30b9\u4f8b<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"703\" height=\"434\" src=\"http:\/\/team-okada.com\/wp-content\/uploads\/2024\/12\/sip_response.png\" alt=\"\" class=\"wp-image-640\" srcset=\"https:\/\/team-okada.com\/wp-content\/uploads\/2024\/12\/sip_response.png 703w, https:\/\/team-okada.com\/wp-content\/uploads\/2024\/12\/sip_response-300x185.png 300w\" sizes=\"auto, (max-width: 703px) 100vw, 703px\" \/><\/figure>\n\n\n\n<p>\u3000<\/p>\n\n\n\n<p><strong>\u30ea\u30af\u30a8\u30b9\u30c8(SIP\u30e1\u30bd\u30c3\u30c9)<\/strong><\/p>\n\n\n\n<p>\u3000INVITE ---- \u30bb\u30c3\u30b7\u30e7\u30f3\u958b\u59cb\u8981\u6c42<br>\u3000ACK ----- \u30bb\u30c3\u30b7\u30e7\u30f3\u78ba\u7acb\u306e\u78ba\u8a8d<br>\u3000BYE ----- \u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u7d42\u4e86<br>\u3000CANCEL ---- \u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u78ba\u7acb\u30ad\u30e3\u30f3\u30bb\u30eb<br>\u3000REGISTER ---- \u60c5\u5831\u306e\u767b\u9332<br>\u3000OPTIONS ---- \u30b5\u30fc\u30d0\u6a5f\u80fd\u554f\u3044\u5408\u308f\u305b<br>\u3000PRACK ---- \u66ab\u5b9a\u5fdc\u7b54\u306e\u78ba\u8a8d<br>\u3000INFO ---- \u30bb\u30c3\u30b7\u30e7\u30f3\u5185\u306e\u60c5\u5831\u901a\u77e5<br>\u3000SUBSCRIBE ---- \u30a4\u30d9\u30f3\u30c8\u306e\u901a\u77e5\u8981\u8acb<br>\u3000NOTIFY ---- \u8981\u8acb\u3055\u308c\u305f\u30a4\u30d9\u30f3\u30c8\u306e\u901a\u77e5<br>\u3000MESSAGE ---- \u30c6\u30ad\u30b9\u30c8\u30e1\u30c3\u30bb\u30fc\u30b8\u306a\u3069\u306e\u9001\u4fe1<br>\u3000UPDATE ---- \u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u5909\u66f4<br>\u3000PUBLISH ---- \u30b9\u30c6\u30fc\u30bf\u30b9\u60c5\u5831\u306e\u901a\u77e5<br>\u3000REFER ---- \u8ee2\u9001\u6307\u793a<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>\u30ec\u30b9\u30dd\u30f3\u30b9(\u5fdc\u7b54\u30b3\u30fc\u30c9)<\/strong><\/p>\n\n\n\n<p>\u30001xx = \u60c5\u5831\u5fdc\u7b54<br>\u3000\u3000100 \u8a66\u884c\u4e2d<br>\u3000\u3000180 \u547c\u3073\u51fa\u3057\u4e2d<br>\u3000\u3000183 \u30bb\u30c3\u30b7\u30e7\u30f3\u9032\u884c\u4e2d<\/p>\n\n\n\n<p>\u30002xx = \u6210\u529f\u5fdc\u7b54<br>\u3000\u3000200 OK<\/p>\n\n\n\n<p>\u30003xx = \u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u5fdc\u7b54<\/p>\n\n\n\n<p>\u30004xx = \u30ea\u30af\u30a8\u30b9\u30c8 \u30a8\u30e9\u30fc<br>\u3000\u3000400 \u4e0d\u6b63\u306a\u30ea\u30af\u30a8\u30b9\u30c8<br>\u3000\u3000401 \u8a8d\u8a3c\u304c\u5fc5\u8981\uff1a\u30ec\u30b8\u30b9\u30c8\u30e9\u306e\u307f\u5229\u7528\u53ef<br>\u3000\u3000407 \u30d7\u30ed\u30ad\u30b7\u8a8d\u8a3c\u304c\u5fc5\u8981<br>\u3000\u3000481 \u901a\u8a71 \/ \u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u304c\u5b58\u5728\u3057\u307e\u305b\u3093<br>\u3000\u3000486 \u8a71\u3057\u4e2d<\/p>\n\n\n\n<p>\u30005xx = \u30b5\u30fc\u30d0\u30fc \u30a8\u30e9\u30fc<br>\u3000\u3000500 \u30b5\u30fc\u30d0\u5185\u90e8\u30a8\u30e9\u30fc<br>\u3000\u3000503 \u30b5\u30fc\u30d3\u30b9\u5229\u7528\u4e0d\u53ef<br>\u3000\u3000504 \u30b5\u30fc\u30d0\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8<\/p>\n\n\n\n<p>\u30006xx = \u30b0\u30ed\u30fc\u30d0\u30eb \u30a8\u30e9\u30fc<\/p>\n\n\n\n<p><strong>SIP\u30d8\u30c3\u30c0<\/strong><\/p>\n\n\n\n<p>\u3000Call-ID ---- 1\u3064\u306e\u901a\u4fe1\u3092\u8b58\u5225\u3059\u308b\u30e6\u30cb\u30fc\u30af\u306aID<br>\u3000To --- \u30ea\u30af\u30a8\u30b9\u30c8\u306e\u7740\u4fe1\u5148<br>\u3000From --- \u30ea\u30af\u30a8\u30b9\u30c8\u306e\u751f\u6210\u5143<br>\u3000Contact --- \u30e6\u30fc\u30b6\u30fc\u304c\u76f4\u63a5\u901a\u4fe1\u3059\u308b\u305f\u3081\u306eURI\u60c5\u5831<br>\u3000CSeq --- \u65b0\u3057\u3044\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u3068\u3001\u518d\u9001\u3092\u533a\u5225\u3059\u308b\u305f\u3081\u306e\u30a4\u30f3\u30af\u30ea\u30e1\u30f3\u30c8\u5024<br>\u3000Via --- \u30ea\u30af\u30a8\u30b9\u30c8\u304c\u8fbf\u3063\u305f\u30d1\u30b9\u3092\u793a\u3059\u3002\u30ec\u30b9\u30dd\u30f3\u30b9\u306f\u3053\u306e\u60c5\u5831\u3092\u5143\u306b\u8fd4\u308b<br>\u3000Content-Length --- \u30dc\u30c7\u30a3\u306e\u9577\u3055(\u30d0\u30a4\u30c8\u6570)<br>\u3000Content-Type --- \u30dc\u30c7\u30a3\u306e\u30bf\u30a4\u30d7<\/p>\n\n\n\n<p><strong>SDP<\/strong>(Session Description Protocol)<\/p>\n\n\n\n<p>\u3000\u97f3\u58f0\u306a\u3069\u306e\u30e1\u30c7\u30a3\u30a2\u30b9\u30c8\u30ea\u30fc\u30df\u30f3\u30b0\u306eIP\u30a2\u30c9\u30ec\u30b9\u3084\u5727\u7e2e\u5f62\u5f0f\u3068\u3044\u3063\u305f\u30bb\u30c3\u30b7\u30e7\u30f3\u60c5\u5831\u3092\u3001\u3053\u306e\u30dc\u30c7\u30a3\u90e8\u306b\u4ed8\u3051\u3066\u3044\u307e\u3059\u3002\u300c\u30bf\u30a4\u30d7\uff1d\u5024\u300d\u306e\u5f62\u5f0f\u3002<\/p>\n\n\n\n<center><font size=\"3\"><a href=\"https:\/\/team-okada.com\/?p=791\" rel=\"prev\"><<\u524d\u306e\u8a18\u4e8b\u3078<\/a>&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;<a href=\"https:\/\/team-okada.com\/?p=882\" rel=\"next\">\u6b21\u306e\u8a18\u4e8b\u3078>><\/a><\/font><\/center>\n","protected":false},"excerpt":{"rendered":"<p>SIP:Session Initiation Protocol \u3000SIP\u3068\u306f\u3001IP\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3092\u901a\u3058\u3066\u3001\u97f3\u58f0\u3092\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u53ef\u80fd\u306b\u3059\u308b\u901a\u4fe1\u30d7\u30ed\u30c8\u30b3\u30eb\u3067\u3059\u3002\u96fb\u8a71\u306e\u547c\u51fa\u3057\u3001\u958b\u59cb\u3001\u7d42\u4e86\u3001\u8ee2\u9001\u3084\u4fdd\u7559\u306a\u3069\u306e\u901a\u8a71\u4e2d [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-586","post","type-post","status-publish","format-standard","hentry","category-asterisk"],"_links":{"self":[{"href":"https:\/\/team-okada.com\/index.php?rest_route=\/wp\/v2\/posts\/586","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/team-okada.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/team-okada.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/team-okada.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/team-okada.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=586"}],"version-history":[{"count":73,"href":"https:\/\/team-okada.com\/index.php?rest_route=\/wp\/v2\/posts\/586\/revisions"}],"predecessor-version":[{"id":971,"href":"https:\/\/team-okada.com\/index.php?rest_route=\/wp\/v2\/posts\/586\/revisions\/971"}],"wp:attachment":[{"href":"https:\/\/team-okada.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=586"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/team-okada.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=586"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/team-okada.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=586"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}