[asterisk-app-dev] Event naming conventions

Alistair Cunningham acunningham at integrics.com
Mon Oct 21 08:19:23 CDT 2013


On 21/10/13 09:16, Joshua Colp wrote:
> 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. ^_^

Fair enough. As long as it's consistent.

-- 
Alistair Cunningham
+1 888 468 3111
+44 20 799 39 799
http://integrics.com/



More information about the asterisk-app-dev mailing list