Chan.startup

From Yate Documentation
(Difference between revisions)
Jump to: navigation, search
(Mandatory parameters)
(Optional parameters)
 
(One intermediate revision by one user not shown)
Line 15: Line 15:
 
=== Optional parameters ===  
 
=== Optional parameters ===  
  
direction
+
'''direction'''
 
:::either incoming or outgoing, depending on what created the channel  
 
:::either incoming or outgoing, depending on what created the channel  
  
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 13: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