Msg.execute: Difference between revisions

From Yate Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:
===How it works?===
===How it works?===


The module that handles msg.execute will check the callto parameter and called parameter to not be empty and if a full JID is obtain with a resource and a [[chan.text]] is emitted from the channel. The return value is true if the chan.text was emitted.
The module that handles msg.execute will check the callto parameter and called parameter to not be empty and if a full JID is obtain with a resource, a [[chan.text]] is emitted from the channel. The return value is true if the chan.text has been emitted, false otherwise.


'''See also'''
'''See also'''


* [[contact.info]]
* [[contact.info]]

Revision as of 09:10, 23 January 2013

msg.execute is emitted by a module that wants to send a chat message.

Parameters

callto

the module and module-specific address that is expected (by means of the routing decision) to service the call

called

the number of the called

called_instance

the called instance

caller

the number of the caller

caller_instance

he caller instance

How it works?

The module that handles msg.execute will check the callto parameter and called parameter to not be empty and if a full JID is obtain with a resource, a chan.text is emitted from the channel. The return value is true if the chan.text has been emitted, false otherwise.

See also