Call Us Today! 877.742.2583




Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

About

Send a text message to a IM client.

Usage

chat <proto>|<from>|<to>|<message>

Examples

from console

chat sip|1000@172.20.0.1|1001@172.20.0.1|Hello chat from freeswitch
  • 1000/1001 are different users
  • 172.20.0.1 is your SIP domain

From Perl

$api = new freeswitch::API();
$foo = $api->execute("chat", "jingle|from_jid|to_jid|test");

Sending chat message to external URI

chat sip|1000@41.200.0.1|external/sip:SCS@conference.freeswitch.org|hi from freeswitch

in this case, SCS@conference.freeswitch.org is the external URI while 41.200.0.1 is your freeswitch public IP

See Also

  • No labels