Call Us Today! 877.742.2583




Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

About

Excerpt

Send a text message to

a

an IM client.

Usage

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

Examples

from console

...

CLI

 

Above, 1000 and 1001 are different users and 172.20.0.1

...

is your SIP domain.In this case, SCS@conference.freeswitch.org is the external URI while 41.200.0.1 is your

...

freeswitch public IP

...

Perl

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

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