<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<p>Hello,</p>
<p><br>
</p>
<p>maybe you can run with debug=3 in kamailio.cfg and see if you get
more hints about happens from the log messages.</p>
<p><br>
</p>
<p>Cheers,<br>
Daniel</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 14.04.21 13:40, Daniel Hermann N'don
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:MWHPR05MB2911495147394DA76571D210814E9@MWHPR05MB2911.namprd05.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
255, 255);">
<span style="margin: 0px; font-size: 12pt; color: rgb(0, 0, 0);
background-color: rgb(255, 255, 255);">Hello guys !!!</span>
<div style="margin: 0px; font-size: 12pt; color: rgb(0, 0, 0);
background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="margin: 0px; font-size: 12pt; color: rgb(0, 0, 0);
background-color: rgb(255, 255, 255);">
i'm a beginner in kamailio technology and <span
style="margin:0px">i want to use kamailio http_client module
to get data from API, but</span></div>
<div style="margin: 0px; font-size: 12pt; color: rgb(0, 0, 0);
background-color: rgb(255, 255, 255);">
<span style="margin:0px">i got :</span></div>
<div style="margin: 0px; font-size: 12pt; color: rgb(0, 0, 0);
background-color: rgb(255, 255, 255);">
<span style="margin:0px"><br>
</span></div>
<div style="margin: 0px; font-size: 12pt; color: rgb(0, 0, 0);
background-color: rgb(255, 255, 255);">
<span style="margin:0px">Access error : Unauthorized</span></div>
<div style="margin: 0px; font-size: 12pt; color: rgb(0, 0, 0);
background-color: rgb(255, 255, 255);">
<span style="margin:0px">Access Denied Wrong Password</span></div>
<div style="margin: 0px; font-size: 12pt; color: rgb(0, 0, 0);
background-color: rgb(255, 255, 255);">
<span style="margin:0px"><br>
</span></div>
<div style="margin: 0px; font-size: 12pt; color: rgb(0, 0, 0);
background-color: rgb(255, 255, 255);">
<span style="margin:0px"><br>
</span></div>
<div style="margin: 0px; font-size: 12pt; color: rgb(0, 0, 0);
background-color: rgb(255, 255, 255);">
My user IDs are correct. API's encryption is MD5 (digest Auth
). </div>
<div style="margin: 0px; font-size: 12pt; color: rgb(0, 0, 0);
background-color: rgb(255, 255, 255);">
So i use:</div>
<div style="margin: 0px; font-size: 12pt; color: rgb(0, 0, 0);
background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="margin: 0px; font-size: 12pt; color: rgb(0, 0, 0);
background-color: rgb(255, 255, 255);">
<div style="margin: 0px; font-weight: normal; font-size: 12px;
line-height: 18px; font-family: Menlo, Monaco, "Courier
New", monospace; color: rgb(212, 212, 212);
background-color: rgb(30, 30, 30);">
<span style="margin:0px"><span style="margin: 0px; color:
rgb(86, 156, 214);">modparam</span><span
style="margin:0px">(</span><span style="margin: 0px;
color: rgb(206, 145, 120);">"http_client"</span><span
style="margin:0px">,<span> </span></span><span
style="margin: 0px; color: rgb(206, 145, 120);">"authmethod"</span><span
style="margin:0px">,<span> </span></span><span
style="margin: 0px; color: rgb(181, 206, 168);">2</span><span
style="margin:0px">)</span></span></div>
</div>
<div style="margin: 0px; font-size: 12pt; color: rgb(0, 0, 0);
background-color: rgb(255, 255, 255);">
...</div>
<div style="margin: 0px; font-size: 12pt; color: rgb(0, 0, 0);
background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="margin: 0px; font-size: 12pt; color: rgb(0, 0, 0);
background-color: rgb(255, 255, 255);">
<div style="margin: 0px; font-weight: normal; font-size: 12px;
line-height: 18px; font-family: Menlo, Monaco, "Courier
New", monospace; color: rgb(212, 212, 212);
background-color: rgb(30, 30, 30);">
<span style="margin:0px"><span style="margin: 0px; color:
rgb(86, 156, 214);">modparam</span><span
style="margin:0px">(</span><span style="margin: 0px;
color: rgb(206, 145, 120);">"http_client"</span><span
style="margin:0px">,<span> </span></span><span
style="margin: 0px; color: rgb(206, 145, 120);">"cipher_suites"</span><span
style="margin:0px">,<span> </span></span><span
style="margin: 0px; color: rgb(206, 145, 120);">"</span></span><span
style="margin:0px">ecdhe_ecdsa_aes_128_gcm_sha_256</span><span
style="margin:0px">, rsa_aes_128_gcm_sha_256</span><span
style="margin: 0px; color: rgb(206, 145, 120);">"</span><span
style="margin:0px">) </span></div>
then </div>
<div style="margin: 0px; font-size: 12pt; color: rgb(0, 0, 0);
background-color: rgb(255, 255, 255);">
<div style="margin: 0px; font-weight: normal; font-size: 12px;
line-height: 18px; font-family: Menlo, Monaco, "Courier
New", monospace; color: rgb(212, 212, 212);
background-color: rgb(30, 30, 30);">
<span style="margin:0px"><span style="margin: 0px; color:
rgb(86, 156, 214);">modparam</span><span
style="margin:0px">(</span><span style="margin: 0px;
color: rgb(206, 145, 120);">"http_client"</span><span
style="margin:0px">,<span> </span></span><span
style="margin: 0px; color: rgb(206, 145, 120);">"cipher_suites"</span><span
style="margin:0px">,<span> </span></span><span
style="margin: 0px; color: rgb(206, 145, 120);">"rc4-md5"</span><span
style="margin:0px">)</span></span></div>
<br>
</div>
<span style="margin: 0px; font-size: 12pt; color: rgb(0, 0, 0);
background-color: rgb(255, 255, 255);">Can someone help me
please ?</span><br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - Online
May 17-20, 2021 (Europe Timezone) - June 7-10, 2021 (America Timezone)
* <a class="moz-txt-link-freetext" href="https://www.asipto.com/sw/kamailio-advanced-training-online/">https://www.asipto.com/sw/kamailio-advanced-training-online/</a></pre>
</body>
</html>