• Anthony Minessale's avatar
    · a039d870
    Anthony Minessale 提交于
    Add events around all application execution:
    
    fire SWITCH_EVEHT_CHANNEL_EXECUTE
    <execute app>
    fire SWITCH_EVEHT_CHANNEL_EXECUTE_COMPLETE
    
    This can be used in async socket connections to tell
    when a queued application has finished executing.
    
    
    
    Add the "event" application to the dialplan:
    
    <action application="event" data="header1=val1,header2=val2"/>
    
    Events fired from this applcation will always have the type SWITCH_EVENT_CHANNEL_APPLICATION.
    
    You can add up to 25 headers of your own to the event via the application arguements.
    
    
    
    
    
    git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5448 d0543943-73ff-0310-b7d9-9358b9ac24b2
    a039d870
switch_event.c 23.8 KB