Thank you GiovanniI tested but got similar errorfreeswitch@ip-10-0-0-245> chat sip|1001@my.local.host|1002@my.remote.host|Hello chat via SIP!
Error! Message Not Sent
2017-07-15 19:31:46.048232 [ERR] sofia_presence.c:200 Chat proto [global]
from [1001@my.local.host]
to [1002@my.remote.host]
Hello chat via SIP!
Invalid Profile my.remote.hostSergey
сб, 15 июл. 2017 г. в 12:20, Giovanni Maruzzelli <gmaruzz@gmail.com>:Hello Sergey,use the "chat" api command or dialplan app:
https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+chatOn 15 July 2017 at 11:02, Sergey Safarov <s.safarov@gmail.com> wrote:Could you advice how to send simple message?As I knows this may be done only from lua or esl scriptBut provided example can send only to local endpoinWhen i try send message to remote host thne got error like this
2017-07-15 08:59:46.408247 [INFO] switch_cpp.cpp:1377 chat console
2017-07-15 08:59:46.408247 [ERR] sofia_presence.c:200 Chat proto [sip]
from [sip:1004@my.local.host]
to [1019@my.remote.host]
Hello from Seven Du! Have fun!
Invalid Profile my.remote.host
Please advice how to specify profile name in event?
__________________________________________________________________________________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Sincerely,
Giovanni Maruzzelli
OpenTelecom.IT
cell: +39 347 266 56 18
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org