[asterisk-dev] Reverse Inheritance

Johansson Olle E oej at edvina.net
Tue Nov 11 07:41:57 CST 2008


11 nov 2008 kl. 14.37 skrev Kevin P. Fleming:

> Tilghman Lesher wrote:
>
>> This brings up two questions in my mind.  First, what are the  
>> safeguards that
>> we must abide by to ensure that nothing unsafe happens?  For one  
>> thing, I
>> think it would be sensible to ensure that variables can only be  
>> set, not
>> overwritten with this method.  Can anybody think of other possible  
>> problems
>> with implementing reverse inheritance?
>
> What would trigger it happening, just the act of setting a variable  
> with
> a name that matches this pattern? If the variable gets its value  
> changed
> six times, does that mean it has to be copied to the parent channels
> each time the value gets changed?

We might need an array with one entry per outbound channel.
Think
	dial(SIP/kevin&SIP/corydon&local/pjutt)

where local/pjutt is divided into dahdi/12345 & local/fjutt

etc
etc


/O



More information about the asterisk-dev mailing list