<div dir="ltr"><div>upd: Let me describe my use case. I need conference chats. Clients are <a href="mailto:1001-1009@domain.name">1001-1009@domain.name</a><br> Conference is <a href="mailto:3500@domain.name">3500@domain.name</a><br></div><div>Messages are sent from <a href="mailto:1001-1009@domain.name">1001-1009@domain.name</a> to <a href="mailto:3500@domain.name">3500@domain.name</a><br></div><div>Every user joins conference room chat-3500. Join is successful - but nothing more. Messages are not relayed anywhere and I don't want to relay them - I just need to understand how this module works. My current configuration is:<br>if (is_method("MESSAGE") && $fU != "chat-3500")<br>{<br>    if(imc_manager())<br>        sl_send_reply("200", "ok");<br>    else<br>        sl_send_reply("500", "command error");<br>    exit;<br>}<br></div><div>This allows me to receive system messages - but I can't get any messages from clients.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-12-15 18:43 GMT+02:00 Alexandru Covalschi <span dir="ltr"><<a href="mailto:568691@gmail.com" target="_blank">568691@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello again<br>First of all I wanted to ask if someone ever implemented that <a href="http://kamailio.org/docs/modules/4.3.x/modules/imc.html" target="_blank">http://kamailio.org/docs/modules/4.3.x/modules/imc.html</a> with WebRTC<br></div>Second question is - I don't understand the logic. In description is said: <br clear="all"><p>
                Handles Message method.It detects if the body of the message is a
                conference command.If so it executes it, otherwise it sends the
                message to all the members in the room. 
                <br><br></p><p>But why in example (well however it has broken syntax) to IMC manager are sent only messages from chat-rooms? How message from client can possibly reach imc-manager then?<br></p><p>Also - when I send message with body "1111111" from user 1001 and imc_manager catches it -  I receive 500 command error. Why? :/ <br></p><p>All that is working on top of sipjs-demo. <br></p><span class="HOEnZb"><font color="#888888"><div><div><div><div><br>-- <br><div><div dir="ltr">Alexandru Covalschi<br>ABRISS-Solutions<div>VoIP engineer and system administrator<br>phone: <a href="tel:%2B37367398493" value="+37367398493" target="_blank">+37367398493</a><br>web: <a href="http://abs-telecom.com/" target="_blank">http://abs-telecom.com/</a></div></div></div>
</div></div></div></div></font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">Alexandru Covalschi<br>ABRISS-Solutions<div>VoIP engineer and system administrator<br>phone: +37367398493<br>web: <a href="http://abs-telecom.com/" target="_blank">http://abs-telecom.com/</a></div></div></div>
</div>