{"id":516,"date":"2012-05-02T16:53:03","date_gmt":"2012-05-02T14:53:03","guid":{"rendered":""},"modified":"2018-11-01T00:50:34","modified_gmt":"2018-10-31T23:50:34","slug":"how-enable-roaming-ims-platform-using-hss-web-gui","status":"publish","type":"post","link":"https:\/\/nil.uniza.sk\/en\/how-enable-roaming-ims-platform-using-hss-web-gui\/","title":{"rendered":"How to enable roaming in IMS platform using the HSS web GUI"},"content":{"rendered":"<p>When you try to register IMS user via P-CSCF in visited network (roaming) in <a href=\"https:\/\/nil.uniza.sk\/en\/ngnims\/kamailio-ims\/installing-base-kamailio-ims-platform-debian-squeeze-32bit\/\">Kamailio IMS platform<\/a> you will probably get following error:<\/p>\n<p><style type=\"text\/css\">\n\t<!--\n\t\t@page { size: 8.5in 11in; margin: 0.79in }\n\t\tP { margin-bottom: 0.08in }\n\t\tA.cjk:link { so-language: zxx }\n\t\tA.ctl:link { so-language: zxx }\n\t-->\n\t<\/style>\n<\/p>\n<pre><code>403 Forbidden - HSS Roaming not allowed<\/code><\/pre>\n<p>This means that user is not allowed to register to appropriate IMS domain. So you will need to allow user in HSS databaze to use this visited network.<\/p>\n<p>&nbsp;<\/p>\n<p>Our domain is ims3.sip.uniza.sk and we want to register user sip:student@ims3.sip.uniza.sk via P-CSCF in domain ims1.sip.uniza.sk (pcscf.ims1.sip.uniza.sk):<\/p>\n<p><strong><br \/>\n<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"font-size: large;\">Adding new visited network<\/span><\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>At first we need to add Visited network.<\/p>\n<p>Navigate in HSS Choose <span style=\"font-style: italic;\"><span style=\"font-weight: bold;\">Network configuration<\/span><\/span> from upper menu,<\/p>\n<p>from left menu under <em>Visited Networks<\/em> choose <strong><em>Create <\/em><\/strong>and then insert <em>Indentity<\/em> (domain name of visited network), then click on Save.<\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" width=\"814\" height=\"387\" src=\"\/wp-content\/uploads\/files\/image\/ngn-ims\/kamailio-ims\/roaming\/add_visited_network.png\" alt=\"Add visited network\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>To verify successful creation you can <strong><em>Search<\/em><\/strong> (then click on Search) in <em>Visited Networks<\/em>:<\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" width=\"849\" height=\"328\" alt=\"\" src=\"\/wp-content\/uploads\/files\/image\/ngn-ims\/kamailio-ims\/roaming\/verify_visted_network(1).png\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: large;\">Assign visited network to user<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>Then you will need to assign created visited network to user (his public user identity sip:student@ims3.sip.uniza.sk)<\/p>\n<p>&nbsp;<\/p>\n<p>Choose <em><strong>User identities<\/strong><\/em> from upper menu,<\/p>\n<p>navigate to the left menu and under <em>Public User Identity<\/em> choose <em><strong>Search<\/strong><\/em> and select appropriate user.<\/p>\n<p>Add visited network (ims1.sip.uniza.sk in our case). Without this user is not allowed to register to IMS domain ims1.sip.uniza.sk.<\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" width=\"1068\" height=\"521\" src=\"\/wp-content\/uploads\/files\/image\/ngn-ims\/kamailio-ims\/roaming\/assign_visted_network.png\" alt=\"\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>After adding it appears under <em>List of Visited Networks<\/em>:<\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" width=\"825\" height=\"366\" src=\"\/wp-content\/uploads\/files\/image\/ngn-ims\/kamailio-ims\/roaming\/verify_assigned_visited_network.png\" alt=\"\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>After these steps we are able to register with user sip:student@ims3.sip.uniza.sk in ims1.sip.uniza.sk domain.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: large;\">Testing<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>We tested registration of sip:student@ims3.sip.uniza.sk on Monster IMS client ver. 0.9.25.<\/p>\n<p>&nbsp;<\/p>\n<p>We set the PCSCF address for pcscf.ims1.sip.uniza.sk as on the following picture:<\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" width=\"597\" height=\"633\" alt=\"\" src=\"\/wp-content\/uploads\/files\/image\/ngn-ims\/kamailio-ims\/roaming\/monster_settings.png\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Here is captured registration flow (158.193.139.40 is IP address of pcscf.ims1.sip.uniza.sk):<\/p>\n<pre>\r\nUDP 172.16.1.99:5060 --&gt; 158.193.139.40:5060\r\nREGISTER sip:ims3.sip.uniza.sk SIP\/2.0\r\nCall-ID: d0e1e82b6102d00f0f1e21178aa43d26@172.16.1.99\r\nCSeq: 1 REGISTER\r\nFrom: &quot;student&quot; &lt;sip:student@ims3.sip.uniza.sk&gt;;tag=1000\r\nTo: &quot;student&quot; &lt;sip:student@ims3.sip.uniza.sk&gt;\r\nVia: SIP\/2.0\/UDP 172.16.1.99:5060;branch=z9hG4bK787ce1057018bd12f33c3aa672de8eac34\r\nMax-Forwards: 20\r\nExpires: 3600\r\nAuthorization: Digest username=&quot;student@ims3.sip.uniza.sk&quot;,realm=&quot;ims3.sip.uniza.sk&quot;,nonce=&quot;&quot;,response=&quot;&quot;,uri=&quot;sip:ims3.sip.uniza.sk&quot;\r\nContact: &quot;student&quot; &lt;sip:student@172.16.1.99:5060&gt;;+sip.instance=76a5671b-9b2d-4f1a-8f87-a24ca4d0f0ae\r\nUser-Agent: monster Version: 0.9.25\r\nContent-Length: 0\r\n<\/pre>\n<pre>\r\nUDP 158.193.139.40:5060 --&gt; 172.16.1.99:5060\r\nSIP\/2.0 401 Unauthorized - Challenging the UE\r\nCall-ID: d0e1e82b6102d00f0f1e21178aa43d26@172.16.1.99\r\nCSeq: 1 REGISTER\r\nFrom: &quot;student&quot; &lt;sip:student@ims3.sip.uniza.sk&gt;;tag=1000\r\nTo: &quot;student&quot; &lt;sip:student@ims3.sip.uniza.sk&gt;;tag=68988887aea29c51493f22b8b0542a94-eddd\r\nVia: SIP\/2.0\/UDP 172.16.1.99:5060;rport=2423;received=158.193.139.247;branch=z9hG4bK787ce1057018bd12f33c3aa672de8eac34\r\n<span style=\"background-color: Yellow;\">Path: &lt;sip:term@pcscf.ims1.sip.uniza.sk:5060;lr&gt;<\/span>\r\n<span style=\"background-color: Lime;\">Service-Route: &lt;sip:orig@scscf2.ims3.sip.uniza.sk:5060;lr&gt;<\/span>\r\nAllow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, INFO\r\nServer: Serving-CSCF\r\nContent-Length: 0\r\nWWW-Authenticate: Digest realm=&quot;ims3.sip.uniza.sk&quot;, nonce=&quot;be5cc05c338e1673f621c3785e3ca810&quot;, algorithm=MD5, qop=&quot;auth,auth-int&quot;\r\n<\/pre>\n<pre>\r\nUDP 172.16.1.99:5060 --&gt; 158.193.139.40:5060\r\nREGISTER sip:ims3.sip.uniza.sk SIP\/2.0\r\nCall-ID: d0e1e82b6102d00f0f1e21178aa43d26@172.16.1.99\r\nCSeq: 2 REGISTER\r\nFrom: &quot;student&quot; &lt;sip:student@ims3.sip.uniza.sk&gt;;tag=1001\r\nTo: &quot;student&quot; &lt;sip:student@ims3.sip.uniza.sk&gt;\r\nVia: SIP\/2.0\/UDP 172.16.1.99:5060;branch=z9hG4bKdd0043eb7e69a289c57c2fed244d7de634\r\nMax-Forwards: 20\r\nAuthorization: Digest username=&quot;student@ims3.sip.uniza.sk&quot;,realm=&quot;ims3.sip.uniza.sk&quot;,nonce=&quot;be5cc05c338e1673f621c3785e3ca810&quot;,uri=&quot;sip:ims3.sip.uniza.sk&quot;,algoritm=MD5,response=&quot;a0784400bcbd4fe5f3abd5e73b174dc0&quot;,qop=auth-int,nc=00000001,cnonce=&quot;100561019853535198&quot;\r\nExpires: 3600\r\nContact: &quot;student&quot; &lt;sip:student@172.16.1.99:5060&gt;;+sip.instance=76a5671b-9b2d-4f1a-8f87-a24ca4d0f0ae\r\nUser-Agent: monster Version: 0.9.25\r\nContent-Length: 0\r\n<\/pre>\n<pre>\r\nUDP 158.193.139.40:5060 --&gt; 172.16.1.99:5060\r\nSIP\/2.0 200 OK - SAR succesful and registrar saved\r\nCall-ID: d0e1e82b6102d00f0f1e21178aa43d26@172.16.1.99\r\nCSeq: 2 REGISTER\r\nFrom: &quot;student&quot; &lt;sip:student@ims3.sip.uniza.sk&gt;;tag=1001\r\nTo: &quot;student&quot; &lt;sip:student@ims3.sip.uniza.sk&gt;;tag=68988887aea29c51493f22b8b0542a94-5359\r\nVia: SIP\/2.0\/UDP 172.16.1.99:5060;rport=2423;received=158.193.139.247;branch=z9hG4bKdd0043eb7e69a289c57c2fed244d7de634\r\nP-Associated-URI: &lt;sip:student@ims3.sip.uniza.sk&gt;\r\nContact: &lt;sip:student@172.16.1.99:5060&gt;;expires=3600;pub-gruu=&quot;sip:student@ims3.sip.uniza.sk;gr=76a5671b-9b2d-4f1a-8f87-a24ca4d0f0ae&quot;\r\n<span style=\"background-color: Yellow;\">Path: &lt;sip:term@pcscf.ims1.sip.uniza.sk:5060;lr&gt;<\/span>\r\n<span style=\"background-color: Lime;\">Service-Route: &lt;sip:orig@scscf2.ims3.sip.uniza.sk:5060;lr&gt;<\/span>\r\nAllow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, PUBLISH, MESSAGE, INFO\r\nServer: Serving-CSCF\r\nContent-Length: 0\r\n<\/pre>\n<p>You can see terminating P-CSCF address in <span style=\"background-color: Yellow;\">Path<\/span> header and serving S-CSCF in <span style=\"background-color: Lime;\">Service-Route<\/span> header.<\/p>\n<p>Both of them are in different domain, that means user student is in roaming.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>When you try to register IMS user via P-CSCF in visited network (roaming) in <a href=\"https:\/\/nil-test.kis.fri.uniza.sk\/ngnims\/kamailio-ims\/installing-base-kamailio-ims-platform-debian-squeeze-32bit\">Kamailio IMS platform<\/a> you will probably get following error:<\/p>\n<p><style type=\"text\/css\">\n\t<!--\n\t\t@page { size: 8.5in 11in; margin: 0.79in }\n\t\tP { margin-bottom: 0.08in }\n\t\tA.cjk:link { so-language: zxx }\n\t\tA.ctl:link { so-language: zxx }\n\t-->\n\t<\/style><\/p>","protected":false},"author":435,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"categories":[731],"tags":[],"class_list":["post-516","post","type-post","status-publish","format-standard","hentry","category-ngn-ims-kamailio"],"taxonomy_info":{"category":[{"value":731,"label":"Kamailio IMS"}]},"featured_image_src_large":false,"author_info":{"display_name":"","author_link":"https:\/\/nil.uniza.sk\/en\/author\/"},"comment_info":7,"category_info":[{"term_id":731,"name":"Kamailio IMS","slug":"ngn-ims-kamailio","term_group":0,"term_taxonomy_id":729,"taxonomy":"category","description":"","parent":729,"count":16,"filter":"raw","cat_ID":731,"category_count":16,"category_description":"","cat_name":"Kamailio IMS","category_nicename":"ngn-ims-kamailio","category_parent":729}],"tag_info":false,"_links":{"self":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/posts\/516","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/users\/435"}],"replies":[{"embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/comments?post=516"}],"version-history":[{"count":0,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/posts\/516\/revisions"}],"wp:attachment":[{"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/media?parent=516"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/categories?post=516"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nil.uniza.sk\/en\/wp-json\/wp\/v2\/tags?post=516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}