$Id$

David Wilson
Events generated by the Asterisk core engine.




Newexten:

    Event: Newexten
    Channel: SIP/101-00c7
    Context: macro-ext
    Extension: s
    Priority: 3
    Application: Goto
    AppData: s-BUSY
    Uniqueid: 1094154321.8

    Event: Newexten
    Channel: SIP/101-3f3f
    Context: local_extensions
    Extension: 917070
    Priority: 1
    Application: AGI
    AppData: /etc/asterisk/agi/ks_doorman_pickup.py|channel_up
    Uniqueid: 1094154427.10

    Event: Newexten
    Channel: SIP/101-3f3f
    Context: local_extensions
    Extension: 917070
    Priority: 2
    Application: Dial
    AppData: Zap/G1/17070
    Uniqueid: 1094154427.10


Hangup:

    Event: Hangup
    Channel: SIP/101-3f3f
    Uniqueid: 1094154427.10
    Cause: 0


Newchannel:

    Event: Newchannel
    Channel: Zap/2-1
    State: Rsrvd
    Callerid: <unknown>
    Uniqueid: 1094154427.11

    Event: Newchannel
    Channel: SIP/101-3f3f
    State: Ring
    Callerid: 101
    Uniqueid: 1094154427.10


Newstate:

    Event: Newstate
    Channel: Zap/2-1
    State: Dialing
    Callerid: 101
    Uniqueid: 1094154427.11

    Event: Newstate
    Channel: Zap/2-1
    State: Up
    Callerid: 101
    Uniqueid: 1094154427.11


Link:

    Event: Link
    Channel1: SIP/101-3f3f
    Channel2: Zap/2-1
    Uniqueid1: 1094154427.10
    Uniqueid2: 1094154427.11


Unlink:

    Event: Unlink
    Channel1: SIP/101-3f3f
    Channel2: Zap/2-1
    Uniqueid1: 1094154427.10
    Uniqueid2: 1094154427.11


Reload:

    Event: Reload
    Message: Reload Requested


Shutdown:
    [derived from asterisk.c]

    Event: Shutdown
    Shutdown: <Uncleanly|Cleanly>
    Restart: <True|False>


ExtensionStatus:
    [derived from manager.c]

    Event: ExtensionStatus
    Exten: <ext>
    Context: <context>
    Status: <state>


Rename:
    [derived from channel.c: channel 'rename' event]
 
    Event: Rename
    Oldname: <oldname>
    Newname: <newname>
    Uniqueid: <uniqueid>


Newcallerid:
    [derived from channel.c]

    Event: Newcallerid
    Channel: <channel>
    Callerid: <callerid>
    Uniqueid: <uniqueid>


Alarm:
    [derived from chan_zap.c]

    Event: Alarm
    Alarm: <(Red|Yellow|Blue|No|Unknown) Alarm|Recovering|Loopback|Not Open|None>
    Channel: <channel>


AlarmClear:
    [derived from chan_zap.c]

    Event: AlarmClear
    Channel: <channel>


Agentcallbacklogoff:
    [derived from chan_agent.c]

    Event: Agentcallbacklogoff
    Agent: <agent>
    Loginchan: <loginchan>
    Logintime: <logintime>
    Reason: Autologoff
    Uniqueid: <uniqueid>

    Event: Agentcallbacklogoff
    Agent: <agent>
    Loginchan: <loginchan>
    Logintime: <logintime>
    Uniqueid: <uniqueid>


Agentcallbacklogin:
    [derived from chan_agent.c]

    Event: Agentcallbacklogin
    Agent: <agent>
    Loginchan: <loginchan>
    Uniqueid: <uniqueid>


Agentlogin:
    [derived from chan_agent.c]

    Event: Agentlogin
    Agent: <agent>
    Channel: <channel>
    Uniqueid: <uniqueid>


Agentlogoff:
    [derived from chan_agent.c]

    Event: Agentlogoff
    Agent: <agent>
    Logintime: <logintime>
    Uniqueid: <uniqueid>


