Yate Community Forum

Yate server => Yate server for Google Voice => Topic started by: cc08 on May 25, 2015, 04:17:44 AM

Title: How to send text message by jabberclient
Post 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.
Title: Re: How to send text message by jabberclient
Post by: 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)
Title: Re: How to send text message by jabberclient
Post by: cc08 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!
Title: Re: How to send text message by jabberclient
Post by: Max23B0 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