Author Topic: How to send text message by jabberclient  (Read 1244 times)

cc08

  • Guest
How to send text message by jabberclient
« on: May 25, 2015, 04:17:44 AM »
Please litlle example, how to send short message from external php script.
Or link to subj.

marian

  • Sr. Member
  • ****
  • Posts: 383
    • View Profile
Re: How to send text message by jabberclient
« Reply #1 on: May 25, 2015, 04:32:52 AM »
The message name is 'msg.execute'
Required params:
account: The account name you set when connecting to server
to: The jabber id of the destination (user@domain or user@domain/resource)
body: Text to send
Optional params:
id: Chat message id (if you want to handle the confirmation)

cc08

  • Guest
Re: How to send text message by jabberclient
« Reply #2 on: May 25, 2015, 03:29:42 PM »
Yes!
It's work.
Even in regexroute.conf
Code: [Select]
^7774$=enqueue msg.execute;account=localjb;called=user1@suse.local;body=YesYesYes

Thanks, Marian!