GTalk mod_dingaling read and send text messages
Hi freeswitch-users, I am a new FreeSwitch user. I am trying to send and read Gtalk text messages from the dialplan. Is that something I can do and how? Could not find examples from the wiki. Once I read the message, I need to place it into a variable. In advance thanks ! Seb
More generally, how do you send/receive xmpp messages with FreeSwitch ? Cheers, Seb On Mon, Jul 4, 2011 at 11:43 PM, Sebastien Peterson < sebastien.peterson@gmail.com> wrote:
Hi freeswitch-users, I am a new FreeSwitch user.
I am trying to send and read Gtalk text messages from the dialplan. Is that something I can do and how? Could not find examples from the wiki.
Once I read the message, I need to place it into a variable.
In advance thanks ! Seb
So sending works like this: <action application="set" data="api_result=${uuid_chat(${uuid} test message)}"/> ...Just still need to find how to receive now !! Seb On Tue, Jul 5, 2011 at 10:17 PM, Sebastien Peterson < sebastien.peterson@gmail.com> wrote:
More generally, how do you send/receive xmpp messages with FreeSwitch ?
Cheers, Seb
On Mon, Jul 4, 2011 at 11:43 PM, Sebastien Peterson < sebastien.peterson@gmail.com> wrote:
Hi freeswitch-users, I am a new FreeSwitch user.
I am trying to send and read Gtalk text messages from the dialplan. Is that something I can do and how? Could not find examples from the wiki.
Once I read the message, I need to place it into a variable.
In advance thanks ! Seb
In the logs, I can read: 2011-07-05 22:57:13.677155 [DEBUG] mod_dingaling.c:3143 SESSION MSG [12345678] "12345678" is the message I send from my GTalk client. So dingaling is capturing that. I just need to assign it to a dialplan variable. Cheers, Seb On Tue, Jul 5, 2011 at 10:45 PM, Sebastien Peterson < sebastien.peterson@gmail.com> wrote:
So sending works like this:
<action application="set" data="api_result=${uuid_chat(${uuid} test message)}"/>
...Just still need to find how to receive now !!
Seb
On Tue, Jul 5, 2011 at 10:17 PM, Sebastien Peterson < sebastien.peterson@gmail.com> wrote:
More generally, how do you send/receive xmpp messages with FreeSwitch ?
Cheers, Seb
On Mon, Jul 4, 2011 at 11:43 PM, Sebastien Peterson < sebastien.peterson@gmail.com> wrote:
Hi freeswitch-users, I am a new FreeSwitch user.
I am trying to send and read Gtalk text messages from the dialplan. Is that something I can do and how? Could not find examples from the wiki.
Once I read the message, I need to place it into a variable.
In advance thanks ! Seb
participants (1)
-
Sebastien Peterson