Author Topic: How to send text message by jabberclient  (Read 16456 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

  • Hero Member
  • *****
  • Posts: 513
    • 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!

Max23B0

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: How to send text message by jabberclient
« Reply #3 on: March 23, 2020, 12:19:32 PM »
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)
Oh thank you I didn't know that