[asterisk-dev] Reverse Inheritance
tpeirce at digitalcon.ca
Thu Nov 13 03:19:11 CST 2008
Atis Lezdins wrote:
> I'm not very much insisting, however as i recall - main argument for
> introducing SHARED() function was that those variables could change at
> any time, so users must take extra care when accessing their value.
> With + or ^ it would be the same - you modify variable in child
> channel with special prefix, but access in parent channel as regular
> variable which shouldn't be used in loop statement etc directly, but
> copied first.
This certainly would be cleaner than using variable name prefixes. Using
a function certainly has my vote now that you mention it!
Does your Canadian VoIP service need CRTC-compliant 9-1-1 service? Stop
by http://www.digitalcon.ca/voip9-1-1/ today to find out how!
More information about the asterisk-dev