MeetmeJoin:
    [derived from app_meetme.c]

    Event: MeetmeJoin
    Channel: <channel>
    Uniqueid: <uniqueid>
    Meetme: <meetme>
    Usernum: <usernum>


MeetmeLeave:
    [derived from app_meetme.c]

    Event: MeetmeLeave
    Channel: <channel>
    Uniqueid: <uniqueid>
    Meetme: <meetme>
    Usernum: <usernum>


MessageWaiting:
    [derived from app_voicemail.c]

    Event: MessageWaiting
    Mailbox: <mailbox>@<context>
    Waiting: <count>

    Event: MessageWaiting
    Mailbox: <context>   
    Waiting: <count>


[UserEvent]:
    [derived from app_userevent.c]

    Event: <event>
    Channel: <channel>
    Uniqueid: <uniqueid>
    
    Event: <event>
    Channel: <channel>
    Uniqueid: <uniqueid>
    <body>


Join:
    [derived from app_queue.c]

    Event: join
    Channel: <channel>
    CallerID: <callerid|unknown>
    Queue: <queuename>
    Position: <entryposition>
    Count: <queuemembercount>


Leave:
    [derived from app_queue.c]

    Event: leave 
    Channel: <channel>
    Queue: <queuename>
    Count: <queuemembercount>


AgentCalled:
    [derived from app_queue.c]

    Event: AgentCalled
    AgentCalled: <channel>
    ChannelCalling: <channel>
    CallerID: <callerid>
    Context: <context>
    Extension: <extension>
    Priority: <priority>


ParkedCall:
    [derived from res_features.c]

    Event: ParkedCall
    Exten: <parkexten>
    Channel: <channel>
    From: <from>
    Timeout: <timeout>
    CallerID: <callerid>


Cdr:
    [derived from cdr_manager.c]

    Event: Cdr
    AccountCode: 
    Source: 
    Destination: 
    DestinationContext: 
    CallerID: 
    Channel: 
    DestinationChannel: 
    LastApplication: 
    LastData: 
    StartTime: 
    AnswerTime: 
    EndTime: 
    Duration: 
    BillableSeconds: 
    Disposition: 
    AMAFlags: 
    UniqueID: 
    UserField: 


ParkedCallsComplete:
    [sent following an Action: ParkedCalls]

    Event: ParkedCallsComplete


QueueParams:
    [sent following an Action: Queues]

    Event: QueueParams
    Queue: sales
    Max: 0
    Calls: 0
    Holdtime: 0
    Completed: 0
    Abandoned: 0
    ServiceLevel: 0
    ServicelevelPerf: 0.0


QueueMember:
    [sent following an Action: Queues if a queue has members]

    Event: QueueMember
    Queue: sales
    Location: SIP/101
    Membership: dynamic
    Penalty: 0
    CallsTaken: 0
    LastCall: 0


QueueStatusEnd:
    [sent following an Action: Queues to signify end of output]

    Event: QueueStatusEnd


Status:

    Event: Status
    Channel: Zap/2-1
    CallerID: 101
    Account:
    State: Up
    Link: SIP/101-5cf0
    Uniqueid: 1094166088.26

    Event: Status
    Channel: SIP/101-5cf0
    CallerID: 101
    Account:
    State: Up
    Context: local_extensions
    Extension: 917070
    Priority: 2
    Seconds: 11
    Link: Zap/2-1
    Uniqueid: 1094166088.25


StatusComplete:
    [sent on end of Status events after Action: status]

    Event: StatusComplete


ZapShowChannels:
    [sent on Action: ZapShowChannels]

    Event: ZapShowChannels
    Channel: 2
    Signalling: FXS Kewlstart
    Context: pstn_menu
    Alarm: No Alarm


ZapShowChannelsComplete:
    [send on Action: ZapShowChannels end]

    Event: ZapShowChannelsComplete
