Yate server > Yate server for Google Voice

How to send text message by jabberclient

(1/1)

cc08:
Please litlle example, how to send short message from external php script.
Or link to subj.

marian:
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:
Yes!
It's work.
Even in regexroute.conf

--- Code: ---^7774$=enqueue msg.execute;account=localjb;called=user1@suse.local;body=YesYesYes

--- End code ---

Thanks, Marian!

Max23B0:

--- Quote from: marian 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)

--- End quote ---
Oh thank you I didn't know that

Navigation

[0] Message Index

Go to full version