July 2017
Intermediate to advanced
434 pages
12h 59m
English
Inside mod_conference (conference_event.c file) there is a mechanism that broadcasts all chat messages in a conference to all conference participants (avoiding double send).
Messages are sent to the "presence_id" of the participants clients, but only if that client channel has a "chat_proto" variable set to a valid value (eg, mod_conference needs to know which argument must be given to the CHAT FS API for that particular "presence_id"). Many endpoint modules have their own chat protocol, you can use it even from fs_cli:
freeswitch@lxc111> show api chat name,description,syntax,ikey chat,chat,<proto>|<from>|<to>|<message>|[<content-type>],mod_dptools
Anyway, the "chat_proto" variable needed by mod_conference ...
Read now
Unlock full access