Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -----------------------------------------------------------
- /home/chris/asterisk/pbx/pbx_realtime.c
- Channel => chan->name
- Context => chan->context
- Extension => chan->exten
- Priority => chan->priority
- Application => app
- AppData => !ast_strlen_zero(appdata)?appdata:"(NULL)"
- Uniqueid => chan->uniqueid
- Category: EVENT_FLAG_DIALPLAN
- Name: "Newexten"
- manager_event(EVENT_FLAG_DIALPLAN,"Newexten","Channel:%s\r\n""Context:%s\r\n""Extension:%s\r\n""Priority:%d\r\n""Application:%s\r\n""AppData:%s\r\n""Uniqueid:%s\r\n",chan->name,chan->context,chan->exten,chan->priority,app,!ast_strlen_zero(appdata)?appdata:"(NULL)",chan->uniqueid);
- -----------------------------------------------------------
- /home/chris/asterisk/res/res_jabber.c
- Account => client->name
- Packet => xmpp
- Category: EVENT_FLAG_USER
- Name: "JabberEvent"
- manager_event(EVENT_FLAG_USER,"JabberEvent","Account:%s\r\nPacket:%s\r\n",client->name,xmpp);
- -----------------------------------------------------------
- /home/chris/asterisk/res/res_monitor.c
- Channel => chan->name
- Uniqueid => chan->uniqueid
- Category: EVENT_FLAG_CALL
- Name: "MonitorStart"
- manager_event(EVENT_FLAG_CALL,"MonitorStart","Channel:%s\r\n""Uniqueid:%s\r\n",chan->name,chan->uniqueid);
- -----------------------------------------------------------
- /home/chris/asterisk/res/res_monitor.c
- Channel => chan->name
- Uniqueid => chan->uniqueid
- Category: EVENT_FLAG_CALL
- Name: "MonitorStop"
- manager_event(EVENT_FLAG_CALL,"MonitorStop","Channel:%s\r\n""Uniqueid:%s\r\n",chan->name,chan->uniqueid);
- -----------------------------------------------------------
- /home/chris/asterisk/res/res_musiconhold.c
- State => chan->name
- Channel => chan->uniqueid
- Category: EVENT_FLAG_CALL
- Name: "MusicOnHold"
- manager_event(EVENT_FLAG_CALL,"MusicOnHold","State:Start\r\n""Channel:%s\r\n""UniqueID:%s\r\n",chan->name,chan->uniqueid);
- -----------------------------------------------------------
- /home/chris/asterisk/res/res_musiconhold.c
- State => chan->name
- Channel => chan->uniqueid
- Category: EVENT_FLAG_CALL
- Name: "MusicOnHold"
- manager_event(EVENT_FLAG_CALL,"MusicOnHold","State:Stop\r\n""Channel:%s\r\n""UniqueID:%s\r\n",chan->name,chan->uniqueid);
- -----------------------------------------------------------
- /home/chris/asterisk/res/res_rtp_asterisk.c
- To%s => ast_inet_ntoa(rtp->rtcp->them.sin_addr)
- OurSSRC => ntohs(rtp->rtcp->them.sin_port)
- SentNTP => rtp->ssrc
- SentRTP => (unsignedint)now.tv_sec
- SentPackets => (unsignedint)now.tv_usec*4096
- SentOctets => rtp->lastts
- ReportBlock => rtp->txcount
- FractionLost => rtp->txoctetcount
- CumulativeLoss => fraction
- IAJitter => lost
- TheirLastSR => rtp->rxjitter
- DLSR => rtp->rtcp->themrxlsr
- Category: EVENT_FLAG_REPORTING
- Name: "RTCPSent"
- manager_event(EVENT_FLAG_REPORTING,"RTCPSent","To%s:%d\r\n""OurSSRC:%u\r\n""SentNTP:%u.%010u\r\n""SentRTP:%u\r\n""SentPackets:%u\r\n""SentOctets:%u\r\n""ReportBlock:\r\n""FractionLost:%u\r\n""CumulativeLoss:%u\r\n""IAJitter:%.4f\r\n""TheirLastSR:%u\r\n""DLSR:%4.4f(sec)\r\n",ast_inet_ntoa(rtp->rtcp->them.sin_addr),ntohs(rtp->rtcp->them.sin_port),rtp->ssrc,(unsignedint)now.tv_sec,(unsignedint)now.tv_usec*4096,rtp->lastts,rtp->txcount,rtp->txoctetcount,fraction,lost,rtp->rxjitter,rtp->rtcp->themrxlsr,(double)(ntohl(rtcpheader[12])/65536.0));
- -----------------------------------------------------------
- /home/chris/asterisk/res/res_rtp_asterisk.c
- From%s => ast_inet_ntoa(sin.sin_addr)
- PT => ntohs(sin.sin_port)
- ReceptionReports => pt
- SenderSSRC => (pt==200)?"SenderReport":(pt==201)?"ReceiverReport":(pt==192)?"H.261FUR":"Unknown"
- FractionLost => rc
- PacketsLost => rtcpheader[i+1]
- HighestSequence => (((long)ntohl(rtcpheader[i+1])&0xff000000)>>24)
- SequenceNumberCycles => rtp->rtcp->reported_lost
- IAJitter => (long)(ntohl(rtcpheader[i+2])&0xffff)
- LastSR => (long)(ntohl(rtcpheader[i+2])&0xffff)>>16
- DLSR => rtp->rtcp->reported_jitter
- RTT => (unsignedlong)ntohl(rtcpheader[i+4])>>16
- Category: EVENT_FLAG_REPORTING
- Name: "RTCPReceived"
- manager_event(EVENT_FLAG_REPORTING,"RTCPReceived","From%s:%d\r\n""PT:%d(%s)\r\n""ReceptionReports:%d\r\n""SenderSSRC:%u\r\n""FractionLost:%ld\r\n""PacketsLost:%d\r\n""HighestSequence:%ld\r\n""SequenceNumberCycles:%ld\r\n""IAJitter:%u\r\n""LastSR:%lu.%010lu\r\n""DLSR:%4.4f(sec)\r\n""RTT:%llu(sec)\r\n",ast_inet_ntoa(sin.sin_addr),ntohs(sin.sin_port),pt,(pt==200)?"SenderReport":(pt==201)?"ReceiverReport":(pt==192)?"H.261FUR":"Unknown",rc,rtcpheader[i+1],(((long)ntohl(rtcpheader[i+1])&0xff000000)>>24),rtp->rtcp->reported_lost,(long)(ntohl(rtcpheader[i+2])&0xffff),(long)(ntohl(rtcpheader[i+2])&0xffff)>>16,rtp->rtcp->reported_jitter,(unsignedlong)ntohl(rtcpheader[i+4])>>16,((unsignedlong)ntohl(rtcpheader[i+4])<<16)*4096,ntohl(rtcpheader[i+5])/65536.0,(unsignedlonglong)rtt);
- -----------------------------------------------------------
- /home/chris/asterisk/res/res_rtp_asterisk.c
- From%s => ast_inet_ntoa(sin.sin_addr)
- PT => ntohs(sin.sin_port)
- ReceptionReports => pt
- SenderSSRC => (pt==200)?"SenderReport":(pt==201)?"ReceiverReport":(pt==192)?"H.261FUR":"Unknown"
- FractionLost => rc
- PacketsLost => rtcpheader[i+1]
- HighestSequence => (((long)ntohl(rtcpheader[i+1])&0xff000000)>>24)
- SequenceNumberCycles => rtp->rtcp->reported_lost
- IAJitter => (long)(ntohl(rtcpheader[i+2])&0xffff)
- LastSR => (long)(ntohl(rtcpheader[i+2])&0xffff)>>16
- DLSR => rtp->rtcp->reported_jitter
- Category: EVENT_FLAG_REPORTING
- Name: "RTCPReceived"
- manager_event(EVENT_FLAG_REPORTING,"RTCPReceived","From%s:%d\r\n""PT:%d(%s)\r\n""ReceptionReports:%d\r\n""SenderSSRC:%u\r\n""FractionLost:%ld\r\n""PacketsLost:%d\r\n""HighestSequence:%ld\r\n""SequenceNumberCycles:%ld\r\n""IAJitter:%u\r\n""LastSR:%lu.%010lu\r\n""DLSR:%4.4f(sec)\r\n",ast_inet_ntoa(sin.sin_addr),ntohs(sin.sin_port),pt,(pt==200)?"SenderReport":(pt==201)?"ReceiverReport":(pt==192)?"H.261FUR":"Unknown",rc,rtcpheader[i+1],(((long)ntohl(rtcpheader[i+1])&0xff000000)>>24),rtp->rtcp->reported_lost,(long)(ntohl(rtcpheader[i+2])&0xffff),(long)(ntohl(rtcpheader[i+2])&0xffff)>>16,rtp->rtcp->reported_jitter,(unsignedlong)ntohl(rtcpheader[i+4])>>16,((unsignedlong)ntohl(rtcpheader[i+4])<<16)*4096,ntohl(rtcpheader[i+5])/65536.0);
- -----------------------------------------------------------
- /home/chris/asterisk/res/res_agi.c
- SubEvent => chan->name
- Channel => ami_buffer
- Category: EVENT_FLAG_AGI
- Name: "AsyncAGI"
- manager_event(EVENT_FLAG_AGI,"AsyncAGI","SubEvent:Start\r\nChannel:%s\r\nEnv:%s\r\n",chan->name,ami_buffer);
- -----------------------------------------------------------
- /home/chris/asterisk/res/res_agi.c
- SubEvent => chan->name
- Channel => ami_buffer
- Category: EVENT_FLAG_AGI
- Name: "AsyncAGI"
- manager_event(EVENT_FLAG_AGI,"AsyncAGI","SubEvent:Exec\r\nChannel:%s\r\nResult:%s\r\n",chan->name,ami_buffer);
- -----------------------------------------------------------
- /home/chris/asterisk/res/res_agi.c
- SubEvent => chan->name
- Channel => cmd->cmd_id
- CommandID => ami_buffer
- Category: EVENT_FLAG_AGI
- Name: "AsyncAGI"
- manager_event(EVENT_FLAG_AGI,"AsyncAGI","SubEvent:Exec\r\nChannel:%s\r\nCommandID:%s\r\nResult:%s\r\n",chan->name,cmd->cmd_id,ami_buffer);
- -----------------------------------------------------------
- /home/chris/asterisk/res/res_agi.c
- SubEvent => chan->name
- Category: EVENT_FLAG_AGI
- Name: "AsyncAGI"
- manager_event(EVENT_FLAG_AGI,"AsyncAGI","SubEvent:End\r\nChannel:%s\r\n",chan->name);
- -----------------------------------------------------------
- /home/chris/asterisk/res/res_agi.c
- SubEvent => chan->name
- Channel => command_id
- CommandId => ami_cmd
- Category: EVENT_FLAG_AGI
- Name: "AGIExec"
- manager_event(EVENT_FLAG_AGI,"AGIExec","SubEvent:Start\r\n""Channel:%s\r\n""CommandId:%d\r\n""Command:%s\r\n",chan->name,command_id,ami_cmd);
- -----------------------------------------------------------
- /home/chris/asterisk/res/res_agi.c
- SubEvent => chan->name
- Channel => command_id
- CommandId => ami_cmd
- Command => resultcode
- ResultCode => ami_res
- Category: EVENT_FLAG_AGI
- Name: "AGIExec"
- manager_event(EVENT_FLAG_AGI,"AGIExec","SubEvent:End\r\n""Channel:%s\r\n""CommandId:%d\r\n""Command:%s\r\n""ResultCode:%d\r\n""Result:%s\r\n",chan->name,command_id,ami_cmd,resultcode,ami_res);
- -----------------------------------------------------------
- /home/chris/asterisk/res/res_agi.c
- SubEvent => chan->name
- Channel => command_id
- CommandId => ami_cmd
- Category: EVENT_FLAG_AGI
- Name: "AGIExec"
- manager_event(EVENT_FLAG_AGI,"AGIExec","SubEvent:End\r\n""Channel:%s\r\n""CommandId:%d\r\n""Command:%s\r\n""ResultCode:511\r\n""Result:Commandnotpermittedonadeadchannel\r\n",chan->name,command_id,ami_cmd);
- -----------------------------------------------------------
- /home/chris/asterisk/res/res_agi.c
- SubEvent => chan->name
- Channel => command_id
- CommandId => ami_cmd
- Category: EVENT_FLAG_AGI
- Name: "AGIExec"
- manager_event(EVENT_FLAG_AGI,"AGIExec","SubEvent:End\r\n""Channel:%s\r\n""CommandId:%d\r\n""Command:%s\r\n""ResultCode:510\r\n""Result:Invalidorunknowncommand\r\n",chan->name,command_id,ami_cmd);
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_sip.c
- Channel => tmp->name
- Uniqueid => tmp->uniqueid
- Channeltype => "SIP"
- SIPcallid => i->callid
- SIPfullcontact => i->fullcontact
- Category: EVENT_FLAG_SYSTEM
- Name: "ChannelUpdate"
- manager_event(EVENT_FLAG_SYSTEM,"ChannelUpdate","Channel:%s\r\nUniqueid:%s\r\nChanneltype:%s\r\nSIPcallid:%s\r\nSIPfullcontact:%s\r\n",tmp->name,tmp->uniqueid,"SIP",i->callid,i->fullcontact);
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_sip.c
- Status => p->owner->name
- Channel => p->owner->uniqueid
- Category: EVENT_FLAG_CALL
- Name: "Hold"
- manager_event(EVENT_FLAG_CALL,"Hold","Status:Off\r\n""Channel:%s\r\n""Uniqueid:%s\r\n",p->owner->name,p->owner->uniqueid);
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_sip.c
- Status => p->owner->name
- Channel => p->owner->uniqueid
- Category: EVENT_FLAG_CALL
- Name: "Hold"
- manager_event(EVENT_FLAG_CALL,"Hold","Status:On\r\n""Channel:%s\r\n""Uniqueid:%s\r\n",p->owner->name,p->owner->uniqueid);
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_sip.c
- ChannelType => r->username
- Username => r->hostname
- Domain => regstate2str(r->regstate)
- Category: EVENT_FLAG_SYSTEM
- Name: "Registry"
- manager_event(EVENT_FLAG_SYSTEM,"Registry","ChannelType:SIP\r\nUsername:%s\r\nDomain:%s\r\nStatus:%s\r\n",r->username,r->hostname,regstate2str(r->regstate));
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_sip.c
- ChannelType => peer->name
- Category: EVENT_FLAG_SYSTEM
- Name: "PeerStatus"
- manager_event(EVENT_FLAG_SYSTEM,"PeerStatus","ChannelType:SIP\r\nPeer:SIP/%s\r\nPeerStatus:Unregistered\r\nCause:Expired\r\n",peer->name);
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_sip.c
- ChannelType => peer->name
- Category: EVENT_FLAG_SYSTEM
- Name: "PeerStatus"
- manager_event(EVENT_FLAG_SYSTEM,"PeerStatus","ChannelType:SIP\r\nPeer:SIP/%s\r\nPeerStatus:Unregistered\r\n",peer->name);
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_sip.c
- ChannelType => peer->name
- Peer => ast_inet_ntoa(peer->addr.sin_addr)
- PeerStatus => ntohs(peer->addr.sin_port)
- Category: EVENT_FLAG_SYSTEM
- Name: "PeerStatus"
- manager_event(EVENT_FLAG_SYSTEM,"PeerStatus","ChannelType:SIP\r\nPeer:SIP/%s\r\nPeerStatus:Registered\r\nAddress:%s\r\nPort:%d\r\n",peer->name,ast_inet_ntoa(peer->addr.sin_addr),ntohs(peer->addr.sin_port));
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_sip.c
- ChannelType => peer->name
- Peer => ast_inet_ntoa(sin->sin_addr)
- PeerStatus => ntohs(sin->sin_port)
- Category: EVENT_FLAG_SYSTEM
- Name: "PeerStatus"
- manager_event(EVENT_FLAG_SYSTEM,"PeerStatus","ChannelType:SIP\r\nPeer:SIP/%s\r\nPeerStatus:Registered\r\nAddress:%s\r\nPort:%d\r\n",peer->name,ast_inet_ntoa(sin->sin_addr),ntohs(sin->sin_port));
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_sip.c
- ChannelType => name
- Peer => ast_inet_ntoa(sin->sin_addr)
- PeerStatus => ntohs(sin->sin_port)
- Category: EVENT_FLAG_SYSTEM
- Name: "PeerStatus"
- manager_event(EVENT_FLAG_SYSTEM,"PeerStatus","ChannelType:SIP\r\nPeer:SIP/%s\r\nPeerStatus:Rejected\r\nCause:AUTH_SECRET_FAILED\r\nAddress:%s\r\nPort:%d\r\n",name,ast_inet_ntoa(sin->sin_addr),ntohs(sin->sin_port));
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_sip.c
- ChannelType => name
- Peer => ast_inet_ntoa(sin->sin_addr)
- PeerStatus => ntohs(sin->sin_port)
- Category: EVENT_FLAG_SYSTEM
- Name: "PeerStatus"
- manager_event(EVENT_FLAG_SYSTEM,"PeerStatus","ChannelType:SIP\r\nPeer:SIP/%s\r\nPeerStatus:Rejected\r\nCause:AUTH_USERNAME_MISMATCH\r\nAddress:%s\r\nPort:%d\r\n",name,ast_inet_ntoa(sin->sin_addr),ntohs(sin->sin_port));
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_sip.c
- ChannelType => name
- Peer => res==AUTH_PEER_NOT_DYNAMIC?"AUTH_PEER_NOT_DYNAMIC":"URI_NOT_FOUND"
- PeerStatus => ast_inet_ntoa(sin->sin_addr)
- Cause => ntohs(sin->sin_port)
- Category: EVENT_FLAG_SYSTEM
- Name: "PeerStatus"
- manager_event(EVENT_FLAG_SYSTEM,"PeerStatus","ChannelType:SIP\r\nPeer:SIP/%s\r\nPeerStatus:Rejected\r\nCause:%s\r\nAddress:%s\r\nPort:%d\r\n",name,res==AUTH_PEER_NOT_DYNAMIC?"AUTH_PEER_NOT_DYNAMIC":"URI_NOT_FOUND",ast_inet_ntoa(sin->sin_addr),ntohs(sin->sin_port));
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_sip.c
- ChannelType => name
- Peer => ast_inet_ntoa(sin->sin_addr)
- PeerStatus => ntohs(sin->sin_port)
- Category: EVENT_FLAG_SYSTEM
- Name: "PeerStatus"
- manager_event(EVENT_FLAG_SYSTEM,"PeerStatus","ChannelType:SIP\r\nPeer:SIP/%s\r\nPeerStatus:Rejected\r\nCause:AUTH_PEER_NOT_DYNAMIC\r\nAddress:%s\r\nPort:%d\r\n",name,ast_inet_ntoa(sin->sin_addr),ntohs(sin->sin_port));
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_sip.c
- ChannelType => name
- Peer => ast_inet_ntoa(sin->sin_addr)
- PeerStatus => ntohs(sin->sin_port)
- Category: EVENT_FLAG_SYSTEM
- Name: "PeerStatus"
- manager_event(EVENT_FLAG_SYSTEM,"PeerStatus","ChannelType:SIP\r\nPeer:SIP/%s\r\nPeerStatus:Rejected\r\nCause:URI_NOT_FOUND\r\nAddress:%s\r\nPort:%d\r\n",name,ast_inet_ntoa(sin->sin_addr),ntohs(sin->sin_port));
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_sip.c
- Channel => p->owner->name
- Channeltype => "SIP"
- Uniqueid => p->owner->uniqueid
- SIPcallid => p->callid
- SIPfullcontact => p->fullcontact
- Peername => p->peername
- Category: EVENT_FLAG_SYSTEM
- Name: "ChannelUpdate"
- manager_event(EVENT_FLAG_SYSTEM,"ChannelUpdate","Channel:%s\r\nChanneltype:%s\r\nUniqueid:%s\r\nSIPcallid:%s\r\nSIPfullcontact:%s\r\nPeername:%s\r\n",p->owner->name,"SIP",p->owner->uniqueid,p->callid,p->fullcontact,p->peername);
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_sip.c
- ChannelType => r->username
- Username => r->hostname
- Domain => regstate2str(r->regstate)
- Category: EVENT_FLAG_SYSTEM
- Name: "Registry"
- manager_event(EVENT_FLAG_SYSTEM,"Registry","ChannelType:SIP\r\nUsername:%s\r\nDomain:%s\r\nStatus:%s\r\n",r->username,r->hostname,regstate2str(r->regstate));
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_sip.c
- ChannelType => r->hostname
- Domain => regstate2str(r->regstate)
- Category: EVENT_FLAG_SYSTEM
- Name: "Registry"
- manager_event(EVENT_FLAG_SYSTEM,"Registry","ChannelType:SIP\r\nDomain:%s\r\nStatus:%s\r\n",r->hostname,regstate2str(r->regstate));
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_sip.c
- ChannelType => peer->name
- Peer => s
- PeerStatus => pingtime
- Category: EVENT_FLAG_SYSTEM
- Name: "PeerStatus"
- manager_event(EVENT_FLAG_SYSTEM,"PeerStatus","ChannelType:SIP\r\nPeer:SIP/%s\r\nPeerStatus:%s\r\nTime:%d\r\n",peer->name,s,pingtime);
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_sip.c
- TransferMethod => transferer->owner->name
- TransferType => transferer->owner->uniqueid
- Channel => transferer->callid
- Uniqueid => target.chan1->name
- SIP-Callid => target.chan1->uniqueid
- Category: EVENT_FLAG_CALL
- Name: "Transfer"
- manager_event(EVENT_FLAG_CALL,"Transfer","TransferMethod:SIP\r\nTransferType:Attended\r\nChannel:%s\r\nUniqueid:%s\r\nSIP-Callid:%s\r\nTargetChannel:%s\r\nTargetUniqueid:%s\r\n",transferer->owner->name,transferer->owner->uniqueid,transferer->callid,target.chan1->name,target.chan1->uniqueid);
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_sip.c
- TransferMethod => current.chan1->name
- TransferType => current.chan1->uniqueid
- Channel => p->callid
- Uniqueid => current.chan2->name
- SIP-Callid => current.chan2->uniqueid
- TargetChannel => p->refer->refer_to
- Category: EVENT_FLAG_CALL
- Name: "Transfer"
- manager_event(EVENT_FLAG_CALL,"Transfer","TransferMethod:SIP\r\nTransferType:Blind\r\nChannel:%s\r\nUniqueid:%s\r\nSIP-Callid:%s\r\nTargetChannel:%s\r\nTargetUniqueid:%s\r\nTransferExten:%s\r\nTransfer2Parking:Yes\r\n",current.chan1->name,current.chan1->uniqueid,p->callid,current.chan2->name,current.chan2->uniqueid,p->refer->refer_to);
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_sip.c
- TransferMethod => current.chan1->name
- TransferType => current.chan1->uniqueid
- Channel => p->callid
- Uniqueid => current.chan2->name
- SIP-Callid => current.chan2->uniqueid
- TargetChannel => p->refer->refer_to
- TargetUniqueid => p->refer->refer_to_context
- Category: EVENT_FLAG_CALL
- Name: "Transfer"
- manager_event(EVENT_FLAG_CALL,"Transfer","TransferMethod:SIP\r\nTransferType:Blind\r\nChannel:%s\r\nUniqueid:%s\r\nSIP-Callid:%s\r\nTargetChannel:%s\r\nTargetUniqueid:%s\r\nTransferExten:%s\r\nTransferContext:%s\r\n",current.chan1->name,current.chan1->uniqueid,p->callid,current.chan2->name,current.chan2->uniqueid,p->refer->refer_to,p->refer->refer_to_context);
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_sip.c
- ChannelType => peer->name
- Peer => -1
- Category: EVENT_FLAG_SYSTEM
- Name: "PeerStatus"
- manager_event(EVENT_FLAG_SYSTEM,"PeerStatus","ChannelType:SIP\r\nPeer:SIP/%s\r\nPeerStatus:Unreachable\r\nTime:%d\r\n",peer->name,-1);
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_sip.c
- Channel => p->owner?p->owner->name:""
- Channeltype => "SIP"
- SIPcallid => p->callid
- SIPfullcontact => p->fullcontact
- Peername => p->peername
- Category: EVENT_FLAG_SYSTEM
- Name: "ChannelUpdate"
- manager_event(EVENT_FLAG_SYSTEM,"ChannelUpdate","Channel:%s\r\nChanneltype:%s\r\nSIPcallid:%s\r\nSIPfullcontact:%s\r\nPeername:%s\r\n",p->owner?p->owner->name:"","SIP",p->callid,p->fullcontact,p->peername);
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_sip.c
- ChannelType => channelreloadreason2txt(reason)
- ReloadReason => registry_count
- Registry_Count => peer_count
- Category: EVENT_FLAG_SYSTEM
- Name: "ChannelReload"
- manager_event(EVENT_FLAG_SYSTEM,"ChannelReload","ChannelType:SIP\r\nReloadReason:%s\r\nRegistry_Count:%d\r\nPeer_Count:%d\r\n",channelreloadreason2txt(reason),registry_count,peer_count);
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_dahdi.c
- Channel => p->channel
- Category: EVENT_FLAG_SYSTEM
- Name: "AlarmClear"
- manager_event(EVENT_FLAG_SYSTEM,"AlarmClear","Channel:%d\r\n",p->channel);
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_dahdi.c
- Alarm => alarm_str
- Channel => p->channel
- Category: EVENT_FLAG_SYSTEM
- Name: "Alarm"
- manager_event(EVENT_FLAG_SYSTEM,"Alarm","Alarm:%s\r\n""Channel:%d\r\n",alarm_str,p->channel);
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_dahdi.c
- Channel => p->channel
- Category: EVENT_FLAG_SYSTEM
- Name: "AlarmClear"
- manager_event(EVENT_FLAG_SYSTEM,"AlarmClear","Channel:%d\r\n",p->channel);
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_dahdi.c
- Channel => dahdichan->channel
- Status => on?"enabled":"disabled"
- Category: EVENT_FLAG_SYSTEM
- Name: "DNDState"
- manager_event(EVENT_FLAG_SYSTEM,"DNDState","Channel:DAHDI/%d\r\n""Status:%s\r\n",dahdichan->channel,on?"enabled":"disabled");
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_dahdi.c
- Channel => mtd->pvt->channel
- Category: EVENT_FLAG_SYSTEM
- Name: "AlarmClear"
- manager_event(EVENT_FLAG_SYSTEM,"AlarmClear","Channel:%d\r\n",mtd->pvt->channel);
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_dahdi.c
- Channel => i->channel
- Category: EVENT_FLAG_SYSTEM
- Name: "AlarmClear"
- manager_event(EVENT_FLAG_SYSTEM,"AlarmClear","Channel:%d\r\n",i->channel);
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_dahdi.c
- PRIEvent => event2str(x)
- PRIEventCode => x
- D-channel => pri_order(which)
- Span => pri->span
- Category: EVENT_FLAG_SYSTEM
- Name: "PRIEvent"
- manager_event(EVENT_FLAG_SYSTEM,"PRIEvent","PRIEvent:%s\r\n""PRIEventCode:%d\r\n""D-channel:%s\r\n""Span:%d\r\n",event2str(x),x,pri_order(which),pri->span);
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_agent.c
- Agent => p->agent
- Reason => tmp
- Loginchan => loginchan
- Logintime => logintime
- Uniqueid => uniqueid
- Category: EVENT_FLAG_AGENT
- Name: "Agentcallbacklogoff"
- manager_event(EVENT_FLAG_AGENT,"Agentcallbacklogoff","Agent:%s\r\n""Reason:%s\r\n""Loginchan:%s\r\n""Logintime:%ld\r\n""Uniqueid:%s\r\n",p->agent,tmp,loginchan,logintime,uniqueid);
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_agent.c
- Agent => p->agent
- Reason => tmp
- Loginchan => loginchan
- Logintime => logintime
- Category: EVENT_FLAG_AGENT
- Name: "Agentcallbacklogoff"
- manager_event(EVENT_FLAG_AGENT,"Agentcallbacklogoff","Agent:%s\r\n""Reason:%s\r\n""Loginchan:%s\r\n""Logintime:%ld\r\n",p->agent,tmp,loginchan,logintime);
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_agent.c
- Agent => p->agent
- Channel => chan->name
- Uniqueid => chan->uniqueid
- Category: EVENT_FLAG_AGENT
- Name: "Agentlogin"
- manager_event(EVENT_FLAG_AGENT,"Agentlogin","Agent:%s\r\n""Channel:%s\r\n""Uniqueid:%s\r\n",p->agent,chan->name,chan->uniqueid);
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_agent.c
- Agent => p->agent
- Logintime => logintime
- Uniqueid => chan->uniqueid
- Category: EVENT_FLAG_AGENT
- Name: "Agentlogoff"
- manager_event(EVENT_FLAG_AGENT,"Agentlogoff","Agent:%s\r\n""Logintime:%ld\r\n""Uniqueid:%s\r\n",p->agent,logintime,chan->uniqueid);
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_iax2.c
- Channel => pvt->owner?pvt->owner->name:""
- Channeltype => pvt->callno
- IAX2-callno-local => pvt->peercallno
- IAX2-callno-remote => pvt->peer?pvt->peer:""
- Category: EVENT_FLAG_SYSTEM
- Name: "ChannelUpdate"
- manager_event(EVENT_FLAG_SYSTEM,"ChannelUpdate","Channel:%s\r\nChanneltype:IAX2\r\nIAX2-callno-local:%d\r\nIAX2-callno-remote:%d\r\nIAX2-peer:%s\r\n",pvt->owner?pvt->owner->name:"",pvt->callno,pvt->peercallno,pvt->peer?pvt->peer:"");
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_iax2.c
- ChannelType => ast_inet_ntoa(sin->sin_addr)
- Category: EVENT_FLAG_SYSTEM
- Name: "Registry"
- manager_event(EVENT_FLAG_SYSTEM,"Registry","ChannelType:IAX2\r\nDomain:%s\r\nStatus:Registered\r\n",ast_inet_ntoa(sin->sin_addr));
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_iax2.c
- ChannelType => peer->name
- Category: EVENT_FLAG_SYSTEM
- Name: "PeerStatus"
- manager_event(EVENT_FLAG_SYSTEM,"PeerStatus","ChannelType:IAX2\r\nPeer:IAX2/%s\r\nPeerStatus:Unregistered\r\nCause:Expired\r\n",peer->name);
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_iax2.c
- ChannelType => p->name
- Category: EVENT_FLAG_SYSTEM
- Name: "PeerStatus"
- manager_event(EVENT_FLAG_SYSTEM,"PeerStatus","ChannelType:IAX2\r\nPeer:IAX2/%s\r\nPeerStatus:Registered\r\n",p->name);
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_iax2.c
- ChannelType => p->name
- Category: EVENT_FLAG_SYSTEM
- Name: "PeerStatus"
- manager_event(EVENT_FLAG_SYSTEM,"PeerStatus","ChannelType:IAX2\r\nPeer:IAX2/%s\r\nPeerStatus:Unregistered\r\n",p->name);
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_iax2.c
- Owner => iaxs[callno]->owner->name
- Ping => iaxs[callno]->pingtime
- LocalJitter => localjitter
- LocalJBDelay => localdelay
- LocalTotalLost => locallost
- LocalLossPercent => locallosspct
- LocalDropped => localdropped
- Localooo => localooo
- LocalReceived => localpackets
- RemoteJitter => iaxs[callno]->remote_rr.jitter
- RemoteJBDelay => iaxs[callno]->remote_rr.delay
- RemoteTotalLost => iaxs[callno]->remote_rr.losscnt
- RemoteLossPercent => iaxs[callno]->remote_rr.losspct/1000
- RemoteDropped => iaxs[callno]->remote_rr.dropped
- Remoteooo => iaxs[callno]->remote_rr.ooo
- RemoteReceived => iaxs[callno]->remote_rr.packets
- Category: EVENT_FLAG_REPORTING
- Name: "JitterBufStats"
- manager_event(EVENT_FLAG_REPORTING,"JitterBufStats","Owner:%s\r\nPing:%d\r\nLocalJitter:%d\r\nLocalJBDelay:%d\r\nLocalTotalLost:%d\r\nLocalLossPercent:%d\r\nLocalDropped:%d\r\nLocalooo:%d\r\nLocalReceived:%d\r\nRemoteJitter:%d\r\nRemoteJBDelay:%d\r\nRemoteTotalLost:%d\r\nRemoteLossPercent:%d\r\nRemoteDropped:%d\r\nRemoteooo:%d\r\nRemoteReceived:%d\r\n",iaxs[callno]->owner->name,iaxs[callno]->pingtime,localjitter,localdelay,locallost,locallosspct,localdropped,localooo,localpackets,iaxs[callno]->remote_rr.jitter,iaxs[callno]->remote_rr.delay,iaxs[callno]->remote_rr.losscnt,iaxs[callno]->remote_rr.losspct/1000,iaxs[callno]->remote_rr.dropped,iaxs[callno]->remote_rr.ooo,iaxs[callno]->remote_rr.packets);
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_iax2.c
- Status => iaxs[fr->callno]->owner->name
- Channel => iaxs[fr->callno]->owner->uniqueid
- Category: EVENT_FLAG_CALL
- Name: "Hold"
- manager_event(EVENT_FLAG_CALL,"Hold","Status:On\r\n""Channel:%s\r\n""Uniqueid:%s\r\n",iaxs[fr->callno]->owner->name,iaxs[fr->callno]->owner->uniqueid);
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_iax2.c
- Status => iaxs[fr->callno]->owner->name
- Channel => iaxs[fr->callno]->owner->uniqueid
- Category: EVENT_FLAG_CALL
- Name: "Hold"
- manager_event(EVENT_FLAG_CALL,"Hold","Status:Off\r\n""Channel:%s\r\n""Uniqueid:%s\r\n",iaxs[fr->callno]->owner->name,iaxs[fr->callno]->owner->uniqueid);
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_iax2.c
- ChannelType => peer->name
- Peer => iaxs[fr->callno]->pingtime
- Category: EVENT_FLAG_SYSTEM
- Name: "PeerStatus"
- manager_event(EVENT_FLAG_SYSTEM,"PeerStatus","ChannelType:IAX2\r\nPeer:IAX2/%s\r\nPeerStatus:Reachable\r\nTime:%d\r\n",peer->name,iaxs[fr->callno]->pingtime);
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_iax2.c
- ChannelType => peer->name
- Peer => iaxs[fr->callno]->pingtime
- Category: EVENT_FLAG_SYSTEM
- Name: "PeerStatus"
- manager_event(EVENT_FLAG_SYSTEM,"PeerStatus","ChannelType:IAX2\r\nPeer:IAX2/%s\r\nPeerStatus:Lagged\r\nTime:%d\r\n",peer->name,iaxs[fr->callno]->pingtime);
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_iax2.c
- ChannelType => iaxs[fr->callno]->reg->username
- Username => ies.cause?ies.cause:"<unknown>"
- Category: EVENT_FLAG_SYSTEM
- Name: "Registry"
- manager_event(EVENT_FLAG_SYSTEM,"Registry","ChannelType:IAX2\r\nUsername:%s\r\nStatus:Rejected\r\nCause:%s\r\n",iaxs[fr->callno]->reg->username,ies.cause?ies.cause:"<unknown>");
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_iax2.c
- ChannelType => peer->name
- Peer => peer->lastms
- Category: EVENT_FLAG_SYSTEM
- Name: "PeerStatus"
- manager_event(EVENT_FLAG_SYSTEM,"PeerStatus","ChannelType:IAX2\r\nPeer:IAX2/%s\r\nPeerStatus:Unreachable\r\nTime:%d\r\n",peer->name,peer->lastms);
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_gtalk.c
- Channel => ast->name
- Channeltype => "GTALK"
- Gtalk-SID => p->sid
- Category: EVENT_FLAG_SYSTEM
- Name: "ChannelUpdate"
- manager_event(EVENT_FLAG_SYSTEM,"ChannelUpdate","Channel:%s\r\nChanneltype:%s\r\nGtalk-SID:%s\r\n",ast->name,"GTALK",p->sid);
- -----------------------------------------------------------
- /home/chris/asterisk/channels/chan_gtalk.c
- Channel => i->owner?i->owner->name:""
- Channeltype => "Gtalk"
- Gtalk-SID => i->sid
- Category: EVENT_FLAG_SYSTEM
- Name: "ChannelUpdate"
- manager_event(EVENT_FLAG_SYSTEM,"ChannelUpdate","Channel:%s\r\nChanneltype:%s\r\nGtalk-SID:%s\r\n",i->owner?i->owner->name:"","Gtalk",i->sid);
- -----------------------------------------------------------
- /home/chris/asterisk/cdr/cdr_manager.c
- AccountCode => cdr->accountcode
- Source => cdr->src
- Destination => cdr->dst
- DestinationContext => cdr->dcontext
- CallerID => cdr->clid
- Channel => cdr->channel
- DestinationChannel => cdr->dstchannel
- LastApplication => cdr->lastapp
- LastData => cdr->lastdata
- StartTime => strStartTime
- AnswerTime => strAnswerTime
- EndTime => strEndTime
- Duration => cdr->duration
- BillableSeconds => cdr->billsec
- Disposition => ast_cdr_disp2str(cdr->disposition)
- AMAFlags => ast_cdr_flags2str(cdr->amaflags)
- UniqueID => cdr->uniqueid
- UserField => cdr->userfield
- => buf
- Category: EVENT_FLAG_CDR
- Name: "Cdr"
- manager_event(EVENT_FLAG_CDR,"Cdr","AccountCode:%s\r\n""Source:%s\r\n""Destination:%s\r\n""DestinationContext:%s\r\n""CallerID:%s\r\n""Channel:%s\r\n""DestinationChannel:%s\r\n""LastApplication:%s\r\n""LastData:%s\r\n""StartTime:%s\r\n""AnswerTime:%s\r\n""EndTime:%s\r\n""Duration:%ld\r\n""BillableSeconds:%ld\r\n""Disposition:%s\r\n""AMAFlags:%s\r\n""UniqueID:%s\r\n""UserField:%s\r\n""%s",cdr->accountcode,cdr->src,cdr->dst,cdr->dcontext,cdr->clid,cdr->channel,cdr->dstchannel,cdr->lastapp,cdr->lastdata,strStartTime,strAnswerTime,strEndTime,cdr->duration,cdr->billsec,ast_cdr_disp2str(cdr->disposition),ast_cdr_flags2str(cdr->amaflags),cdr->uniqueid,cdr->userfield,buf);
- -----------------------------------------------------------
- /home/chris/asterisk/funcs/func_global.c
- Channel => chan?chan->name:"none"
- Variable => args.var
- Value => value
- Uniqueid => chan?chan->uniqueid:"none"
- Category: EVENT_FLAG_DIALPLAN
- Name: "VarSet"
- manager_event(EVENT_FLAG_DIALPLAN,"VarSet","Channel:%s\r\n""Variable:SHARED(%s)\r\n""Value:%s\r\n""Uniqueid:%s\r\n",chan?chan->name:"none",args.var,value,chan?chan->uniqueid:"none");
- -----------------------------------------------------------
- /home/chris/asterisk/main/enum.c
- -----------------------------------------------------------
- /home/chris/asterisk/main/asterisk.c
- Shutdown => ast_active_channels()?"Uncleanly":"Cleanly"
- Restart => restart?"True":"False"
- Category: EVENT_FLAG_SYSTEM
- Name: "Shutdown"
- manager_event(EVENT_FLAG_SYSTEM,"Shutdown","Shutdown:%s\r\nRestart:%s\r\n",ast_active_channels()?"Uncleanly":"Cleanly",restart?"True":"False");
- -----------------------------------------------------------
- /home/chris/asterisk/main/pbx.c
- Channel => c->name
- Context => c->context
- Extension => c->exten
- Priority => c->priority
- Application => app->name
- AppData => passdata
- Uniqueid => c->uniqueid
- Category: EVENT_FLAG_DIALPLAN
- Name: "Newexten"
- manager_event(EVENT_FLAG_DIALPLAN,"Newexten","Channel:%s\r\n""Context:%s\r\n""Extension:%s\r\n""Priority:%d\r\n""Application:%s\r\n""AppData:%s\r\n""Uniqueid:%s\r\n",c->name,c->context,c->exten,c->priority,app->name,passdata,c->uniqueid);
- -----------------------------------------------------------
- /home/chris/asterisk/main/pbx.c
- EventList => counters.total_items
- ListItems => counters.total_exten
- ListExtensions => counters.total_prio
- ListPriorities => counters.total_context
- ListContexts => idtext
- Category: EVENT_FLAG_CONFIG
- Name: "ShowDialPlanComplete"
- manager_event(EVENT_FLAG_CONFIG,"ShowDialPlanComplete","EventList:Complete\r\n""ListItems:%d\r\n""ListExtensions:%d\r\n""ListPriorities:%d\r\n""ListContexts:%d\r\n""%s""\r\n",counters.total_items,counters.total_exten,counters.total_prio,counters.total_context,idtext);
- -----------------------------------------------------------
- /home/chris/asterisk/main/pbx.c
- Channel => chan?chan->name:"none"
- Variable => name
- Value => value
- Uniqueid => chan?chan->uniqueid:"none"
- Category: EVENT_FLAG_DIALPLAN
- Name: "VarSet"
- manager_event(EVENT_FLAG_DIALPLAN,"VarSet","Channel:%s\r\n""Variable:%s\r\n""Value:%s\r\n""Uniqueid:%s\r\n",chan?chan->name:"none",name,value,chan?chan->uniqueid:"none");
- -----------------------------------------------------------
- /home/chris/asterisk/main/manager.c
- %s%sResponse => in->idtext
- Channel => ast_strlen_zero(in->idtext)?"":"\r\n"
- Context => res?"Failure":"Success"
- Exten => chan?chan->name:requested_channel
- Reason => in->context
- Uniqueid => in->exten
- CallerIDNum => reason
- CallerIDName => chan?chan->uniqueid:"<null>"
- Category: EVENT_FLAG_CALL
- Name: "OriginateResponse"
- manager_event(EVENT_FLAG_CALL,"OriginateResponse","%s%s""Response:%s\r\n""Channel:%s\r\n""Context:%s\r\n""Exten:%s\r\n""Reason:%d\r\n""Uniqueid:%s\r\n""CallerIDNum:%s\r\n""CallerIDName:%s\r\n",in->idtext,ast_strlen_zero(in->idtext)?"":"\r\n",res?"Failure":"Success",chan?chan->name:requested_channel,in->context,in->exten,reason,chan?chan->uniqueid:"<null>",S_OR(in->cid_num,"<unknown>"),S_OR(in->cid_name,"<unknown>"));
- -----------------------------------------------------------
- /home/chris/asterisk/main/manager.c
- UserEvent => event
- => ast_str_buffer(body)
- Category: EVENT_FLAG_USER
- Name: "UserEvent"
- manager_event(EVENT_FLAG_USER,"UserEvent","UserEvent:%s\r\n%s",event,ast_str_buffer(body));
- -----------------------------------------------------------
- /home/chris/asterisk/main/manager.c
- => intline
- Category: intcategory
- Name: constchar*event
- manager_event(intcategory,constchar*event,constchar*file,intline,constchar*func,constchar*fmt,...){structmansession_session*session;structmanager_custom_hook*hook;structast_str*auth=ast_str_alloca(80);
- -----------------------------------------------------------
- /home/chris/asterisk/main/manager.c
- Exten => exten
- Context => context
- Hint => hint
- Status => state
- Category: EVENT_FLAG_CALL
- Name: "ExtensionStatus"
- manager_event(EVENT_FLAG_CALL,"ExtensionStatus","Exten:%s\r\nContext:%s\r\nHint:%s\r\nStatus:%d\r\n",exten,context,hint,state);
- -----------------------------------------------------------
- /home/chris/asterisk/main/manager.c
- Module => manager_enabled?"Enabled":"Disabled"
- Category: EVENT_FLAG_SYSTEM
- Name: "Reload"
- manager_event(EVENT_FLAG_SYSTEM,"Reload","Module:Manager\r\nStatus:%s\r\nMessage:ManagerreloadRequested\r\n",manager_enabled?"Enabled":"Disabled");
- -----------------------------------------------------------
- /home/chris/asterisk/main/logger.c
- Channel => f->filename
- Category: EVENT_FLAG_SYSTEM
- Name: "LogChannel"
- manager_event(EVENT_FLAG_SYSTEM,"LogChannel","Channel:%s\r\nEnabled:Yes\r\n",f->filename);
- -----------------------------------------------------------
- /home/chris/asterisk/main/logger.c
- Channel => chan->filename
- Enabled => errno
- Reason => strerror(errno)
- Category: EVENT_FLAG_SYSTEM
- Name: "LogChannel"
- manager_event(EVENT_FLAG_SYSTEM,"LogChannel","Channel:%s\r\nEnabled:No\r\nReason:%d-%s\r\n",chan->filename,errno,strerror(errno));
- -----------------------------------------------------------
- /home/chris/asterisk/main/cdr.c
- Channel => chan->name
- Uniqueid => chan->uniqueid
- AccountCode => chan->accountcode
- OldAccountCode => buf
- Category: EVENT_FLAG_CALL
- Name: "NewAccountCode"
- manager_event(EVENT_FLAG_CALL,"NewAccountCode","Channel:%s\r\nUniqueid:%s\r\nAccountCode:%s\r\nOldAccountCode:%s\r\n",chan->name,chan->uniqueid,chan->accountcode,buf);
- -----------------------------------------------------------
- /home/chris/asterisk/main/cdr.c
- -----------------------------------------------------------
- /home/chris/asterisk/main/channel.c
- Channel => tmp->name
- ChannelState => state
- ChannelStateDesc => ast_state2str(state)
- CallerIDNum => S_OR(cid_num
- CallerIDName => "")
- AccountCode => S_OR(cid_name
- Exten => "")
- Context => tmp->accountcode
- Uniqueid => S_OR(exten
- Category: EVENT_FLAG_CALL
- Name: "Newchannel"
- manager_event(EVENT_FLAG_CALL,"Newchannel","Channel:%s\r\n""ChannelState:%d\r\n""ChannelStateDesc:%s\r\n""CallerIDNum:%s\r\n""CallerIDName:%s\r\n""AccountCode:%s\r\n""Exten:%s\r\n""Context:%s\r\n""Uniqueid:%s\r\n",tmp->name,state,ast_state2str(state),S_OR(cid_num,""),S_OR(cid_name,""),tmp->accountcode,S_OR(exten,""),S_OR(context,""),tmp->uniqueid);
- -----------------------------------------------------------
- /home/chris/asterisk/main/channel.c
- Channel => chan->name
- Uniqueid => chan->uniqueid
- CallerIDNum => S_OR(chan->cid.cid_num
- CallerIDName => "<unknown>")
- Cause => S_OR(chan->cid.cid_name
- Cause-txt => "<unknown>")
- Category: EVENT_FLAG_CALL
- Name: "Hangup"
- manager_event(EVENT_FLAG_CALL,"Hangup","Channel:%s\r\n""Uniqueid:%s\r\n""CallerIDNum:%s\r\n""CallerIDName:%s\r\n""Cause:%d\r\n""Cause-txt:%s\r\n",chan->name,chan->uniqueid,S_OR(chan->cid.cid_num,"<unknown>"),S_OR(chan->cid.cid_name,"<unknown>"),chan->hangupcause,ast_cause2str(chan->hangupcause));
- -----------------------------------------------------------
- /home/chris/asterisk/main/channel.c
- Channel => chan->name
- Uniqueid => chan->uniqueid
- Digit => digit
- Direction => direction
- Begin => begin
- End => end
- Category: EVENT_FLAG_DTMF
- Name: "DTMF"
- manager_event(EVENT_FLAG_DTMF,"DTMF","Channel:%s\r\n""Uniqueid:%s\r\n""Digit:%c\r\n""Direction:%s\r\n""Begin:%s\r\n""End:%s\r\n",chan->name,chan->uniqueid,digit,direction,begin,end);
- -----------------------------------------------------------
- /home/chris/asterisk/main/channel.c
- Channel => chan->name
- Newname => newname
- Uniqueid => chan->uniqueid
- Category: EVENT_FLAG_CALL
- Name: "Rename"
- manager_event(EVENT_FLAG_CALL,"Rename","Channel:%s\r\nNewname:%s\r\nUniqueid:%s\r\n",chan->name,newname,chan->uniqueid);
- -----------------------------------------------------------
- /home/chris/asterisk/main/channel.c
- Clone => clonechan->name
- CloneState => ast_state2str(clonechan->_state)
- Original => original->name
- OriginalState => ast_state2str(original->_state)
- Category: EVENT_FLAG_CALL
- Name: "Masquerade"
- manager_event(EVENT_FLAG_CALL,"Masquerade","Clone:%s\r\nCloneState:%s\r\nOriginal:%s\r\nOriginalState:%s\r\n",clonechan->name,ast_state2str(clonechan->_state),original->name,ast_state2str(original->_state));
- -----------------------------------------------------------
- /home/chris/asterisk/main/channel.c
- Channel => clonechan->name
- Uniqueid => clonechan->uniqueid
- Cause => clonechan->hangupcause
- Cause-txt => ast_cause2str(clonechan->hangupcause)
- Category: EVENT_FLAG_CALL
- Name: "Hangup"
- manager_event(EVENT_FLAG_CALL,"Hangup","Channel:%s\r\n""Uniqueid:%s\r\n""Cause:%d\r\n""Cause-txt:%s\r\n",clonechan->name,clonechan->uniqueid,clonechan->hangupcause,ast_cause2str(clonechan->hangupcause));
- -----------------------------------------------------------
- /home/chris/asterisk/main/channel.c
- Channel => chan->name
- CallerIDNum => S_OR(chan->cid.cid_num
- CallerIDName => "")
- Uniqueid => S_OR(chan->cid.cid_name
- CID-CallingPres => "")
- Category: EVENT_FLAG_CALL
- Name: "NewCallerid"
- manager_event(EVENT_FLAG_CALL,"NewCallerid","Channel:%s\r\n""CallerIDNum:%s\r\n""CallerIDName:%s\r\n""Uniqueid:%s\r\n""CID-CallingPres:%d(%s)\r\n",chan->name,S_OR(chan->cid.cid_num,""),S_OR(chan->cid.cid_name,""),chan->uniqueid,chan->cid.cid_pres,ast_describe_caller_presentation(chan->cid.cid_pres));
- -----------------------------------------------------------
- /home/chris/asterisk/main/channel.c
- Channel => chan->name
- ChannelState => chan->_state
- ChannelStateDesc => ast_state2str(chan->_state)
- CallerIDNum => S_OR(chan->cid.cid_num
- CallerIDName => "")
- Uniqueid => S_OR(chan->cid.cid_name
- Category: EVENT_FLAG_CALL
- Name: "Newstate"
- manager_event(EVENT_FLAG_CALL,"Newstate","Channel:%s\r\n""ChannelState:%d\r\n""ChannelStateDesc:%s\r\n""CallerIDNum:%s\r\n""CallerIDName:%s\r\n""Uniqueid:%s\r\n",chan->name,chan->_state,ast_state2str(chan->_state),S_OR(chan->cid.cid_num,""),S_OR(chan->cid.cid_name,""),chan->uniqueid);
- -----------------------------------------------------------
- /home/chris/asterisk/main/channel.c
- Bridgestate => onoff?"Link":"Unlink"
- Bridgetype => type==1?"core":"native"
- Channel1 => c0->name
- Channel2 => c1->name
- Uniqueid1 => c0->uniqueid
- Uniqueid2 => c1->uniqueid
- CallerID1 => S_OR(c0->cid.cid_num
- CallerID2 => "")
- Category: EVENT_FLAG_CALL
- Name: "Bridge"
- manager_event(EVENT_FLAG_CALL,"Bridge","Bridgestate:%s\r\n""Bridgetype:%s\r\n""Channel1:%s\r\n""Channel2:%s\r\n""Uniqueid1:%s\r\n""Uniqueid2:%s\r\n""CallerID1:%s\r\n""CallerID2:%s\r\n",onoff?"Link":"Unlink",type==1?"core":"native",c0->name,c1->name,c0->uniqueid,c1->uniqueid,S_OR(c0->cid.cid_num,""),S_OR(c1->cid.cid_num,""));
- -----------------------------------------------------------
- /home/chris/asterisk/main/channel.c
- Channel1 => c0->name
- Channel2 => c1->name
- Uniqueid1 => c0->uniqueid
- Uniqueid2 => c1->uniqueid
- CallerID1 => S_OR(c0->cid.cid_num
- CallerID2 => "<unknown>")
- Category: EVENT_FLAG_CALL
- Name: "Unlink"
- manager_event(EVENT_FLAG_CALL,"Unlink","Channel1:%s\r\n""Channel2:%s\r\n""Uniqueid1:%s\r\n""Uniqueid2:%s\r\n""CallerID1:%s\r\n""CallerID2:%s\r\n",c0->name,c1->name,c0->uniqueid,c1->uniqueid,S_OR(c0->cid.cid_num,"<unknown>"),S_OR(c1->cid.cid_num,"<unknown>"));
- -----------------------------------------------------------
- /home/chris/asterisk/main/channel.c
- Channel1 => c0->name
- Channel2 => c1->name
- Uniqueid1 => c0->uniqueid
- Uniqueid2 => c1->uniqueid
- CallerID1 => S_OR(c0->cid.cid_num
- CallerID2 => "<unknown>")
- Category: EVENT_FLAG_CALL
- Name: "Unlink"
- manager_event(EVENT_FLAG_CALL,"Unlink","Channel1:%s\r\n""Channel2:%s\r\n""Uniqueid1:%s\r\n""Uniqueid2:%s\r\n""CallerID1:%s\r\n""CallerID2:%s\r\n",c0->name,c1->name,c0->uniqueid,c1->uniqueid,S_OR(c0->cid.cid_num,"<unknown>"),S_OR(c1->cid.cid_num,"<unknown>"));
- -----------------------------------------------------------
- /home/chris/asterisk/main/dnsmgr.c
- Module => enabled?"Enabled":"Disabled"
- Category: EVENT_FLAG_SYSTEM
- Name: "Reload"
- manager_event(EVENT_FLAG_SYSTEM,"Reload","Module:DNSmgr\r\nStatus:%s\r/nMessage:DNSmgrreloadRequested\r\n",enabled?"Enabled":"Disabled");
- -----------------------------------------------------------
- /home/chris/asterisk/main/features.c
- Exten => pu->parkingexten
- Channel => pu->chan->name
- Parkinglot => pu->parkinglot->name
- From => event_from?event_from:""
- Timeout => (long)pu->start.tv_sec+(long)(pu->parkingtime/1000)-(long)time(NULL)
- CallerIDNum => S_OR(pu->chan->cid.cid_num
- CallerIDName => "<unknown>")
- Uniqueid => S_OR(pu->chan->cid.cid_name
- Category: EVENT_FLAG_CALL
- Name: "ParkedCall"
- manager_event(EVENT_FLAG_CALL,"ParkedCall","Exten:%s\r\n""Channel:%s\r\n""Parkinglot:%s\r\n""From:%s\r\n""Timeout:%ld\r\n""CallerIDNum:%s\r\n""CallerIDName:%s\r\n""Uniqueid:%s\r\n",pu->parkingexten,pu->chan->name,pu->parkinglot->name,event_from?event_from:"",(long)pu->start.tv_sec+(long)(pu->parkingtime/1000)-(long)time(NULL),S_OR(pu->chan->cid.cid_num,"<unknown>"),S_OR(pu->chan->cid.cid_name,"<unknown>"),pu->chan->uniqueid);
- -----------------------------------------------------------
- /home/chris/asterisk/main/features.c
- => "Exten:%s\r\n""Channel:%s\r\n""Parkinglot:%s\r\n""CallerIDNum:%s\r\n""CallerIDName:%s\r\n""UniqueID:%s\r\n\r\n"
- Category: constchar*s
- Name: structparkeduser*pu){manager_event(EVENT_FLAG_CALL
- manager_event(constchar*s,structparkeduser*pu){manager_event(EVENT_FLAG_CALL,s,"Exten:%s\r\n""Channel:%s\r\n""Parkinglot:%s\r\n""CallerIDNum:%s\r\n""CallerIDName:%s\r\n""UniqueID:%s\r\n\r\n",pu->parkingexten,pu->chan->name,pu->parkinglot->name,S_OR(pu->chan->cid.cid_num,"<unknown>"),S_OR(pu->chan->cid.cid_name,"<unknown>"),pu->chan->uniqueid);
- -----------------------------------------------------------
- /home/chris/asterisk/main/features.c
- -----------------------------------------------------------
- /home/chris/asterisk/main/features.c
- -----------------------------------------------------------
- /home/chris/asterisk/main/features.c
- Exten => pu->parkingexten
- Channel => pu->chan->name
- From => chan->name
- CallerIDNum => S_OR(pu->chan->cid.cid_num
- CallerIDName => "<unknown>")
- Category: EVENT_FLAG_CALL
- Name: "UnParkedCall"
- manager_event(EVENT_FLAG_CALL,"UnParkedCall","Exten:%s\r\n""Channel:%s\r\n""From:%s\r\n""CallerIDNum:%s\r\n""CallerIDName:%s\r\n",pu->parkingexten,pu->chan->name,chan->name,S_OR(pu->chan->cid.cid_num,"<unknown>"),S_OR(pu->chan->cid.cid_name,"<unknown>"));
- -----------------------------------------------------------
- /home/chris/asterisk/main/features.c
- Response => chan->name
- Reason => args.dest_chan
- Category: EVENT_FLAG_CALL
- Name: "BridgeExec"
- manager_event(EVENT_FLAG_CALL,"BridgeExec","Response:Failed\r\n""Reason:Unabletobridgechanneltoitself\r\n""Channel1:%s\r\n""Channel2:%s\r\n",chan->name,args.dest_chan);
- -----------------------------------------------------------
- /home/chris/asterisk/main/features.c
- Response => chan->name
- Reason => args.dest_chan
- Category: EVENT_FLAG_CALL
- Name: "BridgeExec"
- manager_event(EVENT_FLAG_CALL,"BridgeExec","Response:Failed\r\n""Reason:Cannotgrabendpoint\r\n""Channel1:%s\r\n""Channel2:%s\r\n",chan->name,args.dest_chan);
- -----------------------------------------------------------
- /home/chris/asterisk/main/features.c
- Response => chan->name
- Reason => args.dest_chan
- Category: EVENT_FLAG_CALL
- Name: "BridgeExec"
- manager_event(EVENT_FLAG_CALL,"BridgeExec","Response:Failed\r\n""Reason:cannotcreateplaceholder\r\n""Channel1:%s\r\n""Channel2:%s\r\n",chan->name,args.dest_chan);
- -----------------------------------------------------------
- /home/chris/asterisk/main/features.c
- Response => chan->name
- Reason => final_dest_chan->name
- Category: EVENT_FLAG_CALL
- Name: "BridgeExec"
- manager_event(EVENT_FLAG_CALL,"BridgeExec","Response:Failed\r\n""Reason:Couldnotmakechannelscompatibleforbridge\r\n""Channel1:%s\r\n""Channel2:%s\r\n",chan->name,final_dest_chan->name);
- -----------------------------------------------------------
- /home/chris/asterisk/main/features.c
- Response => chan->name
- Channel1 => final_dest_chan->name
- Category: EVENT_FLAG_CALL
- Name: "BridgeExec"
- manager_event(EVENT_FLAG_CALL,"BridgeExec","Response:Success\r\n""Channel1:%s\r\n""Channel2:%s\r\n",chan->name,final_dest_chan->name);
- -----------------------------------------------------------
- /home/chris/asterisk/main/loader.c
- ModuleLoadStatus => preload_only?"Preload":"All"
- ModuleSelection => modulecount
- Category: EVENT_FLAG_SYSTEM
- Name: "ModuleLoadReport"
- manager_event(EVENT_FLAG_SYSTEM,"ModuleLoadReport","ModuleLoadStatus:Done\r\nModuleSelection:%s\r\nModuleCount:%d\r\n",preload_only?"Preload":"All",modulecount);
- -----------------------------------------------------------
- /home/chris/asterisk/apps/app_minivm.c
- Action => vmu->username
- Counter => vmu->domain
- Category: EVENT_FLAG_CALL
- Name: "MiniVoiceMail"
- manager_event(EVENT_FLAG_CALL,"MiniVoiceMail","Action:SentNotification\rn\nMailbox:%s@%s\r\nCounter:%s\r\n",vmu->username,vmu->domain,counter);
- -----------------------------------------------------------
- /home/chris/asterisk/apps/app_dial.c
- SubEvent => src->name
- Channel => dst->name
- Destination => S_OR(src->cid.cid_num
- CallerIDNum => "<unknown>")
- CallerIDName => S_OR(src->cid.cid_name
- UniqueID => "<unknown>")
- DestUniqueID => src->uniqueid
- Dialstring => dst->uniqueid
- Category: EVENT_FLAG_CALL
- Name: "Dial"
- manager_event(EVENT_FLAG_CALL,"Dial","SubEvent:Begin\r\n""Channel:%s\r\n""Destination:%s\r\n""CallerIDNum:%s\r\n""CallerIDName:%s\r\n""UniqueID:%s\r\n""DestUniqueID:%s\r\n""Dialstring:%s\r\n",src->name,dst->name,S_OR(src->cid.cid_num,"<unknown>"),S_OR(src->cid.cid_name,"<unknown>"),src->uniqueid,dst->uniqueid,dialstring?dialstring:"");
- -----------------------------------------------------------
- /home/chris/asterisk/apps/app_dial.c
- SubEvent => src->name
- Channel => src->uniqueid
- UniqueID => dialstatus
- Category: EVENT_FLAG_CALL
- Name: "Dial"
- manager_event(EVENT_FLAG_CALL,"Dial","SubEvent:End\r\n""Channel:%s\r\n""UniqueID:%s\r\n""DialStatus:%s\r\n",src->name,src->uniqueid,dialstatus);
- -----------------------------------------------------------
- /home/chris/asterisk/apps/app_fax.c
- Channel => s->chan->name
- Exten => s->chan->exten
- CallerID => S_OR(s->chan->cid.cid_num
- RemoteStationID => "")
- LocalStationID => far_ident
- PagesTransferred => local_ident
- Resolution => pages_transferred
- TransferRate => stat.y_resolution
- FileName => stat.bit_rate
- Category: EVENT_FLAG_CALL
- Name: s->direction?"FaxSent":"FaxReceived"
- manager_event(EVENT_FLAG_CALL,s->direction?"FaxSent":"FaxReceived","Channel:%s\r\n""Exten:%s\r\n""CallerID:%s\r\n""RemoteStationID:%s\r\n""LocalStationID:%s\r\n""PagesTransferred:%d\r\n""Resolution:%d\r\n""TransferRate:%d\r\n""FileName:%s\r\n",s->chan->name,s->chan->exten,S_OR(s->chan->cid.cid_num,""),far_ident,local_ident,pages_transferred,stat.y_resolution,stat.bit_rate,s->file_name);
- -----------------------------------------------------------
- /home/chris/asterisk/apps/app_userevent.c
- UserEvent => args.eventname
- => ast_str_buffer(body)
- Category: EVENT_FLAG_USER
- Name: "UserEvent"
- manager_event(EVENT_FLAG_USER,"UserEvent","UserEvent:%s\r\n%s",args.eventname,ast_str_buffer(body));
- -----------------------------------------------------------
- /home/chris/asterisk/apps/app_voicemail.c
- Mailbox => vmu->mailbox
- Waiting => vmu->context
- New => ast_app_has_voicemail(ext_context
- Old => NULL)
- Category: EVENT_FLAG_CALL
- Name: "MessageWaiting"
- manager_event(EVENT_FLAG_CALL,"MessageWaiting","Mailbox:%s@%s\r\nWaiting:%d\r\nNew:%d\r\nOld:%d\r\n",vmu->mailbox,vmu->context,ast_app_has_voicemail(ext_context,NULL),newmsgs,oldmsgs);
- -----------------------------------------------------------
- /home/chris/asterisk/apps/app_voicemail.c
- Mailbox => ext_context
- Waiting => has_voicemail(ext_context
- Category: EVENT_FLAG_CALL
- Name: "MessageWaiting"
- manager_event(EVENT_FLAG_CALL,"MessageWaiting","Mailbox:%s\r\nWaiting:%d\r\n",ext_context,has_voicemail(ext_context,NULL));
- -----------------------------------------------------------
- /home/chris/asterisk/apps/app_stack.c
- Channel => chan->name
- Variable => var
- Value => value
- Uniqueid => chan->uniqueid
- Category: EVENT_FLAG_DIALPLAN
- Name: "VarSet"
- manager_event(EVENT_FLAG_DIALPLAN,"VarSet","Channel:%s\r\n""Variable:LOCAL(%s)\r\n""Value:%s\r\n""Uniqueid:%s\r\n",chan->name,var,value,chan->uniqueid);
- -----------------------------------------------------------
- /home/chris/asterisk/apps/app_chanspy.c
- SpyerChannel => spyer_name
- SpyeeChannel => name
- Category: EVENT_FLAG_CALL
- Name: "ChanSpyStart"
- manager_event(EVENT_FLAG_CALL,"ChanSpyStart","SpyerChannel:%s\r\n""SpyeeChannel:%s\r\n",spyer_name,name);
- -----------------------------------------------------------
- /home/chris/asterisk/apps/app_chanspy.c
- SpyeeChannel => name
- Category: EVENT_FLAG_CALL
- Name: "ChanSpyStop"
- manager_event(EVENT_FLAG_CALL,"ChanSpyStop","SpyeeChannel:%s\r\n",name);
- -----------------------------------------------------------
- /home/chris/asterisk/apps/app_meetme.c
- Meetme => conf->confno
- Category: EVENT_FLAG_CALL
- Name: "MeetmeEnd"
- manager_event(EVENT_FLAG_CALL,"MeetmeEnd","Meetme:%s\r\n",conf->confno);
- -----------------------------------------------------------
- /home/chris/asterisk/apps/app_meetme.c
- Channel => chan->name
- Uniqueid => chan->uniqueid
- Meetme => conf->confno
- Usernum => user->user_no
- CallerIDnum => S_OR(user->chan->cid.cid_num
- CallerIDname => "<unknown>")
- Category: EVENT_FLAG_CALL
- Name: "MeetmeJoin"
- manager_event(EVENT_FLAG_CALL,"MeetmeJoin","Channel:%s\r\n""Uniqueid:%s\r\n""Meetme:%s\r\n""Usernum:%d\r\n""CallerIDnum:%s\r\n""CallerIDname:%s\r\n",chan->name,chan->uniqueid,conf->confno,user->user_no,S_OR(user->chan->cid.cid_num,"<unknown>"),S_OR(user->chan->cid.cid_name,"<unknown>"));
- -----------------------------------------------------------
- /home/chris/asterisk/apps/app_meetme.c
- Channel => chan->name
- Uniqueid => chan->uniqueid
- Meetme => conf->confno
- Usernum => user->user_no
- Category: EVENT_FLAG_CALL
- Name: "MeetmeMute"
- manager_event(EVENT_FLAG_CALL,"MeetmeMute","Channel:%s\r\n""Uniqueid:%s\r\n""Meetme:%s\r\n""Usernum:%i\r\n""Status:on\r\n",chan->name,chan->uniqueid,conf->confno,user->user_no);
- -----------------------------------------------------------
- /home/chris/asterisk/apps/app_meetme.c
- Channel => chan->name
- Uniqueid => chan->uniqueid
- Meetme => conf->confno
- Usernum => user->user_no
- Category: EVENT_FLAG_CALL
- Name: "MeetmeMute"
- manager_event(EVENT_FLAG_CALL,"MeetmeMute","Channel:%s\r\n""Uniqueid:%s\r\n""Meetme:%s\r\n""Usernum:%i\r\n""Status:off\r\n",chan->name,chan->uniqueid,conf->confno,user->user_no);
- -----------------------------------------------------------
- /home/chris/asterisk/apps/app_meetme.c
- Channel => chan->name
- Uniqueid => chan->uniqueid
- Meetme => conf->confno
- Usernum => user->user_no
- Category: EVENT_FLAG_CALL
- Name: "MeetmeTalkRequest"
- manager_event(EVENT_FLAG_CALL,"MeetmeTalkRequest","Channel:%s\r\n""Uniqueid:%s\r\n""Meetme:%s\r\n""Usernum:%i\r\n""Status:on\r\n",chan->name,chan->uniqueid,conf->confno,user->user_no);
- -----------------------------------------------------------
- /home/chris/asterisk/apps/app_meetme.c
- Channel => chan->name
- Uniqueid => chan->uniqueid
- Meetme => conf->confno
- Usernum => user->user_no
- Category: EVENT_FLAG_CALL
- Name: "MeetmeTalkRequest"
- manager_event(EVENT_FLAG_CALL,"MeetmeTalkRequest","Channel:%s\r\n""Uniqueid:%s\r\n""Meetme:%s\r\n""Usernum:%i\r\n""Status:off\r\n",chan->name,chan->uniqueid,conf->confno,user->user_no);
- -----------------------------------------------------------
- /home/chris/asterisk/apps/app_meetme.c
- Channel => chan->name
- Uniqueid => chan->uniqueid
- Meetme => conf->confno
- Usernum => user->user_no
- Category: EVENT_FLAG_CALL
- Name: "MeetmeTalking"
- manager_event(EVENT_FLAG_CALL,"MeetmeTalking","Channel:%s\r\n""Uniqueid:%s\r\n""Meetme:%s\r\n""Usernum:%d\r\n""Status:on\r\n",chan->name,chan->uniqueid,conf->confno,user->user_no);
- -----------------------------------------------------------
- /home/chris/asterisk/apps/app_meetme.c
- Channel => chan->name
- Uniqueid => chan->uniqueid
- Meetme => conf->confno
- Usernum => user->user_no
- Category: EVENT_FLAG_CALL
- Name: "MeetmeTalking"
- manager_event(EVENT_FLAG_CALL,"MeetmeTalking","Channel:%s\r\n""Uniqueid:%s\r\n""Meetme:%s\r\n""Usernum:%d\r\n""Status:off\r\n",chan->name,chan->uniqueid,conf->confno,user->user_no);
- -----------------------------------------------------------
- /home/chris/asterisk/apps/app_meetme.c
- Channel => chan->name
- Uniqueid => chan->uniqueid
- Meetme => conf->confno
- Usernum => user->user_no
- CallerIDNum => S_OR(user->chan->cid.cid_num
- CallerIDName => "<unknown>")
- Duration => S_OR(user->chan->cid.cid_name
- Category: EVENT_FLAG_CALL
- Name: "MeetmeLeave"
- manager_event(EVENT_FLAG_CALL,"MeetmeLeave","Channel:%s\r\n""Uniqueid:%s\r\n""Meetme:%s\r\n""Usernum:%d\r\n""CallerIDNum:%s\r\n""CallerIDName:%s\r\n""Duration:%ld\r\n",chan->name,chan->uniqueid,conf->confno,user->user_no,S_OR(user->chan->cid.cid_num,"<unknown>"),S_OR(user->chan->cid.cid_name,"<unknown>"),(long)(now.tv_sec-user->jointime));
- -----------------------------------------------------------
- /home/chris/asterisk/apps/app_queue.c
- Queue => q->name
- Location => m->interface
- MemberName => m->membername
- Membership => m->dynamic?"dynamic":m->realtime?"realtime":"static"
- Penalty => m->penalty
- CallsTaken => m->calls
- LastCall => (int)m->lastcall
- Status => m->status
- Paused => m->paused
- Category: EVENT_FLAG_AGENT
- Name: "QueueMemberStatus"
- manager_event(EVENT_FLAG_AGENT,"QueueMemberStatus","Queue:%s\r\n""Location:%s\r\n""MemberName:%s\r\n""Membership:%s\r\n""Penalty:%d\r\n""CallsTaken:%d\r\n""LastCall:%d\r\n""Status:%d\r\n""Paused:%d\r\n",q->name,m->interface,m->membername,m->dynamic?"dynamic":m->realtime?"realtime":"static",m->penalty,m->calls,(int)m->lastcall,m->status,m->paused);
- -----------------------------------------------------------
- /home/chris/asterisk/apps/app_queue.c
- Channel => qe->chan->name
- CallerIDNum => S_OR(qe->chan->cid.cid_num
- CallerIDName => "unknown")
- Queue => /*XXXsomewhereelseitis<unknown>*/S_OR(qe->chan->cid.cid_name
- Position => "unknown")
- Count => q->name
- Uniqueid => qe->pos
- Category: EVENT_FLAG_CALL
- Name: "Join"
- manager_event(EVENT_FLAG_CALL,"Join","Channel:%s\r\nCallerIDNum:%s\r\nCallerIDName:%s\r\nQueue:%s\r\nPosition:%d\r\nCount:%d\r\nUniqueid:%s\r\n",qe->chan->name,S_OR(qe->chan->cid.cid_num,"unknown"),/*XXXsomewhereelseitis<unknown>*/S_OR(qe->chan->cid.cid_name,"unknown"),q->name,qe->pos,q->count,qe->chan->uniqueid);
- -----------------------------------------------------------
- /home/chris/asterisk/apps/app_queue.c
- Channel => qe->chan->name
- Queue => q->name
- Count => q->count
- Position => qe->pos
- Uniqueid => qe->chan->uniqueid
- Category: EVENT_FLAG_CALL
- Name: "Leave"
- manager_event(EVENT_FLAG_CALL,"Leave","Channel:%s\r\nQueue:%s\r\nCount:%d\r\nPosition:%d\r\nUniqueid:%s\r\n",qe->chan->name,q->name,q->count,qe->pos,qe->chan->uniqueid);
- -----------------------------------------------------------
- /home/chris/asterisk/apps/app_queue.c
- Queue => qe->parent->name
- AgentCalled => tmp->interface
- AgentName => tmp->member->membername
- ChannelCalling => qe->chan->name
- DestinationChannel => tmp->chan->name
- CallerIDNum => tmp->chan->cid.cid_num?tmp->chan->cid.cid_num:"unknown"
- CallerIDName => tmp->chan->cid.cid_name?tmp->chan->cid.cid_name:"unknown"
- Context => qe->chan->context
- Extension => qe->chan->exten
- Priority => qe->chan->priority
- Uniqueid => qe->chan->uniqueid
- => qe->parent->eventwhencalled==QUEUE_EVENT_VARIABLES?vars2manager(qe->chan
- Category: EVENT_FLAG_AGENT
- Name: "AgentCalled"
- manager_event(EVENT_FLAG_AGENT,"AgentCalled","Queue:%s\r\n""AgentCalled:%s\r\n""AgentName:%s\r\n""ChannelCalling:%s\r\n""DestinationChannel:%s\r\n""CallerIDNum:%s\r\n""CallerIDName:%s\r\n""Context:%s\r\n""Extension:%s\r\n""Priority:%d\r\n""Uniqueid:%s\r\n""%s",qe->parent->name,tmp->interface,tmp->member->membername,qe->chan->name,tmp->chan->name,tmp->chan->cid.cid_num?tmp->chan->cid.cid_num:"unknown",tmp->chan->cid.cid_name?tmp->chan->cid.cid_name:"unknown",qe->chan->context,qe->chan->exten,qe->chan->priority,qe->chan->uniqueid,qe->parent->eventwhencalled==QUEUE_EVENT_VARIABLES?vars2manager(qe->chan,vars,sizeof(vars)):"");
- -----------------------------------------------------------
- /home/chris/asterisk/apps/app_queue.c
- Queue => qe->parent->name
- Uniqueid => qe->chan->uniqueid
- Position => qe->pos
- OriginalPosition => qe->opos
- HoldTime => (int)(time(NULL)-qe->start)
- Category: EVENT_FLAG_AGENT
- Name: "QueueCallerAbandon"
- manager_event(EVENT_FLAG_AGENT,"QueueCallerAbandon","Queue:%s\r\n""Uniqueid:%s\r\n""Position:%d\r\n""OriginalPosition:%d\r\n""HoldTime:%d\r\n",qe->parent->name,qe->chan->uniqueid,qe->pos,qe->opos,(int)(time(NULL)-qe->start));
- -----------------------------------------------------------
- /home/chris/asterisk/apps/app_queue.c
- Queue => qe->parent->name
- Uniqueid => qe->chan->uniqueid
- Channel => qe->chan->name
- Member => interface
- MemberName => membername
- Ringtime => rnatime
- => qe->parent->eventwhencalled==QUEUE_EVENT_VARIABLES?vars2manager(qe->chan
- Category: EVENT_FLAG_AGENT
- Name: "AgentRingNoAnswer"
- manager_event(EVENT_FLAG_AGENT,"AgentRingNoAnswer","Queue:%s\r\n""Uniqueid:%s\r\n""Channel:%s\r\n""Member:%s\r\n""MemberName:%s\r\n""Ringtime:%d\r\n""%s",qe->parent->name,qe->chan->uniqueid,qe->chan->name,interface,membername,rnatime,qe->parent->eventwhencalled==QUEUE_EVENT_VARIABLES?vars2manager(qe->chan,vars,sizeof(vars)):"");
- -----------------------------------------------------------
- /home/chris/asterisk/apps/app_queue.c
- Queue => queuename
- Uniqueid => qe->chan->uniqueid
- Channel => peer->name
- Member => member->interface
- MemberName => member->membername
- HoldTime => (long)(callstart-qe->start)
- TalkTime => (long)(time(NULL)-callstart)
- Reason => reason
- => qe->parent->eventwhencalled==QUEUE_EVENT_VARIABLES?vars2manager(qe->chan
- Category: EVENT_FLAG_AGENT
- Name: "AgentComplete"
- manager_event(EVENT_FLAG_AGENT,"AgentComplete","Queue:%s\r\n""Uniqueid:%s\r\n""Channel:%s\r\n""Member:%s\r\n""MemberName:%s\r\n""HoldTime:%ld\r\n""TalkTime:%ld\r\n""Reason:%s\r\n""%s",queuename,qe->chan->uniqueid,peer->name,member->interface,member->membername,(long)(callstart-qe->start),(long)(time(NULL)-callstart),reason,qe->parent->eventwhencalled==QUEUE_EVENT_VARIABLES?vars2manager(qe->chan,vars,vars_len):"");
- -----------------------------------------------------------
- /home/chris/asterisk/apps/app_queue.c
- Queue => queuename
- Uniqueid => qe->chan->uniqueid
- Channel => peer->name
- Member => member->interface
- MemberName => member->membername
- => qe->parent->eventwhencalled==QUEUE_EVENT_VARIABLES?vars2manager(qe->chan
- Category: EVENT_FLAG_AGENT
- Name: "AgentDump"
- manager_event(EVENT_FLAG_AGENT,"AgentDump","Queue:%s\r\n""Uniqueid:%s\r\n""Channel:%s\r\n""Member:%s\r\n""MemberName:%s\r\n""%s",queuename,qe->chan->uniqueid,peer->name,member->interface,member->membername,qe->parent->eventwhencalled==QUEUE_EVENT_VARIABLES?vars2manager(qe->chan,vars,sizeof(vars)):"");
- -----------------------------------------------------------
- /home/chris/asterisk/apps/app_queue.c
- Queue => queuename
- Uniqueid => qe->chan->uniqueid
- Channel => peer->name
- Member => member->interface
- MemberName => member->membername
- Holdtime => (long)time(NULL)-qe->start
- BridgedChannel => peer->uniqueid
- Ringtime => (long)(orig-to>0?(orig-to)/1000:0)
- => qe->parent->eventwhencalled==QUEUE_EVENT_VARIABLES?vars2manager(qe->chan
- Category: EVENT_FLAG_AGENT
- Name: "AgentConnect"
- manager_event(EVENT_FLAG_AGENT,"AgentConnect","Queue:%s\r\n""Uniqueid:%s\r\n""Channel:%s\r\n""Member:%s\r\n""MemberName:%s\r\n""Holdtime:%ld\r\n""BridgedChannel:%s\r\n""Ringtime:%ld\r\n""%s",queuename,qe->chan->uniqueid,peer->name,member->interface,member->membername,(long)time(NULL)-qe->start,peer->uniqueid,(long)(orig-to>0?(orig-to)/1000:0),qe->parent->eventwhencalled==QUEUE_EVENT_VARIABLES?vars2manager(qe->chan,vars,sizeof(vars)):"");
- -----------------------------------------------------------
- /home/chris/asterisk/apps/app_queue.c
- Queue => q->name
- Location => mem->interface
- MemberName => mem->membername
- Category: EVENT_FLAG_AGENT
- Name: "QueueMemberRemoved"
- manager_event(EVENT_FLAG_AGENT,"QueueMemberRemoved","Queue:%s\r\n""Location:%s\r\n""MemberName:%s\r\n",q->name,mem->interface,mem->membername);
- -----------------------------------------------------------
- /home/chris/asterisk/apps/app_queue.c
- Queue => q->name
- Location => new_member->interface
- MemberName => new_member->membername
- Membership => "dynamic"
- Penalty => new_member->penalty
- CallsTaken => new_member->calls
- LastCall => (int)new_member->lastcall
- Status => new_member->status
- Paused => new_member->paused
- Category: EVENT_FLAG_AGENT
- Name: "QueueMemberAdded"
- manager_event(EVENT_FLAG_AGENT,"QueueMemberAdded","Queue:%s\r\n""Location:%s\r\n""MemberName:%s\r\n""Membership:%s\r\n""Penalty:%d\r\n""CallsTaken:%d\r\n""LastCall:%d\r\n""Status:%d\r\n""Paused:%d\r\n",q->name,new_member->interface,new_member->membername,"dynamic",new_member->penalty,new_member->calls,(int)new_member->lastcall,new_member->status,new_member->paused);
- -----------------------------------------------------------
- /home/chris/asterisk/apps/app_queue.c
- Queue => q->name
- Location => mem->interface
- MemberName => mem->membername
- Paused => paused
- Reason => reason
- Category: EVENT_FLAG_AGENT
- Name: "QueueMemberPaused"
- manager_event(EVENT_FLAG_AGENT,"QueueMemberPaused","Queue:%s\r\n""Location:%s\r\n""MemberName:%s\r\n""Paused:%d\r\n""Reason:%s\r\n",q->name,mem->interface,mem->membername,paused,reason);
- -----------------------------------------------------------
- /home/chris/asterisk/apps/app_queue.c
- Queue => q->name
- Location => mem->interface
- MemberName => mem->membername
- Paused => paused
- Category: EVENT_FLAG_AGENT
- Name: "QueueMemberPaused"
- manager_event(EVENT_FLAG_AGENT,"QueueMemberPaused","Queue:%s\r\n""Location:%s\r\n""MemberName:%s\r\n""Paused:%d\r\n",q->name,mem->interface,mem->membername,paused);
- -----------------------------------------------------------
- /home/chris/asterisk/apps/app_queue.c
- Queue => q->name
- Location => mem->interface
- Penalty => penalty
- Category: EVENT_FLAG_AGENT
- Name: "QueueMemberPenalty"
- manager_event(EVENT_FLAG_AGENT,"QueueMemberPenalty","Queue:%s\r\n""Location:%s\r\n""Penalty:%d\r\n",q->name,mem->interface,penalty);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement