[SR-Users] configuring websockts in kamilio

vinod mn vinodmn.dbit at gmail.com
Fri Jun 1 20:20:50 CEST 2018


hi configured websockets on kamilio 5.1.3
I am trying to register the client based on webrtc client ,(sip.js)
 the registration is fine but i am not getting the correct address  if i
run "*kamctl ul show"*


* In the address filed  I want the sip:<id>@<ip>:<port>ex:
sip:12345 at 127.0.0.1:12345 <http://sip:12345@127.0.0.1:12345> *
output shows:
{
  "jsonrpc":  "2.0",
  "result": {
    "Domains":  [{
        "Domain": {
          "Domain": "location",
          "Size": 1024,
          "AoRs": [{
              "Info": {
                "AoR":  "1xxxxxxxxx",
                "HashID": 1xxxxx,
                "Contacts": [{
                    "Contact":  {
                  *"Address":
"sip:eg84vjhr at p6ggglrk0gsh.invalid;transport=ws"*,
                      "Expires":  397,
                      "Q":  1,
                      "Call-ID":  "ma4feu2i43bnu6ophe4k78",
                      "CSeq": 86,
                      "User-Agent": "SIP.js/0.5.0-devel BB",
                      "Received": "sip:X.X.X.X:56087;transport=ws",
                      "Path": "[not set]",
                      "State":  "CS_NEW",
                      "Flags":  0,
                      "CFlags": 192,
                      "Socket": "tcp:X.X.X.X:8080",
                      "Methods":  783,
                      "Ruid": "uloc-5b116457-1dc1-03",
                      "Instance":
"<urn:uuid:0e879ebf-0a31-45a8-9fd9-6b937d3328d4>",
                      "Reg-Id": 1,
                      "Server-Id":  0,
                      "Tcpconn-Id": 259,
                      "Keepalive":  1,
                      "Last-Keepalive": 1527876355,
                      "Last-Modified":  1527876355
                    }
                  }]
              }
            }
  ],
          "Stats":  {
            "Records":  1,
            "Max-Slots":  1
          }
        }
      }]
  },
  "id": 18958
}

In the address filed  I want the sip:<id>@<ip>:<port>
ex: sip:12345 at 127.0.0.1:12345

Please give me any suggestions on this, which webrtc client can i use to
register to kamailio and able to receive on the client and to make outbound
calls from the client.

-- 
Thanks and regards
Vinod.M.N
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180601/7a810d59/attachment.html>


More information about the sr-users mailing list