About

Send a text message to an IM client.

Usage

CLI

Here is an example sending to SIP and Verto endpoints:

freeswitch@default>chat sip|Server@FS.local|1000@domain.local|Hello chat from SIP!
freeswitch@default>chat verto|Server@FS.local|1000@domain.local|Hello chat from Verto!

 

Perl

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

 

See Also