Advertisement
Guest User

Chris

a guest
May 5th, 2009
746
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 68.48 KB | None | 0 0
  1. -----------------------------------------------------------
  2. /home/chris/asterisk/pbx/pbx_realtime.c
  3.  
  4. Channel => chan->name
  5. Context => chan->context
  6. Extension => chan->exten
  7. Priority => chan->priority
  8. Application => app
  9. AppData => !ast_strlen_zero(appdata)?appdata:"(NULL)"
  10. Uniqueid => chan->uniqueid
  11.  
  12. Category: EVENT_FLAG_DIALPLAN
  13. Name: "Newexten"
  14.  
  15. 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);
  16.  
  17. -----------------------------------------------------------
  18. /home/chris/asterisk/res/res_jabber.c
  19.  
  20. Account => client->name
  21. Packet => xmpp
  22.  
  23. Category: EVENT_FLAG_USER
  24. Name: "JabberEvent"
  25.  
  26. manager_event(EVENT_FLAG_USER,"JabberEvent","Account:%s\r\nPacket:%s\r\n",client->name,xmpp);
  27.  
  28. -----------------------------------------------------------
  29. /home/chris/asterisk/res/res_monitor.c
  30.  
  31. Channel => chan->name
  32. Uniqueid => chan->uniqueid
  33.  
  34. Category: EVENT_FLAG_CALL
  35. Name: "MonitorStart"
  36.  
  37. manager_event(EVENT_FLAG_CALL,"MonitorStart","Channel:%s\r\n""Uniqueid:%s\r\n",chan->name,chan->uniqueid);
  38.  
  39. -----------------------------------------------------------
  40. /home/chris/asterisk/res/res_monitor.c
  41.  
  42. Channel => chan->name
  43. Uniqueid => chan->uniqueid
  44.  
  45. Category: EVENT_FLAG_CALL
  46. Name: "MonitorStop"
  47.  
  48. manager_event(EVENT_FLAG_CALL,"MonitorStop","Channel:%s\r\n""Uniqueid:%s\r\n",chan->name,chan->uniqueid);
  49.  
  50. -----------------------------------------------------------
  51. /home/chris/asterisk/res/res_musiconhold.c
  52.  
  53. State => chan->name
  54. Channel => chan->uniqueid
  55.  
  56. Category: EVENT_FLAG_CALL
  57. Name: "MusicOnHold"
  58.  
  59. manager_event(EVENT_FLAG_CALL,"MusicOnHold","State:Start\r\n""Channel:%s\r\n""UniqueID:%s\r\n",chan->name,chan->uniqueid);
  60.  
  61. -----------------------------------------------------------
  62. /home/chris/asterisk/res/res_musiconhold.c
  63.  
  64. State => chan->name
  65. Channel => chan->uniqueid
  66.  
  67. Category: EVENT_FLAG_CALL
  68. Name: "MusicOnHold"
  69.  
  70. manager_event(EVENT_FLAG_CALL,"MusicOnHold","State:Stop\r\n""Channel:%s\r\n""UniqueID:%s\r\n",chan->name,chan->uniqueid);
  71.  
  72. -----------------------------------------------------------
  73. /home/chris/asterisk/res/res_rtp_asterisk.c
  74.  
  75. To%s => ast_inet_ntoa(rtp->rtcp->them.sin_addr)
  76. OurSSRC => ntohs(rtp->rtcp->them.sin_port)
  77. SentNTP => rtp->ssrc
  78. SentRTP => (unsignedint)now.tv_sec
  79. SentPackets => (unsignedint)now.tv_usec*4096
  80. SentOctets => rtp->lastts
  81. ReportBlock => rtp->txcount
  82. FractionLost => rtp->txoctetcount
  83. CumulativeLoss => fraction
  84. IAJitter => lost
  85. TheirLastSR => rtp->rxjitter
  86. DLSR => rtp->rtcp->themrxlsr
  87.  
  88. Category: EVENT_FLAG_REPORTING
  89. Name: "RTCPSent"
  90.  
  91. 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));
  92.  
  93. -----------------------------------------------------------
  94. /home/chris/asterisk/res/res_rtp_asterisk.c
  95.  
  96. From%s => ast_inet_ntoa(sin.sin_addr)
  97. PT => ntohs(sin.sin_port)
  98. ReceptionReports => pt
  99. SenderSSRC => (pt==200)?"SenderReport":(pt==201)?"ReceiverReport":(pt==192)?"H.261FUR":"Unknown"
  100. FractionLost => rc
  101. PacketsLost => rtcpheader[i+1]
  102. HighestSequence => (((long)ntohl(rtcpheader[i+1])&0xff000000)>>24)
  103. SequenceNumberCycles => rtp->rtcp->reported_lost
  104. IAJitter => (long)(ntohl(rtcpheader[i+2])&0xffff)
  105. LastSR => (long)(ntohl(rtcpheader[i+2])&0xffff)>>16
  106. DLSR => rtp->rtcp->reported_jitter
  107. RTT => (unsignedlong)ntohl(rtcpheader[i+4])>>16
  108.  
  109. Category: EVENT_FLAG_REPORTING
  110. Name: "RTCPReceived"
  111.  
  112. 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);
  113.  
  114. -----------------------------------------------------------
  115. /home/chris/asterisk/res/res_rtp_asterisk.c
  116.  
  117. From%s => ast_inet_ntoa(sin.sin_addr)
  118. PT => ntohs(sin.sin_port)
  119. ReceptionReports => pt
  120. SenderSSRC => (pt==200)?"SenderReport":(pt==201)?"ReceiverReport":(pt==192)?"H.261FUR":"Unknown"
  121. FractionLost => rc
  122. PacketsLost => rtcpheader[i+1]
  123. HighestSequence => (((long)ntohl(rtcpheader[i+1])&0xff000000)>>24)
  124. SequenceNumberCycles => rtp->rtcp->reported_lost
  125. IAJitter => (long)(ntohl(rtcpheader[i+2])&0xffff)
  126. LastSR => (long)(ntohl(rtcpheader[i+2])&0xffff)>>16
  127. DLSR => rtp->rtcp->reported_jitter
  128.  
  129. Category: EVENT_FLAG_REPORTING
  130. Name: "RTCPReceived"
  131.  
  132. 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);
  133.  
  134. -----------------------------------------------------------
  135. /home/chris/asterisk/res/res_agi.c
  136.  
  137. SubEvent => chan->name
  138. Channel => ami_buffer
  139.  
  140. Category: EVENT_FLAG_AGI
  141. Name: "AsyncAGI"
  142.  
  143. manager_event(EVENT_FLAG_AGI,"AsyncAGI","SubEvent:Start\r\nChannel:%s\r\nEnv:%s\r\n",chan->name,ami_buffer);
  144.  
  145. -----------------------------------------------------------
  146. /home/chris/asterisk/res/res_agi.c
  147.  
  148. SubEvent => chan->name
  149. Channel => ami_buffer
  150.  
  151. Category: EVENT_FLAG_AGI
  152. Name: "AsyncAGI"
  153.  
  154. manager_event(EVENT_FLAG_AGI,"AsyncAGI","SubEvent:Exec\r\nChannel:%s\r\nResult:%s\r\n",chan->name,ami_buffer);
  155.  
  156. -----------------------------------------------------------
  157. /home/chris/asterisk/res/res_agi.c
  158.  
  159. SubEvent => chan->name
  160. Channel => cmd->cmd_id
  161. CommandID => ami_buffer
  162.  
  163. Category: EVENT_FLAG_AGI
  164. Name: "AsyncAGI"
  165.  
  166. 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);
  167.  
  168. -----------------------------------------------------------
  169. /home/chris/asterisk/res/res_agi.c
  170.  
  171. SubEvent => chan->name
  172.  
  173. Category: EVENT_FLAG_AGI
  174. Name: "AsyncAGI"
  175.  
  176. manager_event(EVENT_FLAG_AGI,"AsyncAGI","SubEvent:End\r\nChannel:%s\r\n",chan->name);
  177.  
  178. -----------------------------------------------------------
  179. /home/chris/asterisk/res/res_agi.c
  180.  
  181. SubEvent => chan->name
  182. Channel => command_id
  183. CommandId => ami_cmd
  184.  
  185. Category: EVENT_FLAG_AGI
  186. Name: "AGIExec"
  187.  
  188. 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);
  189.  
  190. -----------------------------------------------------------
  191. /home/chris/asterisk/res/res_agi.c
  192.  
  193. SubEvent => chan->name
  194. Channel => command_id
  195. CommandId => ami_cmd
  196. Command => resultcode
  197. ResultCode => ami_res
  198.  
  199. Category: EVENT_FLAG_AGI
  200. Name: "AGIExec"
  201.  
  202. 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);
  203.  
  204. -----------------------------------------------------------
  205. /home/chris/asterisk/res/res_agi.c
  206.  
  207. SubEvent => chan->name
  208. Channel => command_id
  209. CommandId => ami_cmd
  210.  
  211. Category: EVENT_FLAG_AGI
  212. Name: "AGIExec"
  213.  
  214. 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);
  215.  
  216. -----------------------------------------------------------
  217. /home/chris/asterisk/res/res_agi.c
  218.  
  219. SubEvent => chan->name
  220. Channel => command_id
  221. CommandId => ami_cmd
  222.  
  223. Category: EVENT_FLAG_AGI
  224. Name: "AGIExec"
  225.  
  226. 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);
  227.  
  228. -----------------------------------------------------------
  229. /home/chris/asterisk/channels/chan_sip.c
  230.  
  231. Channel => tmp->name
  232. Uniqueid => tmp->uniqueid
  233. Channeltype => "SIP"
  234. SIPcallid => i->callid
  235. SIPfullcontact => i->fullcontact
  236.  
  237. Category: EVENT_FLAG_SYSTEM
  238. Name: "ChannelUpdate"
  239.  
  240. 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);
  241.  
  242. -----------------------------------------------------------
  243. /home/chris/asterisk/channels/chan_sip.c
  244.  
  245. Status => p->owner->name
  246. Channel => p->owner->uniqueid
  247.  
  248. Category: EVENT_FLAG_CALL
  249. Name: "Hold"
  250.  
  251. manager_event(EVENT_FLAG_CALL,"Hold","Status:Off\r\n""Channel:%s\r\n""Uniqueid:%s\r\n",p->owner->name,p->owner->uniqueid);
  252.  
  253. -----------------------------------------------------------
  254. /home/chris/asterisk/channels/chan_sip.c
  255.  
  256. Status => p->owner->name
  257. Channel => p->owner->uniqueid
  258.  
  259. Category: EVENT_FLAG_CALL
  260. Name: "Hold"
  261.  
  262. manager_event(EVENT_FLAG_CALL,"Hold","Status:On\r\n""Channel:%s\r\n""Uniqueid:%s\r\n",p->owner->name,p->owner->uniqueid);
  263.  
  264. -----------------------------------------------------------
  265. /home/chris/asterisk/channels/chan_sip.c
  266.  
  267. ChannelType => r->username
  268. Username => r->hostname
  269. Domain => regstate2str(r->regstate)
  270.  
  271. Category: EVENT_FLAG_SYSTEM
  272. Name: "Registry"
  273.  
  274. 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));
  275.  
  276. -----------------------------------------------------------
  277. /home/chris/asterisk/channels/chan_sip.c
  278.  
  279. ChannelType => peer->name
  280.  
  281. Category: EVENT_FLAG_SYSTEM
  282. Name: "PeerStatus"
  283.  
  284. manager_event(EVENT_FLAG_SYSTEM,"PeerStatus","ChannelType:SIP\r\nPeer:SIP/%s\r\nPeerStatus:Unregistered\r\nCause:Expired\r\n",peer->name);
  285.  
  286. -----------------------------------------------------------
  287. /home/chris/asterisk/channels/chan_sip.c
  288.  
  289. ChannelType => peer->name
  290.  
  291. Category: EVENT_FLAG_SYSTEM
  292. Name: "PeerStatus"
  293.  
  294. manager_event(EVENT_FLAG_SYSTEM,"PeerStatus","ChannelType:SIP\r\nPeer:SIP/%s\r\nPeerStatus:Unregistered\r\n",peer->name);
  295.  
  296. -----------------------------------------------------------
  297. /home/chris/asterisk/channels/chan_sip.c
  298.  
  299. ChannelType => peer->name
  300. Peer => ast_inet_ntoa(peer->addr.sin_addr)
  301. PeerStatus => ntohs(peer->addr.sin_port)
  302.  
  303. Category: EVENT_FLAG_SYSTEM
  304. Name: "PeerStatus"
  305.  
  306. 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));
  307.  
  308. -----------------------------------------------------------
  309. /home/chris/asterisk/channels/chan_sip.c
  310.  
  311. ChannelType => peer->name
  312. Peer => ast_inet_ntoa(sin->sin_addr)
  313. PeerStatus => ntohs(sin->sin_port)
  314.  
  315. Category: EVENT_FLAG_SYSTEM
  316. Name: "PeerStatus"
  317.  
  318. 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));
  319.  
  320. -----------------------------------------------------------
  321. /home/chris/asterisk/channels/chan_sip.c
  322.  
  323. ChannelType => name
  324. Peer => ast_inet_ntoa(sin->sin_addr)
  325. PeerStatus => ntohs(sin->sin_port)
  326.  
  327. Category: EVENT_FLAG_SYSTEM
  328. Name: "PeerStatus"
  329.  
  330. 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));
  331.  
  332. -----------------------------------------------------------
  333. /home/chris/asterisk/channels/chan_sip.c
  334.  
  335. ChannelType => name
  336. Peer => ast_inet_ntoa(sin->sin_addr)
  337. PeerStatus => ntohs(sin->sin_port)
  338.  
  339. Category: EVENT_FLAG_SYSTEM
  340. Name: "PeerStatus"
  341.  
  342. 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));
  343.  
  344. -----------------------------------------------------------
  345. /home/chris/asterisk/channels/chan_sip.c
  346.  
  347. ChannelType => name
  348. Peer => res==AUTH_PEER_NOT_DYNAMIC?"AUTH_PEER_NOT_DYNAMIC":"URI_NOT_FOUND"
  349. PeerStatus => ast_inet_ntoa(sin->sin_addr)
  350. Cause => ntohs(sin->sin_port)
  351.  
  352. Category: EVENT_FLAG_SYSTEM
  353. Name: "PeerStatus"
  354.  
  355. 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));
  356.  
  357. -----------------------------------------------------------
  358. /home/chris/asterisk/channels/chan_sip.c
  359.  
  360. ChannelType => name
  361. Peer => ast_inet_ntoa(sin->sin_addr)
  362. PeerStatus => ntohs(sin->sin_port)
  363.  
  364. Category: EVENT_FLAG_SYSTEM
  365. Name: "PeerStatus"
  366.  
  367. 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));
  368.  
  369. -----------------------------------------------------------
  370. /home/chris/asterisk/channels/chan_sip.c
  371.  
  372. ChannelType => name
  373. Peer => ast_inet_ntoa(sin->sin_addr)
  374. PeerStatus => ntohs(sin->sin_port)
  375.  
  376. Category: EVENT_FLAG_SYSTEM
  377. Name: "PeerStatus"
  378.  
  379. 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));
  380.  
  381. -----------------------------------------------------------
  382. /home/chris/asterisk/channels/chan_sip.c
  383.  
  384. Channel => p->owner->name
  385. Channeltype => "SIP"
  386. Uniqueid => p->owner->uniqueid
  387. SIPcallid => p->callid
  388. SIPfullcontact => p->fullcontact
  389. Peername => p->peername
  390.  
  391. Category: EVENT_FLAG_SYSTEM
  392. Name: "ChannelUpdate"
  393.  
  394. 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);
  395.  
  396. -----------------------------------------------------------
  397. /home/chris/asterisk/channels/chan_sip.c
  398.  
  399. ChannelType => r->username
  400. Username => r->hostname
  401. Domain => regstate2str(r->regstate)
  402.  
  403. Category: EVENT_FLAG_SYSTEM
  404. Name: "Registry"
  405.  
  406. 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));
  407.  
  408. -----------------------------------------------------------
  409. /home/chris/asterisk/channels/chan_sip.c
  410.  
  411. ChannelType => r->hostname
  412. Domain => regstate2str(r->regstate)
  413.  
  414. Category: EVENT_FLAG_SYSTEM
  415. Name: "Registry"
  416.  
  417. manager_event(EVENT_FLAG_SYSTEM,"Registry","ChannelType:SIP\r\nDomain:%s\r\nStatus:%s\r\n",r->hostname,regstate2str(r->regstate));
  418.  
  419. -----------------------------------------------------------
  420. /home/chris/asterisk/channels/chan_sip.c
  421.  
  422. ChannelType => peer->name
  423. Peer => s
  424. PeerStatus => pingtime
  425.  
  426. Category: EVENT_FLAG_SYSTEM
  427. Name: "PeerStatus"
  428.  
  429. manager_event(EVENT_FLAG_SYSTEM,"PeerStatus","ChannelType:SIP\r\nPeer:SIP/%s\r\nPeerStatus:%s\r\nTime:%d\r\n",peer->name,s,pingtime);
  430.  
  431. -----------------------------------------------------------
  432. /home/chris/asterisk/channels/chan_sip.c
  433.  
  434. TransferMethod => transferer->owner->name
  435. TransferType => transferer->owner->uniqueid
  436. Channel => transferer->callid
  437. Uniqueid => target.chan1->name
  438. SIP-Callid => target.chan1->uniqueid
  439.  
  440. Category: EVENT_FLAG_CALL
  441. Name: "Transfer"
  442.  
  443. 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);
  444.  
  445. -----------------------------------------------------------
  446. /home/chris/asterisk/channels/chan_sip.c
  447.  
  448. TransferMethod => current.chan1->name
  449. TransferType => current.chan1->uniqueid
  450. Channel => p->callid
  451. Uniqueid => current.chan2->name
  452. SIP-Callid => current.chan2->uniqueid
  453. TargetChannel => p->refer->refer_to
  454.  
  455. Category: EVENT_FLAG_CALL
  456. Name: "Transfer"
  457.  
  458. 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);
  459.  
  460. -----------------------------------------------------------
  461. /home/chris/asterisk/channels/chan_sip.c
  462.  
  463. TransferMethod => current.chan1->name
  464. TransferType => current.chan1->uniqueid
  465. Channel => p->callid
  466. Uniqueid => current.chan2->name
  467. SIP-Callid => current.chan2->uniqueid
  468. TargetChannel => p->refer->refer_to
  469. TargetUniqueid => p->refer->refer_to_context
  470.  
  471. Category: EVENT_FLAG_CALL
  472. Name: "Transfer"
  473.  
  474. 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);
  475.  
  476. -----------------------------------------------------------
  477. /home/chris/asterisk/channels/chan_sip.c
  478.  
  479. ChannelType => peer->name
  480. Peer => -1
  481.  
  482. Category: EVENT_FLAG_SYSTEM
  483. Name: "PeerStatus"
  484.  
  485. manager_event(EVENT_FLAG_SYSTEM,"PeerStatus","ChannelType:SIP\r\nPeer:SIP/%s\r\nPeerStatus:Unreachable\r\nTime:%d\r\n",peer->name,-1);
  486.  
  487. -----------------------------------------------------------
  488. /home/chris/asterisk/channels/chan_sip.c
  489.  
  490. Channel => p->owner?p->owner->name:""
  491. Channeltype => "SIP"
  492. SIPcallid => p->callid
  493. SIPfullcontact => p->fullcontact
  494. Peername => p->peername
  495.  
  496. Category: EVENT_FLAG_SYSTEM
  497. Name: "ChannelUpdate"
  498.  
  499. 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);
  500.  
  501. -----------------------------------------------------------
  502. /home/chris/asterisk/channels/chan_sip.c
  503.  
  504. ChannelType => channelreloadreason2txt(reason)
  505. ReloadReason => registry_count
  506. Registry_Count => peer_count
  507.  
  508. Category: EVENT_FLAG_SYSTEM
  509. Name: "ChannelReload"
  510.  
  511. 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);
  512.  
  513. -----------------------------------------------------------
  514. /home/chris/asterisk/channels/chan_dahdi.c
  515.  
  516. Channel => p->channel
  517.  
  518. Category: EVENT_FLAG_SYSTEM
  519. Name: "AlarmClear"
  520.  
  521. manager_event(EVENT_FLAG_SYSTEM,"AlarmClear","Channel:%d\r\n",p->channel);
  522.  
  523. -----------------------------------------------------------
  524. /home/chris/asterisk/channels/chan_dahdi.c
  525.  
  526. Alarm => alarm_str
  527. Channel => p->channel
  528.  
  529. Category: EVENT_FLAG_SYSTEM
  530. Name: "Alarm"
  531.  
  532. manager_event(EVENT_FLAG_SYSTEM,"Alarm","Alarm:%s\r\n""Channel:%d\r\n",alarm_str,p->channel);
  533.  
  534. -----------------------------------------------------------
  535. /home/chris/asterisk/channels/chan_dahdi.c
  536.  
  537. Channel => p->channel
  538.  
  539. Category: EVENT_FLAG_SYSTEM
  540. Name: "AlarmClear"
  541.  
  542. manager_event(EVENT_FLAG_SYSTEM,"AlarmClear","Channel:%d\r\n",p->channel);
  543.  
  544. -----------------------------------------------------------
  545. /home/chris/asterisk/channels/chan_dahdi.c
  546.  
  547. Channel => dahdichan->channel
  548. Status => on?"enabled":"disabled"
  549.  
  550. Category: EVENT_FLAG_SYSTEM
  551. Name: "DNDState"
  552.  
  553. manager_event(EVENT_FLAG_SYSTEM,"DNDState","Channel:DAHDI/%d\r\n""Status:%s\r\n",dahdichan->channel,on?"enabled":"disabled");
  554.  
  555. -----------------------------------------------------------
  556. /home/chris/asterisk/channels/chan_dahdi.c
  557.  
  558. Channel => mtd->pvt->channel
  559.  
  560. Category: EVENT_FLAG_SYSTEM
  561. Name: "AlarmClear"
  562.  
  563. manager_event(EVENT_FLAG_SYSTEM,"AlarmClear","Channel:%d\r\n",mtd->pvt->channel);
  564.  
  565. -----------------------------------------------------------
  566. /home/chris/asterisk/channels/chan_dahdi.c
  567.  
  568. Channel => i->channel
  569.  
  570. Category: EVENT_FLAG_SYSTEM
  571. Name: "AlarmClear"
  572.  
  573. manager_event(EVENT_FLAG_SYSTEM,"AlarmClear","Channel:%d\r\n",i->channel);
  574.  
  575. -----------------------------------------------------------
  576. /home/chris/asterisk/channels/chan_dahdi.c
  577.  
  578. PRIEvent => event2str(x)
  579. PRIEventCode => x
  580. D-channel => pri_order(which)
  581. Span => pri->span
  582.  
  583. Category: EVENT_FLAG_SYSTEM
  584. Name: "PRIEvent"
  585.  
  586. 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);
  587.  
  588. -----------------------------------------------------------
  589. /home/chris/asterisk/channels/chan_agent.c
  590.  
  591. Agent => p->agent
  592. Reason => tmp
  593. Loginchan => loginchan
  594. Logintime => logintime
  595. Uniqueid => uniqueid
  596.  
  597. Category: EVENT_FLAG_AGENT
  598. Name: "Agentcallbacklogoff"
  599.  
  600. 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);
  601.  
  602. -----------------------------------------------------------
  603. /home/chris/asterisk/channels/chan_agent.c
  604.  
  605. Agent => p->agent
  606. Reason => tmp
  607. Loginchan => loginchan
  608. Logintime => logintime
  609.  
  610. Category: EVENT_FLAG_AGENT
  611. Name: "Agentcallbacklogoff"
  612.  
  613. 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);
  614.  
  615. -----------------------------------------------------------
  616. /home/chris/asterisk/channels/chan_agent.c
  617.  
  618. Agent => p->agent
  619. Channel => chan->name
  620. Uniqueid => chan->uniqueid
  621.  
  622. Category: EVENT_FLAG_AGENT
  623. Name: "Agentlogin"
  624.  
  625. manager_event(EVENT_FLAG_AGENT,"Agentlogin","Agent:%s\r\n""Channel:%s\r\n""Uniqueid:%s\r\n",p->agent,chan->name,chan->uniqueid);
  626.  
  627. -----------------------------------------------------------
  628. /home/chris/asterisk/channels/chan_agent.c
  629.  
  630. Agent => p->agent
  631. Logintime => logintime
  632. Uniqueid => chan->uniqueid
  633.  
  634. Category: EVENT_FLAG_AGENT
  635. Name: "Agentlogoff"
  636.  
  637. manager_event(EVENT_FLAG_AGENT,"Agentlogoff","Agent:%s\r\n""Logintime:%ld\r\n""Uniqueid:%s\r\n",p->agent,logintime,chan->uniqueid);
  638.  
  639. -----------------------------------------------------------
  640. /home/chris/asterisk/channels/chan_iax2.c
  641.  
  642. Channel => pvt->owner?pvt->owner->name:""
  643. Channeltype => pvt->callno
  644. IAX2-callno-local => pvt->peercallno
  645. IAX2-callno-remote => pvt->peer?pvt->peer:""
  646.  
  647. Category: EVENT_FLAG_SYSTEM
  648. Name: "ChannelUpdate"
  649.  
  650. 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:"");
  651.  
  652. -----------------------------------------------------------
  653. /home/chris/asterisk/channels/chan_iax2.c
  654.  
  655. ChannelType => ast_inet_ntoa(sin->sin_addr)
  656.  
  657. Category: EVENT_FLAG_SYSTEM
  658. Name: "Registry"
  659.  
  660. manager_event(EVENT_FLAG_SYSTEM,"Registry","ChannelType:IAX2\r\nDomain:%s\r\nStatus:Registered\r\n",ast_inet_ntoa(sin->sin_addr));
  661.  
  662. -----------------------------------------------------------
  663. /home/chris/asterisk/channels/chan_iax2.c
  664.  
  665. ChannelType => peer->name
  666.  
  667. Category: EVENT_FLAG_SYSTEM
  668. Name: "PeerStatus"
  669.  
  670. manager_event(EVENT_FLAG_SYSTEM,"PeerStatus","ChannelType:IAX2\r\nPeer:IAX2/%s\r\nPeerStatus:Unregistered\r\nCause:Expired\r\n",peer->name);
  671.  
  672. -----------------------------------------------------------
  673. /home/chris/asterisk/channels/chan_iax2.c
  674.  
  675. ChannelType => p->name
  676.  
  677. Category: EVENT_FLAG_SYSTEM
  678. Name: "PeerStatus"
  679.  
  680. manager_event(EVENT_FLAG_SYSTEM,"PeerStatus","ChannelType:IAX2\r\nPeer:IAX2/%s\r\nPeerStatus:Registered\r\n",p->name);
  681.  
  682. -----------------------------------------------------------
  683. /home/chris/asterisk/channels/chan_iax2.c
  684.  
  685. ChannelType => p->name
  686.  
  687. Category: EVENT_FLAG_SYSTEM
  688. Name: "PeerStatus"
  689.  
  690. manager_event(EVENT_FLAG_SYSTEM,"PeerStatus","ChannelType:IAX2\r\nPeer:IAX2/%s\r\nPeerStatus:Unregistered\r\n",p->name);
  691.  
  692. -----------------------------------------------------------
  693. /home/chris/asterisk/channels/chan_iax2.c
  694.  
  695. Owner => iaxs[callno]->owner->name
  696. Ping => iaxs[callno]->pingtime
  697. LocalJitter => localjitter
  698. LocalJBDelay => localdelay
  699. LocalTotalLost => locallost
  700. LocalLossPercent => locallosspct
  701. LocalDropped => localdropped
  702. Localooo => localooo
  703. LocalReceived => localpackets
  704. RemoteJitter => iaxs[callno]->remote_rr.jitter
  705. RemoteJBDelay => iaxs[callno]->remote_rr.delay
  706. RemoteTotalLost => iaxs[callno]->remote_rr.losscnt
  707. RemoteLossPercent => iaxs[callno]->remote_rr.losspct/1000
  708. RemoteDropped => iaxs[callno]->remote_rr.dropped
  709. Remoteooo => iaxs[callno]->remote_rr.ooo
  710. RemoteReceived => iaxs[callno]->remote_rr.packets
  711.  
  712. Category: EVENT_FLAG_REPORTING
  713. Name: "JitterBufStats"
  714.  
  715. 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);
  716.  
  717. -----------------------------------------------------------
  718. /home/chris/asterisk/channels/chan_iax2.c
  719.  
  720. Status => iaxs[fr->callno]->owner->name
  721. Channel => iaxs[fr->callno]->owner->uniqueid
  722.  
  723. Category: EVENT_FLAG_CALL
  724. Name: "Hold"
  725.  
  726. 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);
  727.  
  728. -----------------------------------------------------------
  729. /home/chris/asterisk/channels/chan_iax2.c
  730.  
  731. Status => iaxs[fr->callno]->owner->name
  732. Channel => iaxs[fr->callno]->owner->uniqueid
  733.  
  734. Category: EVENT_FLAG_CALL
  735. Name: "Hold"
  736.  
  737. 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);
  738.  
  739. -----------------------------------------------------------
  740. /home/chris/asterisk/channels/chan_iax2.c
  741.  
  742. ChannelType => peer->name
  743. Peer => iaxs[fr->callno]->pingtime
  744.  
  745. Category: EVENT_FLAG_SYSTEM
  746. Name: "PeerStatus"
  747.  
  748. 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);
  749.  
  750. -----------------------------------------------------------
  751. /home/chris/asterisk/channels/chan_iax2.c
  752.  
  753. ChannelType => peer->name
  754. Peer => iaxs[fr->callno]->pingtime
  755.  
  756. Category: EVENT_FLAG_SYSTEM
  757. Name: "PeerStatus"
  758.  
  759. 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);
  760.  
  761. -----------------------------------------------------------
  762. /home/chris/asterisk/channels/chan_iax2.c
  763.  
  764. ChannelType => iaxs[fr->callno]->reg->username
  765. Username => ies.cause?ies.cause:"<unknown>"
  766.  
  767. Category: EVENT_FLAG_SYSTEM
  768. Name: "Registry"
  769.  
  770. 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>");
  771.  
  772. -----------------------------------------------------------
  773. /home/chris/asterisk/channels/chan_iax2.c
  774.  
  775. ChannelType => peer->name
  776. Peer => peer->lastms
  777.  
  778. Category: EVENT_FLAG_SYSTEM
  779. Name: "PeerStatus"
  780.  
  781. manager_event(EVENT_FLAG_SYSTEM,"PeerStatus","ChannelType:IAX2\r\nPeer:IAX2/%s\r\nPeerStatus:Unreachable\r\nTime:%d\r\n",peer->name,peer->lastms);
  782.  
  783. -----------------------------------------------------------
  784. /home/chris/asterisk/channels/chan_gtalk.c
  785.  
  786. Channel => ast->name
  787. Channeltype => "GTALK"
  788. Gtalk-SID => p->sid
  789.  
  790. Category: EVENT_FLAG_SYSTEM
  791. Name: "ChannelUpdate"
  792.  
  793. manager_event(EVENT_FLAG_SYSTEM,"ChannelUpdate","Channel:%s\r\nChanneltype:%s\r\nGtalk-SID:%s\r\n",ast->name,"GTALK",p->sid);
  794.  
  795. -----------------------------------------------------------
  796. /home/chris/asterisk/channels/chan_gtalk.c
  797.  
  798. Channel => i->owner?i->owner->name:""
  799. Channeltype => "Gtalk"
  800. Gtalk-SID => i->sid
  801.  
  802. Category: EVENT_FLAG_SYSTEM
  803. Name: "ChannelUpdate"
  804.  
  805. 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);
  806.  
  807. -----------------------------------------------------------
  808. /home/chris/asterisk/cdr/cdr_manager.c
  809.  
  810. AccountCode => cdr->accountcode
  811. Source => cdr->src
  812. Destination => cdr->dst
  813. DestinationContext => cdr->dcontext
  814. CallerID => cdr->clid
  815. Channel => cdr->channel
  816. DestinationChannel => cdr->dstchannel
  817. LastApplication => cdr->lastapp
  818. LastData => cdr->lastdata
  819. StartTime => strStartTime
  820. AnswerTime => strAnswerTime
  821. EndTime => strEndTime
  822. Duration => cdr->duration
  823. BillableSeconds => cdr->billsec
  824. Disposition => ast_cdr_disp2str(cdr->disposition)
  825. AMAFlags => ast_cdr_flags2str(cdr->amaflags)
  826. UniqueID => cdr->uniqueid
  827. UserField => cdr->userfield
  828. => buf
  829.  
  830. Category: EVENT_FLAG_CDR
  831. Name: "Cdr"
  832.  
  833. 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);
  834.  
  835. -----------------------------------------------------------
  836. /home/chris/asterisk/funcs/func_global.c
  837.  
  838. Channel => chan?chan->name:"none"
  839. Variable => args.var
  840. Value => value
  841. Uniqueid => chan?chan->uniqueid:"none"
  842.  
  843. Category: EVENT_FLAG_DIALPLAN
  844. Name: "VarSet"
  845.  
  846. 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");
  847.  
  848. -----------------------------------------------------------
  849. /home/chris/asterisk/main/enum.c
  850.  
  851.  
  852. -----------------------------------------------------------
  853. /home/chris/asterisk/main/asterisk.c
  854.  
  855. Shutdown => ast_active_channels()?"Uncleanly":"Cleanly"
  856. Restart => restart?"True":"False"
  857.  
  858. Category: EVENT_FLAG_SYSTEM
  859. Name: "Shutdown"
  860.  
  861. manager_event(EVENT_FLAG_SYSTEM,"Shutdown","Shutdown:%s\r\nRestart:%s\r\n",ast_active_channels()?"Uncleanly":"Cleanly",restart?"True":"False");
  862.  
  863. -----------------------------------------------------------
  864. /home/chris/asterisk/main/pbx.c
  865.  
  866. Channel => c->name
  867. Context => c->context
  868. Extension => c->exten
  869. Priority => c->priority
  870. Application => app->name
  871. AppData => passdata
  872. Uniqueid => c->uniqueid
  873.  
  874. Category: EVENT_FLAG_DIALPLAN
  875. Name: "Newexten"
  876.  
  877. 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);
  878.  
  879. -----------------------------------------------------------
  880. /home/chris/asterisk/main/pbx.c
  881.  
  882. EventList => counters.total_items
  883. ListItems => counters.total_exten
  884. ListExtensions => counters.total_prio
  885. ListPriorities => counters.total_context
  886. ListContexts => idtext
  887.  
  888. Category: EVENT_FLAG_CONFIG
  889. Name: "ShowDialPlanComplete"
  890.  
  891. 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);
  892.  
  893. -----------------------------------------------------------
  894. /home/chris/asterisk/main/pbx.c
  895.  
  896. Channel => chan?chan->name:"none"
  897. Variable => name
  898. Value => value
  899. Uniqueid => chan?chan->uniqueid:"none"
  900.  
  901. Category: EVENT_FLAG_DIALPLAN
  902. Name: "VarSet"
  903.  
  904. 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");
  905.  
  906. -----------------------------------------------------------
  907. /home/chris/asterisk/main/manager.c
  908.  
  909. %s%sResponse => in->idtext
  910. Channel => ast_strlen_zero(in->idtext)?"":"\r\n"
  911. Context => res?"Failure":"Success"
  912. Exten => chan?chan->name:requested_channel
  913. Reason => in->context
  914. Uniqueid => in->exten
  915. CallerIDNum => reason
  916. CallerIDName => chan?chan->uniqueid:"<null>"
  917.  
  918. Category: EVENT_FLAG_CALL
  919. Name: "OriginateResponse"
  920.  
  921. 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>"));
  922.  
  923. -----------------------------------------------------------
  924. /home/chris/asterisk/main/manager.c
  925.  
  926. UserEvent => event
  927. => ast_str_buffer(body)
  928.  
  929. Category: EVENT_FLAG_USER
  930. Name: "UserEvent"
  931.  
  932. manager_event(EVENT_FLAG_USER,"UserEvent","UserEvent:%s\r\n%s",event,ast_str_buffer(body));
  933.  
  934. -----------------------------------------------------------
  935. /home/chris/asterisk/main/manager.c
  936.  
  937. => intline
  938.  
  939. Category: intcategory
  940. Name: constchar*event
  941.  
  942. 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);
  943.  
  944. -----------------------------------------------------------
  945. /home/chris/asterisk/main/manager.c
  946.  
  947. Exten => exten
  948. Context => context
  949. Hint => hint
  950. Status => state
  951.  
  952. Category: EVENT_FLAG_CALL
  953. Name: "ExtensionStatus"
  954.  
  955. manager_event(EVENT_FLAG_CALL,"ExtensionStatus","Exten:%s\r\nContext:%s\r\nHint:%s\r\nStatus:%d\r\n",exten,context,hint,state);
  956.  
  957. -----------------------------------------------------------
  958. /home/chris/asterisk/main/manager.c
  959.  
  960. Module => manager_enabled?"Enabled":"Disabled"
  961.  
  962. Category: EVENT_FLAG_SYSTEM
  963. Name: "Reload"
  964.  
  965. manager_event(EVENT_FLAG_SYSTEM,"Reload","Module:Manager\r\nStatus:%s\r\nMessage:ManagerreloadRequested\r\n",manager_enabled?"Enabled":"Disabled");
  966.  
  967. -----------------------------------------------------------
  968. /home/chris/asterisk/main/logger.c
  969.  
  970. Channel => f->filename
  971.  
  972. Category: EVENT_FLAG_SYSTEM
  973. Name: "LogChannel"
  974.  
  975. manager_event(EVENT_FLAG_SYSTEM,"LogChannel","Channel:%s\r\nEnabled:Yes\r\n",f->filename);
  976.  
  977. -----------------------------------------------------------
  978. /home/chris/asterisk/main/logger.c
  979.  
  980. Channel => chan->filename
  981. Enabled => errno
  982. Reason => strerror(errno)
  983.  
  984. Category: EVENT_FLAG_SYSTEM
  985. Name: "LogChannel"
  986.  
  987. manager_event(EVENT_FLAG_SYSTEM,"LogChannel","Channel:%s\r\nEnabled:No\r\nReason:%d-%s\r\n",chan->filename,errno,strerror(errno));
  988.  
  989. -----------------------------------------------------------
  990. /home/chris/asterisk/main/cdr.c
  991.  
  992. Channel => chan->name
  993. Uniqueid => chan->uniqueid
  994. AccountCode => chan->accountcode
  995. OldAccountCode => buf
  996.  
  997. Category: EVENT_FLAG_CALL
  998. Name: "NewAccountCode"
  999.  
  1000. 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);
  1001.  
  1002. -----------------------------------------------------------
  1003. /home/chris/asterisk/main/cdr.c
  1004.  
  1005.  
  1006. -----------------------------------------------------------
  1007. /home/chris/asterisk/main/channel.c
  1008.  
  1009. Channel => tmp->name
  1010. ChannelState => state
  1011. ChannelStateDesc => ast_state2str(state)
  1012. CallerIDNum => S_OR(cid_num
  1013. CallerIDName => "")
  1014. AccountCode => S_OR(cid_name
  1015. Exten => "")
  1016. Context => tmp->accountcode
  1017. Uniqueid => S_OR(exten
  1018.  
  1019. Category: EVENT_FLAG_CALL
  1020. Name: "Newchannel"
  1021.  
  1022. 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);
  1023.  
  1024. -----------------------------------------------------------
  1025. /home/chris/asterisk/main/channel.c
  1026.  
  1027. Channel => chan->name
  1028. Uniqueid => chan->uniqueid
  1029. CallerIDNum => S_OR(chan->cid.cid_num
  1030. CallerIDName => "<unknown>")
  1031. Cause => S_OR(chan->cid.cid_name
  1032. Cause-txt => "<unknown>")
  1033.  
  1034. Category: EVENT_FLAG_CALL
  1035. Name: "Hangup"
  1036.  
  1037. 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));
  1038.  
  1039. -----------------------------------------------------------
  1040. /home/chris/asterisk/main/channel.c
  1041.  
  1042. Channel => chan->name
  1043. Uniqueid => chan->uniqueid
  1044. Digit => digit
  1045. Direction => direction
  1046. Begin => begin
  1047. End => end
  1048.  
  1049. Category: EVENT_FLAG_DTMF
  1050. Name: "DTMF"
  1051.  
  1052. 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);
  1053.  
  1054. -----------------------------------------------------------
  1055. /home/chris/asterisk/main/channel.c
  1056.  
  1057. Channel => chan->name
  1058. Newname => newname
  1059. Uniqueid => chan->uniqueid
  1060.  
  1061. Category: EVENT_FLAG_CALL
  1062. Name: "Rename"
  1063.  
  1064. manager_event(EVENT_FLAG_CALL,"Rename","Channel:%s\r\nNewname:%s\r\nUniqueid:%s\r\n",chan->name,newname,chan->uniqueid);
  1065.  
  1066. -----------------------------------------------------------
  1067. /home/chris/asterisk/main/channel.c
  1068.  
  1069. Clone => clonechan->name
  1070. CloneState => ast_state2str(clonechan->_state)
  1071. Original => original->name
  1072. OriginalState => ast_state2str(original->_state)
  1073.  
  1074. Category: EVENT_FLAG_CALL
  1075. Name: "Masquerade"
  1076.  
  1077. 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));
  1078.  
  1079. -----------------------------------------------------------
  1080. /home/chris/asterisk/main/channel.c
  1081.  
  1082. Channel => clonechan->name
  1083. Uniqueid => clonechan->uniqueid
  1084. Cause => clonechan->hangupcause
  1085. Cause-txt => ast_cause2str(clonechan->hangupcause)
  1086.  
  1087. Category: EVENT_FLAG_CALL
  1088. Name: "Hangup"
  1089.  
  1090. 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));
  1091.  
  1092. -----------------------------------------------------------
  1093. /home/chris/asterisk/main/channel.c
  1094.  
  1095. Channel => chan->name
  1096. CallerIDNum => S_OR(chan->cid.cid_num
  1097. CallerIDName => "")
  1098. Uniqueid => S_OR(chan->cid.cid_name
  1099. CID-CallingPres => "")
  1100.  
  1101. Category: EVENT_FLAG_CALL
  1102. Name: "NewCallerid"
  1103.  
  1104. 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));
  1105.  
  1106. -----------------------------------------------------------
  1107. /home/chris/asterisk/main/channel.c
  1108.  
  1109. Channel => chan->name
  1110. ChannelState => chan->_state
  1111. ChannelStateDesc => ast_state2str(chan->_state)
  1112. CallerIDNum => S_OR(chan->cid.cid_num
  1113. CallerIDName => "")
  1114. Uniqueid => S_OR(chan->cid.cid_name
  1115.  
  1116. Category: EVENT_FLAG_CALL
  1117. Name: "Newstate"
  1118.  
  1119. 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);
  1120.  
  1121. -----------------------------------------------------------
  1122. /home/chris/asterisk/main/channel.c
  1123.  
  1124. Bridgestate => onoff?"Link":"Unlink"
  1125. Bridgetype => type==1?"core":"native"
  1126. Channel1 => c0->name
  1127. Channel2 => c1->name
  1128. Uniqueid1 => c0->uniqueid
  1129. Uniqueid2 => c1->uniqueid
  1130. CallerID1 => S_OR(c0->cid.cid_num
  1131. CallerID2 => "")
  1132.  
  1133. Category: EVENT_FLAG_CALL
  1134. Name: "Bridge"
  1135.  
  1136. 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,""));
  1137.  
  1138. -----------------------------------------------------------
  1139. /home/chris/asterisk/main/channel.c
  1140.  
  1141. Channel1 => c0->name
  1142. Channel2 => c1->name
  1143. Uniqueid1 => c0->uniqueid
  1144. Uniqueid2 => c1->uniqueid
  1145. CallerID1 => S_OR(c0->cid.cid_num
  1146. CallerID2 => "<unknown>")
  1147.  
  1148. Category: EVENT_FLAG_CALL
  1149. Name: "Unlink"
  1150.  
  1151. 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>"));
  1152.  
  1153. -----------------------------------------------------------
  1154. /home/chris/asterisk/main/channel.c
  1155.  
  1156. Channel1 => c0->name
  1157. Channel2 => c1->name
  1158. Uniqueid1 => c0->uniqueid
  1159. Uniqueid2 => c1->uniqueid
  1160. CallerID1 => S_OR(c0->cid.cid_num
  1161. CallerID2 => "<unknown>")
  1162.  
  1163. Category: EVENT_FLAG_CALL
  1164. Name: "Unlink"
  1165.  
  1166. 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>"));
  1167.  
  1168. -----------------------------------------------------------
  1169. /home/chris/asterisk/main/dnsmgr.c
  1170.  
  1171. Module => enabled?"Enabled":"Disabled"
  1172.  
  1173. Category: EVENT_FLAG_SYSTEM
  1174. Name: "Reload"
  1175.  
  1176. manager_event(EVENT_FLAG_SYSTEM,"Reload","Module:DNSmgr\r\nStatus:%s\r/nMessage:DNSmgrreloadRequested\r\n",enabled?"Enabled":"Disabled");
  1177.  
  1178. -----------------------------------------------------------
  1179. /home/chris/asterisk/main/features.c
  1180.  
  1181. Exten => pu->parkingexten
  1182. Channel => pu->chan->name
  1183. Parkinglot => pu->parkinglot->name
  1184. From => event_from?event_from:""
  1185. Timeout => (long)pu->start.tv_sec+(long)(pu->parkingtime/1000)-(long)time(NULL)
  1186. CallerIDNum => S_OR(pu->chan->cid.cid_num
  1187. CallerIDName => "<unknown>")
  1188. Uniqueid => S_OR(pu->chan->cid.cid_name
  1189.  
  1190. Category: EVENT_FLAG_CALL
  1191. Name: "ParkedCall"
  1192.  
  1193. 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);
  1194.  
  1195. -----------------------------------------------------------
  1196. /home/chris/asterisk/main/features.c
  1197.  
  1198. => "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"
  1199.  
  1200. Category: constchar*s
  1201. Name: structparkeduser*pu){manager_event(EVENT_FLAG_CALL
  1202.  
  1203. 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);
  1204.  
  1205. -----------------------------------------------------------
  1206. /home/chris/asterisk/main/features.c
  1207.  
  1208.  
  1209. -----------------------------------------------------------
  1210. /home/chris/asterisk/main/features.c
  1211.  
  1212.  
  1213. -----------------------------------------------------------
  1214. /home/chris/asterisk/main/features.c
  1215.  
  1216. Exten => pu->parkingexten
  1217. Channel => pu->chan->name
  1218. From => chan->name
  1219. CallerIDNum => S_OR(pu->chan->cid.cid_num
  1220. CallerIDName => "<unknown>")
  1221.  
  1222. Category: EVENT_FLAG_CALL
  1223. Name: "UnParkedCall"
  1224.  
  1225. 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>"));
  1226.  
  1227. -----------------------------------------------------------
  1228. /home/chris/asterisk/main/features.c
  1229.  
  1230. Response => chan->name
  1231. Reason => args.dest_chan
  1232.  
  1233. Category: EVENT_FLAG_CALL
  1234. Name: "BridgeExec"
  1235.  
  1236. 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);
  1237.  
  1238. -----------------------------------------------------------
  1239. /home/chris/asterisk/main/features.c
  1240.  
  1241. Response => chan->name
  1242. Reason => args.dest_chan
  1243.  
  1244. Category: EVENT_FLAG_CALL
  1245. Name: "BridgeExec"
  1246.  
  1247. 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);
  1248.  
  1249. -----------------------------------------------------------
  1250. /home/chris/asterisk/main/features.c
  1251.  
  1252. Response => chan->name
  1253. Reason => args.dest_chan
  1254.  
  1255. Category: EVENT_FLAG_CALL
  1256. Name: "BridgeExec"
  1257.  
  1258. 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);
  1259.  
  1260. -----------------------------------------------------------
  1261. /home/chris/asterisk/main/features.c
  1262.  
  1263. Response => chan->name
  1264. Reason => final_dest_chan->name
  1265.  
  1266. Category: EVENT_FLAG_CALL
  1267. Name: "BridgeExec"
  1268.  
  1269. 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);
  1270.  
  1271. -----------------------------------------------------------
  1272. /home/chris/asterisk/main/features.c
  1273.  
  1274. Response => chan->name
  1275. Channel1 => final_dest_chan->name
  1276.  
  1277. Category: EVENT_FLAG_CALL
  1278. Name: "BridgeExec"
  1279.  
  1280. manager_event(EVENT_FLAG_CALL,"BridgeExec","Response:Success\r\n""Channel1:%s\r\n""Channel2:%s\r\n",chan->name,final_dest_chan->name);
  1281.  
  1282. -----------------------------------------------------------
  1283. /home/chris/asterisk/main/loader.c
  1284.  
  1285. ModuleLoadStatus => preload_only?"Preload":"All"
  1286. ModuleSelection => modulecount
  1287.  
  1288. Category: EVENT_FLAG_SYSTEM
  1289. Name: "ModuleLoadReport"
  1290.  
  1291. manager_event(EVENT_FLAG_SYSTEM,"ModuleLoadReport","ModuleLoadStatus:Done\r\nModuleSelection:%s\r\nModuleCount:%d\r\n",preload_only?"Preload":"All",modulecount);
  1292.  
  1293. -----------------------------------------------------------
  1294. /home/chris/asterisk/apps/app_minivm.c
  1295.  
  1296. Action => vmu->username
  1297. Counter => vmu->domain
  1298.  
  1299. Category: EVENT_FLAG_CALL
  1300. Name: "MiniVoiceMail"
  1301.  
  1302. manager_event(EVENT_FLAG_CALL,"MiniVoiceMail","Action:SentNotification\rn\nMailbox:%s@%s\r\nCounter:%s\r\n",vmu->username,vmu->domain,counter);
  1303.  
  1304. -----------------------------------------------------------
  1305. /home/chris/asterisk/apps/app_dial.c
  1306.  
  1307. SubEvent => src->name
  1308. Channel => dst->name
  1309. Destination => S_OR(src->cid.cid_num
  1310. CallerIDNum => "<unknown>")
  1311. CallerIDName => S_OR(src->cid.cid_name
  1312. UniqueID => "<unknown>")
  1313. DestUniqueID => src->uniqueid
  1314. Dialstring => dst->uniqueid
  1315.  
  1316. Category: EVENT_FLAG_CALL
  1317. Name: "Dial"
  1318.  
  1319. 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:"");
  1320.  
  1321. -----------------------------------------------------------
  1322. /home/chris/asterisk/apps/app_dial.c
  1323.  
  1324. SubEvent => src->name
  1325. Channel => src->uniqueid
  1326. UniqueID => dialstatus
  1327.  
  1328. Category: EVENT_FLAG_CALL
  1329. Name: "Dial"
  1330.  
  1331. 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);
  1332.  
  1333. -----------------------------------------------------------
  1334. /home/chris/asterisk/apps/app_fax.c
  1335.  
  1336. Channel => s->chan->name
  1337. Exten => s->chan->exten
  1338. CallerID => S_OR(s->chan->cid.cid_num
  1339. RemoteStationID => "")
  1340. LocalStationID => far_ident
  1341. PagesTransferred => local_ident
  1342. Resolution => pages_transferred
  1343. TransferRate => stat.y_resolution
  1344. FileName => stat.bit_rate
  1345.  
  1346. Category: EVENT_FLAG_CALL
  1347. Name: s->direction?"FaxSent":"FaxReceived"
  1348.  
  1349. 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);
  1350.  
  1351. -----------------------------------------------------------
  1352. /home/chris/asterisk/apps/app_userevent.c
  1353.  
  1354. UserEvent => args.eventname
  1355. => ast_str_buffer(body)
  1356.  
  1357. Category: EVENT_FLAG_USER
  1358. Name: "UserEvent"
  1359.  
  1360. manager_event(EVENT_FLAG_USER,"UserEvent","UserEvent:%s\r\n%s",args.eventname,ast_str_buffer(body));
  1361.  
  1362. -----------------------------------------------------------
  1363. /home/chris/asterisk/apps/app_voicemail.c
  1364.  
  1365. Mailbox => vmu->mailbox
  1366. Waiting => vmu->context
  1367. New => ast_app_has_voicemail(ext_context
  1368. Old => NULL)
  1369.  
  1370. Category: EVENT_FLAG_CALL
  1371. Name: "MessageWaiting"
  1372.  
  1373. 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);
  1374.  
  1375. -----------------------------------------------------------
  1376. /home/chris/asterisk/apps/app_voicemail.c
  1377.  
  1378. Mailbox => ext_context
  1379. Waiting => has_voicemail(ext_context
  1380.  
  1381. Category: EVENT_FLAG_CALL
  1382. Name: "MessageWaiting"
  1383.  
  1384. manager_event(EVENT_FLAG_CALL,"MessageWaiting","Mailbox:%s\r\nWaiting:%d\r\n",ext_context,has_voicemail(ext_context,NULL));
  1385.  
  1386. -----------------------------------------------------------
  1387. /home/chris/asterisk/apps/app_stack.c
  1388.  
  1389. Channel => chan->name
  1390. Variable => var
  1391. Value => value
  1392. Uniqueid => chan->uniqueid
  1393.  
  1394. Category: EVENT_FLAG_DIALPLAN
  1395. Name: "VarSet"
  1396.  
  1397. 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);
  1398.  
  1399. -----------------------------------------------------------
  1400. /home/chris/asterisk/apps/app_chanspy.c
  1401.  
  1402. SpyerChannel => spyer_name
  1403. SpyeeChannel => name
  1404.  
  1405. Category: EVENT_FLAG_CALL
  1406. Name: "ChanSpyStart"
  1407.  
  1408. manager_event(EVENT_FLAG_CALL,"ChanSpyStart","SpyerChannel:%s\r\n""SpyeeChannel:%s\r\n",spyer_name,name);
  1409.  
  1410. -----------------------------------------------------------
  1411. /home/chris/asterisk/apps/app_chanspy.c
  1412.  
  1413. SpyeeChannel => name
  1414.  
  1415. Category: EVENT_FLAG_CALL
  1416. Name: "ChanSpyStop"
  1417.  
  1418. manager_event(EVENT_FLAG_CALL,"ChanSpyStop","SpyeeChannel:%s\r\n",name);
  1419.  
  1420. -----------------------------------------------------------
  1421. /home/chris/asterisk/apps/app_meetme.c
  1422.  
  1423. Meetme => conf->confno
  1424.  
  1425. Category: EVENT_FLAG_CALL
  1426. Name: "MeetmeEnd"
  1427.  
  1428. manager_event(EVENT_FLAG_CALL,"MeetmeEnd","Meetme:%s\r\n",conf->confno);
  1429.  
  1430. -----------------------------------------------------------
  1431. /home/chris/asterisk/apps/app_meetme.c
  1432.  
  1433. Channel => chan->name
  1434. Uniqueid => chan->uniqueid
  1435. Meetme => conf->confno
  1436. Usernum => user->user_no
  1437. CallerIDnum => S_OR(user->chan->cid.cid_num
  1438. CallerIDname => "<unknown>")
  1439.  
  1440. Category: EVENT_FLAG_CALL
  1441. Name: "MeetmeJoin"
  1442.  
  1443. 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>"));
  1444.  
  1445. -----------------------------------------------------------
  1446. /home/chris/asterisk/apps/app_meetme.c
  1447.  
  1448. Channel => chan->name
  1449. Uniqueid => chan->uniqueid
  1450. Meetme => conf->confno
  1451. Usernum => user->user_no
  1452.  
  1453. Category: EVENT_FLAG_CALL
  1454. Name: "MeetmeMute"
  1455.  
  1456. 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);
  1457.  
  1458. -----------------------------------------------------------
  1459. /home/chris/asterisk/apps/app_meetme.c
  1460.  
  1461. Channel => chan->name
  1462. Uniqueid => chan->uniqueid
  1463. Meetme => conf->confno
  1464. Usernum => user->user_no
  1465.  
  1466. Category: EVENT_FLAG_CALL
  1467. Name: "MeetmeMute"
  1468.  
  1469. 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);
  1470.  
  1471. -----------------------------------------------------------
  1472. /home/chris/asterisk/apps/app_meetme.c
  1473.  
  1474. Channel => chan->name
  1475. Uniqueid => chan->uniqueid
  1476. Meetme => conf->confno
  1477. Usernum => user->user_no
  1478.  
  1479. Category: EVENT_FLAG_CALL
  1480. Name: "MeetmeTalkRequest"
  1481.  
  1482. 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);
  1483.  
  1484. -----------------------------------------------------------
  1485. /home/chris/asterisk/apps/app_meetme.c
  1486.  
  1487. Channel => chan->name
  1488. Uniqueid => chan->uniqueid
  1489. Meetme => conf->confno
  1490. Usernum => user->user_no
  1491.  
  1492. Category: EVENT_FLAG_CALL
  1493. Name: "MeetmeTalkRequest"
  1494.  
  1495. 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);
  1496.  
  1497. -----------------------------------------------------------
  1498. /home/chris/asterisk/apps/app_meetme.c
  1499.  
  1500. Channel => chan->name
  1501. Uniqueid => chan->uniqueid
  1502. Meetme => conf->confno
  1503. Usernum => user->user_no
  1504.  
  1505. Category: EVENT_FLAG_CALL
  1506. Name: "MeetmeTalking"
  1507.  
  1508. 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);
  1509.  
  1510. -----------------------------------------------------------
  1511. /home/chris/asterisk/apps/app_meetme.c
  1512.  
  1513. Channel => chan->name
  1514. Uniqueid => chan->uniqueid
  1515. Meetme => conf->confno
  1516. Usernum => user->user_no
  1517.  
  1518. Category: EVENT_FLAG_CALL
  1519. Name: "MeetmeTalking"
  1520.  
  1521. 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);
  1522.  
  1523. -----------------------------------------------------------
  1524. /home/chris/asterisk/apps/app_meetme.c
  1525.  
  1526. Channel => chan->name
  1527. Uniqueid => chan->uniqueid
  1528. Meetme => conf->confno
  1529. Usernum => user->user_no
  1530. CallerIDNum => S_OR(user->chan->cid.cid_num
  1531. CallerIDName => "<unknown>")
  1532. Duration => S_OR(user->chan->cid.cid_name
  1533.  
  1534. Category: EVENT_FLAG_CALL
  1535. Name: "MeetmeLeave"
  1536.  
  1537. 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));
  1538.  
  1539. -----------------------------------------------------------
  1540. /home/chris/asterisk/apps/app_queue.c
  1541.  
  1542. Queue => q->name
  1543. Location => m->interface
  1544. MemberName => m->membername
  1545. Membership => m->dynamic?"dynamic":m->realtime?"realtime":"static"
  1546. Penalty => m->penalty
  1547. CallsTaken => m->calls
  1548. LastCall => (int)m->lastcall
  1549. Status => m->status
  1550. Paused => m->paused
  1551.  
  1552. Category: EVENT_FLAG_AGENT
  1553. Name: "QueueMemberStatus"
  1554.  
  1555. 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);
  1556.  
  1557. -----------------------------------------------------------
  1558. /home/chris/asterisk/apps/app_queue.c
  1559.  
  1560. Channel => qe->chan->name
  1561. CallerIDNum => S_OR(qe->chan->cid.cid_num
  1562. CallerIDName => "unknown")
  1563. Queue => /*XXXsomewhereelseitis<unknown>*/S_OR(qe->chan->cid.cid_name
  1564. Position => "unknown")
  1565. Count => q->name
  1566. Uniqueid => qe->pos
  1567.  
  1568. Category: EVENT_FLAG_CALL
  1569. Name: "Join"
  1570.  
  1571. 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);
  1572.  
  1573. -----------------------------------------------------------
  1574. /home/chris/asterisk/apps/app_queue.c
  1575.  
  1576. Channel => qe->chan->name
  1577. Queue => q->name
  1578. Count => q->count
  1579. Position => qe->pos
  1580. Uniqueid => qe->chan->uniqueid
  1581.  
  1582. Category: EVENT_FLAG_CALL
  1583. Name: "Leave"
  1584.  
  1585. 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);
  1586.  
  1587. -----------------------------------------------------------
  1588. /home/chris/asterisk/apps/app_queue.c
  1589.  
  1590. Queue => qe->parent->name
  1591. AgentCalled => tmp->interface
  1592. AgentName => tmp->member->membername
  1593. ChannelCalling => qe->chan->name
  1594. DestinationChannel => tmp->chan->name
  1595. CallerIDNum => tmp->chan->cid.cid_num?tmp->chan->cid.cid_num:"unknown"
  1596. CallerIDName => tmp->chan->cid.cid_name?tmp->chan->cid.cid_name:"unknown"
  1597. Context => qe->chan->context
  1598. Extension => qe->chan->exten
  1599. Priority => qe->chan->priority
  1600. Uniqueid => qe->chan->uniqueid
  1601. => qe->parent->eventwhencalled==QUEUE_EVENT_VARIABLES?vars2manager(qe->chan
  1602.  
  1603. Category: EVENT_FLAG_AGENT
  1604. Name: "AgentCalled"
  1605.  
  1606. 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)):"");
  1607.  
  1608. -----------------------------------------------------------
  1609. /home/chris/asterisk/apps/app_queue.c
  1610.  
  1611. Queue => qe->parent->name
  1612. Uniqueid => qe->chan->uniqueid
  1613. Position => qe->pos
  1614. OriginalPosition => qe->opos
  1615. HoldTime => (int)(time(NULL)-qe->start)
  1616.  
  1617. Category: EVENT_FLAG_AGENT
  1618. Name: "QueueCallerAbandon"
  1619.  
  1620. 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));
  1621.  
  1622. -----------------------------------------------------------
  1623. /home/chris/asterisk/apps/app_queue.c
  1624.  
  1625. Queue => qe->parent->name
  1626. Uniqueid => qe->chan->uniqueid
  1627. Channel => qe->chan->name
  1628. Member => interface
  1629. MemberName => membername
  1630. Ringtime => rnatime
  1631. => qe->parent->eventwhencalled==QUEUE_EVENT_VARIABLES?vars2manager(qe->chan
  1632.  
  1633. Category: EVENT_FLAG_AGENT
  1634. Name: "AgentRingNoAnswer"
  1635.  
  1636. 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)):"");
  1637.  
  1638. -----------------------------------------------------------
  1639. /home/chris/asterisk/apps/app_queue.c
  1640.  
  1641. Queue => queuename
  1642. Uniqueid => qe->chan->uniqueid
  1643. Channel => peer->name
  1644. Member => member->interface
  1645. MemberName => member->membername
  1646. HoldTime => (long)(callstart-qe->start)
  1647. TalkTime => (long)(time(NULL)-callstart)
  1648. Reason => reason
  1649. => qe->parent->eventwhencalled==QUEUE_EVENT_VARIABLES?vars2manager(qe->chan
  1650.  
  1651. Category: EVENT_FLAG_AGENT
  1652. Name: "AgentComplete"
  1653.  
  1654. 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):"");
  1655.  
  1656. -----------------------------------------------------------
  1657. /home/chris/asterisk/apps/app_queue.c
  1658.  
  1659. Queue => queuename
  1660. Uniqueid => qe->chan->uniqueid
  1661. Channel => peer->name
  1662. Member => member->interface
  1663. MemberName => member->membername
  1664. => qe->parent->eventwhencalled==QUEUE_EVENT_VARIABLES?vars2manager(qe->chan
  1665.  
  1666. Category: EVENT_FLAG_AGENT
  1667. Name: "AgentDump"
  1668.  
  1669. 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)):"");
  1670.  
  1671. -----------------------------------------------------------
  1672. /home/chris/asterisk/apps/app_queue.c
  1673.  
  1674. Queue => queuename
  1675. Uniqueid => qe->chan->uniqueid
  1676. Channel => peer->name
  1677. Member => member->interface
  1678. MemberName => member->membername
  1679. Holdtime => (long)time(NULL)-qe->start
  1680. BridgedChannel => peer->uniqueid
  1681. Ringtime => (long)(orig-to>0?(orig-to)/1000:0)
  1682. => qe->parent->eventwhencalled==QUEUE_EVENT_VARIABLES?vars2manager(qe->chan
  1683.  
  1684. Category: EVENT_FLAG_AGENT
  1685. Name: "AgentConnect"
  1686.  
  1687. 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)):"");
  1688.  
  1689. -----------------------------------------------------------
  1690. /home/chris/asterisk/apps/app_queue.c
  1691.  
  1692. Queue => q->name
  1693. Location => mem->interface
  1694. MemberName => mem->membername
  1695.  
  1696. Category: EVENT_FLAG_AGENT
  1697. Name: "QueueMemberRemoved"
  1698.  
  1699. manager_event(EVENT_FLAG_AGENT,"QueueMemberRemoved","Queue:%s\r\n""Location:%s\r\n""MemberName:%s\r\n",q->name,mem->interface,mem->membername);
  1700.  
  1701. -----------------------------------------------------------
  1702. /home/chris/asterisk/apps/app_queue.c
  1703.  
  1704. Queue => q->name
  1705. Location => new_member->interface
  1706. MemberName => new_member->membername
  1707. Membership => "dynamic"
  1708. Penalty => new_member->penalty
  1709. CallsTaken => new_member->calls
  1710. LastCall => (int)new_member->lastcall
  1711. Status => new_member->status
  1712. Paused => new_member->paused
  1713.  
  1714. Category: EVENT_FLAG_AGENT
  1715. Name: "QueueMemberAdded"
  1716.  
  1717. 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);
  1718.  
  1719. -----------------------------------------------------------
  1720. /home/chris/asterisk/apps/app_queue.c
  1721.  
  1722. Queue => q->name
  1723. Location => mem->interface
  1724. MemberName => mem->membername
  1725. Paused => paused
  1726. Reason => reason
  1727.  
  1728. Category: EVENT_FLAG_AGENT
  1729. Name: "QueueMemberPaused"
  1730.  
  1731. 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);
  1732.  
  1733. -----------------------------------------------------------
  1734. /home/chris/asterisk/apps/app_queue.c
  1735.  
  1736. Queue => q->name
  1737. Location => mem->interface
  1738. MemberName => mem->membername
  1739. Paused => paused
  1740.  
  1741. Category: EVENT_FLAG_AGENT
  1742. Name: "QueueMemberPaused"
  1743.  
  1744. 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);
  1745.  
  1746. -----------------------------------------------------------
  1747. /home/chris/asterisk/apps/app_queue.c
  1748.  
  1749. Queue => q->name
  1750. Location => mem->interface
  1751. Penalty => penalty
  1752.  
  1753. Category: EVENT_FLAG_AGENT
  1754. Name: "QueueMemberPenalty"
  1755.  
  1756. manager_event(EVENT_FLAG_AGENT,"QueueMemberPenalty","Queue:%s\r\n""Location:%s\r\n""Penalty:%d\r\n",q->name,mem->interface,penalty);
  1757.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement