Chan.startup

From Yate Documentation
(Difference between revisions)
Jump to: navigation, search
(Mandatory parameters)
(Optional parameters)
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  
  

Revision as of 10:14, 8 October 2012

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.

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.

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.

Personal tools
Namespaces

Variants
Actions
Preface
Configuration
Administrators
Developers