<div dir="ltr"><div>Hello Sergey,<br><br></div>use the "chat" api command or dialplan app:<br><br><a href="https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+chat" target="_blank">https://freeswitch.org/<wbr>confluence/display/FREESWITCH/<wbr>mod_dptools%3A+chat</a><br><br><br><div class="gmail_extra"><br><div class="gmail_quote">On 15 July 2017 at 11:02, Sergey Safarov <span dir="ltr"><<a href="mailto:s.safarov@gmail.com" target="_blank">s.safarov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Could you advice how to send simple message?<div>As I knows this may be done only from lua or esl script</div><div><a href="https://freeswitch.org/confluence/display/FREESWITCH/mod_sms#mod_sms-SendingaMessagefromascript" target="_blank">https://freeswitch.org/conflue<wbr>nce/display/FREESWITCH/mod_<wbr>sms#mod_sms-SendingaMessagefro<wbr>mascript</a><br></div><div><br></div><div>But provided example can send only to local endpoin</div><div>When i try send message to remote host thne got error like thisĀ <br><br>
<p class="m_-6164784182921321212m_7268988961212740979inbox-inbox-p1"><span class="m_-6164784182921321212m_7268988961212740979inbox-inbox-s1">2017-07-15 08:59:46.408247 [INFO] switch_cpp.cpp:1377 chat console<br></span>2017-07-15 08:59:46.408247 [ERR] sofia_presence.c:200 Chat proto [sip]<br>from [sip:1004@my.local.host]<br>to [1019@my.remote.host]<br>Hello from Seven Du! Have fun!<br>Invalid Profile my.remote.host<br><br>Please advice how to specify profile name in event?</p><p class="m_-6164784182921321212m_7268988961212740979inbox-inbox-p2"><span class="m_-6164784182921321212m_7268988961212740979inbox-inbox-s1"><br></span></p></div></div>
<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions<wbr>.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.o<wbr>rg</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswi<wbr>tch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/<wbr>freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><span><span><br>Sincerely,<br></span><span><font color="#888888"><br>
Giovanni Maruzzelli<br>
OpenTelecom.IT</font></span><br><span>cell: +39 347 266 56 18<span><font color="#888888"><br></font></span></span></span></div></div></div>
</div></div>