# Asterisk Project : Multiple Inheritance

Added by malcolmd , edited by mdavenport on Sep 23, 2010

Multiple inheritance means that a channel variable will be inherited by created (spawned) channels, and it will continue to be inherited by any other channels created by the spawned channels. To set multiple inheritance on a channel, preface the variable name with two underscores when giving it a value with the Set() application, as shown below.

    exten=>6123,1,Set(__ACCOUNT=5551212)