<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="NO-BOK">Hello.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="NO-BOK"><o:p> </o:p></span></p>
<p class="MsoNormal">The js client cannot know this information, and hence cannot send it. What you’re seeing is normal for SIP over websockets. It should just work. What issues are you experiencing?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black;mso-fareast-language:NO-BOK">With kind regards<br>
<b>Pan B. Christensen</b><br>
Developer<br>
<br>
Phonect AS <br>
Brugata 19, PB 9156 Grønland, N-0133 Oslo, Norway<br>
E-mail: </span><a href="mailto:pan.christensen@phonect.no"><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:#0563C1;mso-fareast-language:NO-BOK">pan.christensen@phonect.no</span></a><span style="font-size:9.0pt;font-family:"Helvetica",sans-serif;mso-fareast-language:NO-BOK"><br>
Mobile: 41 88 88 00<br>
<br>
<span style="color:black"><br>
</span></span><a href="http://www.phonect.no/"><span style="color:windowtext;mso-fareast-language:NO-BOK;text-decoration:none"><img border="0" width="159" height="51" style="width:1.6562in;height:.5312in" id="Picture_x0020_16" src="cid:image002.png@01D3FBEC.8DC5F210" alt="cid:image007.png@01D3A0E8.376921D0"></span></a><span style="mso-fareast-language:NO-BOK"><o:p></o:p></span></p>
<p class="MsoNormal"><a href="https://www.facebook.com/phonectno"><span style="color:windowtext;mso-fareast-language:NO-BOK;text-decoration:none"><img border="0" width="21" height="21" style="width:.2187in;height:.2187in" id="Picture_x0020_1" src="cid:image003.png@01D3FBEA.27C3D1A0" alt="facebook_2"></span></a><span style="color:black;mso-fareast-language:NO-BOK"> </span><a href="https://www.linkedin.com/company/44983?trk=tyah&trkInfo=clickedVertical%3Acompany%2CentityType%3AentityHistoryName%2CclickedEntityId%3Acompany_company_44983%2Cidx%3A0"><span style="font-size:10.5pt;color:black;mso-fareast-language:NO-BOK;text-decoration:none"><img border="0" width="21" height="21" style="width:.2187in;height:.2187in" id="Picture_x0020_2" src="cid:image004.png@01D3FBEA.27C3D1A0" alt="LinkedIn_logo_initials (1)"></span></a><span style="font-size:10.5pt;color:#1F497D;mso-fareast-language:NO-BOK"> </span><span style="mso-fareast-language:NO-BOK"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="NO-BOK"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>From:</b> sr-users <sr-users-bounces@lists.kamailio.org> <b>
On Behalf Of </b>vinod mn<br>
<b>Sent:</b> fredag 1. juni 2018 20:21<br>
<b>To:</b> sr-users@lists.kamailio.org<br>
<b>Subject:</b> [SR-Users] configuring websockts in kamilio<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">hi configured websockets on kamilio 5.1.3<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">I am trying to register the client based on webrtc client ,(sip.js)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> the registration is fine but i am not getting the correct address if i run "<b>kamctl ul show"</b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><b>In the address filed I want the <a href="sip:%3cid%3e@%3cip%3e:%3cport">
sip:<id>@<ip>:<port</a>><o:p></o:p></b></p>
</div>
<div>
<p class="MsoNormal"><b>ex: <a href="http://sip:12345@127.0.0.1:12345">sip:12345@127.0.0.1:12345</a><o:p></o:p></b></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">output shows:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">{<br>
"jsonrpc": "2.0",<br>
"result": {<br>
"Domains": [{<br>
"Domain": {<br>
"Domain": "location",<br>
"Size": 1024,<br>
"AoRs": [{<br>
"Info": {<br>
"AoR": "1xxxxxxxxx",<br>
"HashID": 1xxxxx,<br>
"Contacts": [{<br>
"Contact": {<br>
<b>"Address": "<a href="sip:eg84vjhr@p6ggglrk0gsh.invalid;transport=ws">sip:eg84vjhr@p6ggglrk0gsh.invalid;transport=ws</a>"</b>,<br>
"Expires": 397,<br>
"Q": 1,<br>
"Call-ID": "ma4feu2i43bnu6ophe4k78",<br>
"CSeq": 86,<br>
"User-Agent": "SIP.js/0.5.0-devel BB",<br>
"Received": "<a href="sip:X.X.X.X:56087;transport=ws">sip:X.X.X.X:56087;transport=ws</a>",<br>
"Path": "[not set]",<br>
"State": "CS_NEW",<br>
"Flags": 0,<br>
"CFlags": 192,<br>
"Socket": "tcp:X.X.X.X:8080",<br>
"Methods": 783,<br>
"Ruid": "uloc-5b116457-1dc1-03",<br>
"Instance": "<urn:uuid:0e879ebf-0a31-45a8-9fd9-6b937d3328d4>",<br>
"Reg-Id": 1,<br>
"Server-Id": 0,<br>
"Tcpconn-Id": 259,<br>
"Keepalive": 1,<br>
"Last-Keepalive": 1527876355,<br>
"Last-Modified": 1527876355<br>
}<br>
}]<br>
}<br>
}<br>
],<br>
"Stats": {<br>
"Records": 1,<br>
"Max-Slots": 1<br>
}<br>
}<br>
}]<br>
},<br>
"id": 18958<br>
}<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">In the address filed I want the <a href="sip:%3cid%3e@%3cip%3e:%3cport">
sip:<id>@<ip>:<port</a>><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">ex: <a href="http://sip:12345@127.0.0.1:12345">sip:12345@127.0.0.1:12345</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">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.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><br>
-- <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal">Thanks and regards <o:p></o:p></p>
<div>
<p class="MsoNormal">Vinod.M.N<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>