<div dir="ltr">Alexander,<div><br></div><div>First, let me say I do not use Opensips for instant message or related operations. Looking at your capture, however, I may have a thought. Let's look at the headers from Ekiga's authenticated MESSAGE:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>U 2015/10/31 13:02:54.844064 <a href="http://192.168.2.109:5060">192.168.2.109:5060</a> -> <a href="http://127.0.0.1:5060">127.0.0.1:5060</a></div></div><div><div>MESSAGE <a href="mailto:sip%3A5678@127.0.0.1">sip:5678@127.0.0.1</a> SIP/2.0.</div></div><div><div>CSeq: 17 MESSAGE.</div></div><div><div>Via: SIP/2.0/UDP 192.168.2.109:5060;branch=z9hG4bK4ef094e5-5e7e-e511-8953-0008cafa0605;rport.</div></div><div><div>User-Agent: Ekiga/<a href="http://4.0.1.">4.0.1.</a></div></div><div><div>From: <sip:<b>5678</b>@<a href="http://127.0.0.1">127.0.0.1</a>>.</div></div><div><div>Call-ID: 868b94e5-5e7e-e511-8953-0008cafa0605@G75VW.</div></div><div><div>To: <<a href="mailto:sip%3A5678@127.0.0.1">sip:5678@127.0.0.1</a>>.</div></div><div><div>Proxy-Authorization: Digest username="<b>1234</b>", realm="127.0.0.1", nonce="5634f45c0000000f04ee114e87bbede48ba1228797acae09", uri="<a href="mailto:sip%3A5678@127.0.0.1">sip:5678@127.0.0.1</a>", algorithm=MD5, response="4f5373eb311376dad81cfae2e5122423".</div></div><div><div>Expires: 5000.</div></div><div><div>Content-Length: 2.</div></div><div><div>Content-Type: text/plain;charset=UTF-8.</div></div><div><div>Max-Forwards: 70.</div></div></blockquote><div><div><br></div></div><div>The From header says your Ekiga is configured with 5678, but you're trying to authenticate as 1234 (Proxy-Authorization header). I believe that is why Opensips returns a 403 Forbidden Auth ID in the subsequent packet. You probably want 1234 in the From header since it appears you're trying to send the message to 5678. Perhaps this is a misplaced value in Ekiga's configuration. I'm surprised you're able to completely a registration.</div><div><br></div><div>Or, I could be completely wrong. As I mentioned, I don't do IM over SIP.</div><div><br></div><div><br></div><div>- Jeff</div><div><br></div><div><br></div><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 2, 2015 at 2:49 PM, Alexander Shukaev <span dir="ltr"><<a href="mailto:opensips@alexander.shukaev.name" target="_blank">opensips@alexander.shukaev.name</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Apologies, I don't want to look like a nasty bumper here, but I can't believe that nobody has a slightest idea how to approach the problem. I would be grateful even for a link to mailing list/forum/community where I could find help with this.<br>
<br>
Regards,<br>
Alexander<div><div class="h5"><br>
<br>
On 31.10.2015 18:14, Alexander Shukaev wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5">
Hello everyone,<br>
<br>
I'm testing a new setup of OpenSIPS. I have created two accounts in<br>
DB: 1234 and 5678. I run both, Ekiga and Linphone, to test<br>
communication between these two accounts. So through Ekiga, I<br>
register 1234 and add 5678 to contacts, while through Linphone, I<br>
register 5678 and add 1234 to contacts.<br>
<br>
There are two problems that I experience. First of all, within<br>
Linphone I can do both, IM and call from 5678 to 1234 (Ekiga), and in<br>
Ekiga I can read those IMs and accept calls accordingly, while within<br>
Ekiga I can neither IM nor call from 1234 to 5678 (Linphone) as for<br>
IMs I get "NOTICE: Could not send message: Forbidden" (for calls I<br>
assume it's the same error, though not shown). I attach the<br>
corresponding Wireshark log. Secondly, even though I can IM from<br>
Linphone to Ekiga, the result is strange. In particular, each IM<br>
arrives twice to Ekiga. In other words, in Linphone I see the IM<br>
being typed once into chat, while in Ekiga I get two notifications for<br>
each IM and that each IM appears two times in the chat.<br>
<br>
I'm new to OpenSIPS and VoIP in general, and I have no idea how to<br>
deal with these quirks. Any help is greatly appreciated. Thanks in<br>
advance.<br>
<br>
Regards,<br>
Alexander<br></div></div>
_____________________</blockquote></blockquote></div></div></div></div>