[SR-Users] configuring websockts in kamilio
Konstantin Polyakov
piligrim_pk at mail.ru
Sat Jun 2 21:29:27 CEST 2018
Hello Vinod,
We used Doubango sipML5 web phone
https://www.doubango.org/sipml5/call.htm?svn=252
It was quite good for debugging and testing webrtc calls.
Most of work in kamailio config I made by using that client.
Best regards.
Konstantin
>
>Message: 8
>Date: Fri, 1 Jun 2018 23:50:50 +0530
>From: vinod mn < vinodmn.dbit at gmail.com >
>To: sr-users at lists.kamailio.org
>Subject: [SR-Users] configuring websockts in kamilio
>Message-ID:
>< CAHeWXy7h4Tcp4Sg9_eM3teCHBdJ5bwHa9TYSJy+7P4e+bm1hqQ at mail.gmail.com >
>Content-Type: text/plain; charset="utf-8"
>
>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-0001.html >
>
>------------------------------
>
>Message: 9
>Date: Fri, 1 Jun 2018 23:57:23 +0530
>From: vinod mn < vinodmn.dbit at gmail.com >
>To: sr-users at lists.kamailio.org
>Subject: [SR-Users] configuring the websocket in kamailio 5.1
>Message-ID:
>< CAHeWXy4EH8+1afhw_ARrqNUNP-f1z7yC8Dd9UaWLMuiHhJ6QJQ at mail.gmail.com >
>Content-Type: text/plain; charset="utf-8"
>
>Hi,
>I configured the websocket in kamailio and it is running properly, which is
>the best webrtc client (with proper code as I dont't want to spend more
>time in writing the codes based on the example snippets ) can I use for
>registering, and making/ receiving the calls on the webrtc-client .
>
>requirement:
>webrtc-client(??)->register-> kamailio(already configured to use websocket)
>webrtc-client -> makecall to kamailio
>webrtc-client receives call from another client(sip not webrtc-client)
>
>--
>Thanks and regards
>Vinod.M.N
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: < http://lists.kamailio.org/pipermail/sr-users/attachments/20180601/d6ba613a/attachment-0001.html >
>
>------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180602/7494caba/attachment.html>
More information about the sr-users
mailing list