Yate Community Forum
Yate server => Yate server for Google Voice => Topic started by: cc08 on May 25, 2015, 04:17:44 AM
-
Please litlle example, how to send short message from external php script.
Or link to subj.
-
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)
-
Yes!
It's work.
Even in regexroute.conf
^7774$=enqueue msg.execute;account=localjb;called=user1@suse.local;body=YesYesYes
Thanks, 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)
Oh thank you I didn't know that