<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>HI,<br>
</p>
<p>I am facing a problem related to the IMC module.<br>
<br>
I have installed kamailio 5.2.x and I tried to list the members of
a room-qsipchat.<br>
<br>
In my test environment the kamailio.cfg file it is very basic, the
kamailio server listen on<br>
tcp=192.168.100.192:15006 <br>
<br>
the client run on a PC with IP address 192.168.100.156<br>
<br>
the imc outbound_proxy is set<br>
modparam("imc", "db_url", DBURL)<br>
modparam("imc", "imc_cmd_start_char", "#")<br>
modparam("imc", "outbound_proxy",
"sip:sip-test.quintetto.it:15006;transport=tcp")<br>
<br>
The client start by sending a #join message to kamailio and
looking the log file I can see that the room-qsipchat has been
create, and also I received the message 200 OK.<br>
<br>
By using the tcpdump I can see the join message from the Client to
kamailio server and the reply from kamailio to the client.<br>
<br>
When I send the #list message to the room-qsipchat , I expecting
to receive the message relate to room's members and the 200 OK
message.<br>
<br>
When I tcp dumping I saw the following messages<br>
</p>
<p><br>
</p>
<p><br>
********************************************************************<br>
Request from client to list the members - from client to server</p>
<p>********************************************************************</p>
<p>TX 538 bytes Request msg MESSAGE/cseq=57652 (tdta0x77b26460a8) to
TCP 192.168.100.192:15006:<br>
MESSAGE <a class="moz-txt-link-abbreviated" href="mailto:sip:room-qsipchat@sip-test.quintetto.it">sip:room-qsipchat@sip-test.quintetto.it</a> SIP/2.0<br>
Via: SIP/2.0/TCP
192.168.100.156:48129;rport;branch=z9hG4bKPjRzgOBgY6vfKZ8Fh8GA4CWheCO840Xzud;alias<br>
Max-Forwards: 70<br>
From:
<a class="moz-txt-link-rfc2396E" href="mailto:sip:quintetto00@sip-test.quintetto.it"><sip:quintetto00@sip-test.quintetto.it></a>;tag=1is.Ng6ZKJmCT1uAJ9WuJhe3hiQysj9f<br>
To: <a class="moz-txt-link-rfc2396E" href="mailto:sip:room-qsipchat@sip-test.quintetto.it"><sip:room-qsipchat@sip-test.quintetto.it></a><br>
Call-ID: GwOQMLFfIq7o7jvF4OQlJ-jBb2OBaAKY<br>
CSeq: 57652 MESSAGE<br>
Accept: text/plain, application/im-iscomposing+xml<br>
Route:
<sip:sip-test.quintetto.it:15006;transport=tcp;lr><br>
Content-Type: text/plain<br>
Content-Length: 5<br>
<br>
#list<br>
</p>
<p><br>
<br>
******************************************************************** <br>
The server ask for the authentication - from server to client</p>
<p>********************************************************************
<br>
</p>
<p>2022-10-17 15:45:25.837 4700-10610/it.quintetto.qsipchat
D/pjlib(pjsua_1): RX 574 bytes Response msg 407/MESSAGE/cseq=57652
(rdata0x77b3337330) from TCP 192.168.100.192:15006:<br>
SIP/2.0 407 Proxy Authentication Required<br>
Via: SIP/2.0/TCP
192.168.100.156:48129;rport=48129;branch=z9hG4bKPjRzgOBgY6vfKZ8Fh8GA4CWheCO840Xzud;alias;received=192.168.100.156<br>
From:
<a class="moz-txt-link-rfc2396E" href="mailto:sip:quintetto00@sip-test.quintetto.it"><sip:quintetto00@sip-test.quintetto.it></a>;tag=1is.Ng6ZKJmCT1uAJ9WuJhe3hiQysj9f<br>
To:
<a class="moz-txt-link-rfc2396E" href="mailto:sip:room-qsipchat@sip-test.quintetto.it"><sip:room-qsipchat@sip-test.quintetto.it></a>;tag=1e5fbdd4b14eff95c400342f4634da91.e417<br>
Call-ID: GwOQMLFfIq7o7jvF4OQlJ-jBb2OBaAKY<br>
CSeq: 57652 MESSAGE<br>
Proxy-Authenticate: Digest realm="sip-test.quintetto.it",
nonce="Y01doWNNXHVEyRtiAyN28xJdMjNIG8Ju"<br>
Server: kamailio (5.2.8 (x86_64/linux))<br>
Content-Length: 0<br>
</p>
<p> <br>
*********************************************************************<br>
The client send the authenticated request - from client to server</p>
<p>********************************************************************
<br>
</p>
<p>TX 755 bytes Request msg MESSAGE/cseq=57653 (tdta0x77b26460a8) to
TCP 192.168.100.192:15006:<br>
MESSAGE <a class="moz-txt-link-abbreviated" href="mailto:sip:room-qsipchat@sip-test.quintetto.it">sip:room-qsipchat@sip-test.quintetto.it</a> SIP/2.0<br>
Via: SIP/2.0/TCP
192.168.100.156:48129;rport;branch=z9hG4bKPjj6uuy25r0kKlnICHKQWEaIweOex-sNyq;alias<br>
Max-Forwards: 70<br>
From:
<a class="moz-txt-link-rfc2396E" href="mailto:sip:quintetto00@sip-test.quintetto.it"><sip:quintetto00@sip-test.quintetto.it></a>;tag=1is.Ng6ZKJmCT1uAJ9WuJhe3hiQysj9f<br>
To: <a class="moz-txt-link-rfc2396E" href="mailto:sip:room-qsipchat@sip-test.quintetto.it"><sip:room-qsipchat@sip-test.quintetto.it></a><br>
Call-ID: GwOQMLFfIq7o7jvF4OQlJ-jBb2OBaAKY<br>
CSeq: 57653 MESSAGE<br>
Accept: text/plain, application/im-iscomposing+xml<br>
Route:
<sip:sip-test.quintetto.it:15006;transport=tcp;lr><br>
Proxy-Authorization: Digest username="quintetto00",
realm="sip-test.quintetto.it",
nonce="Y01doWNNXHVEyRtiAyN28xJdMjNIG8Ju",
uri=<a class="moz-txt-link-rfc2396E" href="mailto:sip:room-qsipchat@sip-test.quintetto.it">"sip:room-qsipchat@sip-test.quintetto.it"</a>,
response="d495ec20cb1be8f1b605d4e5b1a4c357"<br>
Content-Type: text/plain<br>
Content-Length: 5<br>
<br>
#list <br>
<br>
</p>
<p><br>
**************************************************************************<br>
The server send the 200 OK message - from server to client</p>
<p>********************************************************************</p>
<p>RX 447 bytes Response msg 200/MESSAGE/cseq=57653
(rdata0x77b3337330) from TCP 192.168.100.192:15006:<br>
SIP/2.0 200 ok<br>
Via: SIP/2.0/TCP
192.168.100.156:48129;rport=48129;branch=z9hG4bKPjj6uuy25r0kKlnICHKQWEaIweOex-sNyq;alias;received=192.168.100.156<br>
From:
<a class="moz-txt-link-rfc2396E" href="mailto:sip:quintetto00@sip-test.quintetto.it"><sip:quintetto00@sip-test.quintetto.it></a>;tag=1is.Ng6ZKJmCT1uAJ9WuJhe3hiQysj9f<br>
To:
<a class="moz-txt-link-rfc2396E" href="mailto:sip:room-qsipchat@sip-test.quintetto.it"><sip:room-qsipchat@sip-test.quintetto.it></a>;tag=1e5fbdd4b14eff95c400342f4634da91.365f<br>
Call-ID: GwOQMLFfIq7o7jvF4OQlJ-jBb2OBaAKY<br>
CSeq: 57653 MESSAGE<br>
Server: kamailio (5.2.8 (x86_64/linux))<br>
Content-Length: 0<br>
<br>
</p>
<p> <br>
*********************************************************************************<br>
Till here everything is OK.<br>
<br>
But regarding the members when a TCP dumping I saw a message with
the room's members <br>
that go from the kamailio server to the kamailio server <br>
</p>
<p>*********************************************************************************<br>
<br>
MESSAGE <a class="moz-txt-link-abbreviated" href="mailto:sip:quintetto00@sip-test.quintetto.it">sip:quintetto00@sip-test.quintetto.it</a> SIP/2.0<br>
Via: SIP/2.0/TCP
192.168.100.192:15006;branch=z9hG4bKf20a.be253b92000000000000000000000000.0<br>
To: <a class="moz-txt-link-rfc2396E" href="mailto:sip:quintetto00@sip-test.quintetto.it"><sip:quintetto00@sip-test.quintetto.it></a><br>
From:
<a class="moz-txt-link-rfc2396E" href="mailto:sip:room-qsipchat@sip-test.quintetto.it"><sip:room-qsipchat@sip-test.quintetto.it></a>;tag=03e4c67b0f95c0aeb1f633479b4aa5cd-72f2<br>
CSeq: 10 MESSAGE<br>
Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:37db44aa523ea24a-6567@192.168.100.192">37db44aa523ea24a-6567@192.168.100.192</a><br>
Max-Forwards:.70<br>
Content-Length: 47<br>
User-Agent: kamailio (5.2.8 (x86_64/linux))<br>
Content-Type: text/plain<br>
<br>
Members:<br>
*sip:quintetto00@sip-test.quintetto.it</p>
<p><br>
**************************************************************************************<br>
a reply from the kamailio server to the kamailio server, with an
authenticated request</p>
<p>**************************************************************************************</p>
<p>SIP/2.0.407.Proxy Authentication.Required<br>
Via: SIP/2.0/TCP
192.168.100.192:15006;branch=z9hG4bKf20a.be253b92000000000000000000000000.0<br>
To:
<a class="moz-txt-link-rfc2396E" href="mailto:sip:quintetto00@sip-test.quintetto.it"><sip:quintetto00@sip-test.quintetto.it></a>;tag=1e5fbdd4b14eff95c400342f4634da91.cfc3<br>
From:
<a class="moz-txt-link-rfc2396E" href="mailto:sip:room-qsipchat@sip-test.quintetto.it"><sip:room-qsipchat@sip-test.quintetto.it></a>;tag=03e4c67b0f95c0aeb1f633479b4aa5cd-72f2<br>
CSeq: 10 MESSAGE<br>
Call-ID: <a class="moz-txt-link-abbreviated" href="mailto:37db44aa523ea24a-6567@192.168.100.192">37db44aa523ea24a-6567@192.168.100.192</a><br>
Proxy-Authenticate: Digest realm="sip-test.quintetto.it",
nonce="Y01fQmNNXhbsHdM1THmENyJn1MH/VD/8"<br>
Server: kamailio (5.2.8 (x86_64/linux))<br>
Content-Length:.0</p>
<p><br>
<br>
**************************************************************************************<br>
bottom of line the outbound_proxy request for an authenticated
request, but kamailio do not reply to this request.<br>
<br>
Could you please point me in the right direction?</p>
<p><br>
</p>
<p>Thanks a lot for any help.</p>
<p><br>
</p>
<p>Bye<br>
</p>
<div class="moz-signature">-- <br>
<font color="#118311">
<hr>
<p style="font-family:sans-serif;font-size:14px">
Ing. Giovanni Iamonte<br>
Developments and technologies area<br>
Quintetto Srl<br>
Via Monte Navale, 1<br>
10015 - Ivrea (TO)<br>
mobile: +39 393 9196310<br>
tel: +39 0165 1845290<br>
e-mail: <a class="moz-txt-link-abbreviated" href="mailto:giovanni.iamonte@quintetto.it">giovanni.iamonte@quintetto.it</a><br>
web: <a class="moz-txt-link-abbreviated" href="http://www.quintetto.it">www.quintetto.it</a><br>
</p>
</font></div>
</body>
</html>