Chan.startup

From Yate Documentation
(Difference between revisions)
Jump to: navigation, search
(Optional parameters)
(Optional parameters)
 
Line 21: Line 21:
  
 
'''Note:''' that helper channels like Tone Generator and Wave File do not emit this message. External modules also have to emit it themselves.
 
'''Note:''' that helper channels like Tone Generator and Wave File do not emit this message. External modules also have to emit it themselves.
 +
 +
 +
'''See also'''
 +
 +
*[[chan.text]]

Latest revision as of 12:23, 21 January 2013

The chan.startup message is sent by channel modules when a new channel is instantiated.

Typically these messages are queued asynchronously and the module does not wait for them being dispatched. You cannot therefore make assumptions about the channel's state at the time the message is received.

[edit] Mandatory parameters

driver

name of the module that created the instance

id

unique channel identifier

At least for Yate-0.9-CVS, driver has been renamed to module.

[edit] Optional parameters

direction

either incoming or outgoing, depending on what created the channel

At least for Yate-0.9-CVS, direction has been renamed to status with the values preserved. The semantic reference point for the values is the Yate instance itself -- thus a value of incoming means the channel was created because a call came into Yate and a value of outgoing means the channel was created because Yate generated a call.

Note: that helper channels like Tone Generator and Wave File do not emit this message. External modules also have to emit it themselves.


See also

Personal tools
Namespaces

Variants
Actions
Preface
Configuration
Administrators
Developers