[asterisk-app-dev] Event naming conventions

Joshua Colp jcolp at digium.com
Mon Oct 21 08:16:17 CDT 2013


Alistair Cunningham wrote:
> On 21/10/13 01:15, Paul Belanger wrote:
>> So I am starting to work with ARI events and notice our naming
>> conventions are not consistent. I wanted to have a discussion about
>> maybe coming up with an ideal suffix and stick with it.
>
> While we're on the topic, I seem to remember seeing at AstriDevCon that
> the normal call life cycle generated events like ChannelCreated, Answer,
> BridgeDestroyed, and Hangup. These strike me as somewhat inconsistent
> names. Why Hangup rather than ChannelDestroyed?

There's actually separate events for hangup and destruction. ^_^

-- 
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at:  www.digium.com  & www.asterisk.org



More information about the asterisk-app-dev mailing list