<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" /> 
<base href="https://wiki.asterisk.org/wiki" /> 
<title>Message Title</title>  
<style type="text/css">@media only screen and (max-device-width: 480px) {.mobile-only {
        width: auto !important;
        height: auto !important;
        overflow: visible !important;
        line-height: normal !important;
        font-size: inherit !important;
        mso-hide: all;
}

.desktop-only {
        display: none !important;
}

/* iPhone 3GS fix for unwanted 20px right margin */
body { min-width: 100% !important; padding: 0; margin: 0; }

#center-content-table { max-width: none; !important; }
#header-pattern-container { padding: 10px 10px 10px 10px !important; line-height: 20px !important; }
#header-avatar-image-container { padding-right: 8px !important; }
#email-content-container { padding: 0 !important; }
.mobile-expand { border-radius: 0 !important; border-left: 0 !important; border-right: 0 !important; padding-left: 26px !important;}
.mobile-resize-text { font-size: 16px !important; line-height: 22px !important; }
#page-title-pattern-header { font-size: 20px !important; line-height: 28px !important; }
#page-title-pattern-icon-image-container-cell { padding-top: 7px !important; }
#inline-user-pattern { display: block !important; }
#inline-user-pattern-avatar { padding-top: 3px !important; }
.contextual-area-pattern { border-bottom: 1px solid #ccc !important; padding: 15px 10px 0 10px !important;}
.users-involved-pattern-column-table { width: 100% !important;  }
.users-involved-pattern-avatar-table-cell { padding: 3px 5px 5px 0 !important; }
.users-involved-pattern-column-container { padding-right: 0 !important; }
.contextual-excerpt-pattern, #users-involved-pattern { border: 0 !important; }

/** Aui Typography upsized for mobile **/
#content-excerpt-pattern-container, #contextual-excerpt-pattern-text-container { font-size: 16px !important; line-height: 22px !important; }
#content-excerpt-pattern-container h1, #contextual-excerpt-pattern-text-container h1 { font-size: 24px !important; line-height: 28px !important; }
#content-excerpt-pattern-container h2, #contextual-excerpt-pattern-text-container h2 { font-size: 20px !important; line-height: 28px !important; }
#content-excerpt-pattern-container h3, #contextual-excerpt-pattern-text-container h3 { font-size: 18px !important; line-height: 24px !important; }
#content-excerpt-pattern-container h4, #contextual-excerpt-pattern-text-container h4 { font-size: 16px !important; line-height: 22px !important; }
#content-excerpt-pattern-container h5, #contextual-excerpt-pattern-text-container h5 { font-size: 14px !important; line-height: 20px !important; }
#content-excerpt-pattern-container h6, #contextual-excerpt-pattern-text-container h6 { font-size: 14px !important; line-height: 20px !important; }
.user-mention { line-height: 18px !important; }
/** Aui Typography end **/

/* Show appropriate footer logo on mobile, display links vertically */
#footer-pattern { padding: 15px 10px !important; }
#footer-pattern-logo-desktop-container { padding: 0 !important; }
#footer-pattern-logo-desktop { width: 0 !important; height: 0 !important; }
#footer-pattern-logo-mobile {
    padding-top: 10px !important;
    width: 30px !important;
    height: 27px !important;
    display: inline !important;
}
#footer-pattern-text {
    display: block !important;
}
#footer-pattern-links-container { line-height: 0 !important;}
.footer-pattern-links.mobile-resize-text,
.footer-pattern-links.mobile-resize-text,
#footer-pattern-text.mobile-resize-text,
#footer-pattern-links-container.no-footer-links {
    font-size: 14px !important;
    line-height: 20px !important;
}
.footer-link { display: block !important; }
#footer-pattern-links-container table { display: inline-block !important; float: none !important; }
#footer-pattern-links-container, #footer-pattern-text { text-align: center !important; }
#footer-pattern-links { padding-bottom: 5px !important; }

/** Team Calendar overrides, these should be removed when notifications are updated in Team Calendars. For now CSS
    overrides are being used because the structure of the content can't change without rereleasing the plugin */
.mail-calendar-container .day-header + table tr td:first-child {
    vertical-align: top !important;
    padding-top: 5px !important;
}}
@media (min-width: 900px) {#center-content-table { width: 900px; }}
@media all {#outlook a {padding:0;} /* Force Outlook to provide a "view in browser" menu link. */
/* Prevent Webkit and Windows Mobile platforms from changing default font sizes.*/
body{-webkit-text-size-adjust:100%; -ms-text-size-adjust:100%;}
.ExternalClass {width:100%;} /* Force Hotmail to display emails at full width */
#background-table {margin:0; padding:0; width:100% !important; }
/* Needed to override highlighting on date and time links in iOS */
.grey a {color: #707070; text-decoration: none; }/* These styles are appended to the head element of a notification in order to prevent Apple Mail and similar
   clients from underlining the due dates with a blue hyperlink */
/* a lozenge outside an inline task should always be #333, lozenges inside an inline task should be
   colored according to their upcoming due dates, a completed task date lozenge or deleted task date
   lozenge should always be #707070 */
.date-time-lozenge a {color: #333333; text-decoration: none; }
.inline-task-text-container .date-time-lozenge.date-upcoming a {color: #DF6F00; text-decoration: none; }
.inline-task-text-container .date-time-lozenge.date-past a {color: #D04437; text-decoration: none; }
.inline-task-text-container.content-deleted-color .date-time-lozenge a,
.inline-task-text-container.checked .date-time-lozenge a {
    color: #707070; text-decoration: none;
}}
</style> 
</head>
<body>
<table id="background-table" cellpadding="0" cellspacing="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333; background-color: #f5f5f5"> 
<tbody> 
<tr> 
<td id="header-pattern-container" style="padding: 0px; border-collapse: collapse; padding: 10px 20px"> 
<table id="header-pattern" cellspacing="0" cellpadding="0" border="0" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333"> 
<tbody> 
<tr> 
<td id="header-avatar-image-container" valign="top" style="padding: 0px; border-collapse: collapse; vertical-align: top; width: 32px; padding-right: 9px"><a href="https://wiki.asterisk.org/wiki/display/~rnewton?src=email" style="color: #3b73af; text-decoration: none"><img id="header-avatar-image" class="image_fix" src="cid:avatar_925838d3d8b1f71935f30b314c925d64" height="32" width="32" border="0" style="border-radius: 3px; vertical-align: top" /></a></td>
<td id="header-text-container" valign="middle" style="padding: 0px; border-collapse: collapse; vertical-align: middle; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 1px">Rusty Newton <strong>edited</strong> a page</td> 
</tr> 
</tbody> 
</table> </td> 
</tr> 
<!-- End Header pattern --> 
<tr> 
<td id="email-content-container" style="padding: 0px; border-collapse: collapse; padding: 0 20px"> 
<table id="email-content-table" cellspacing="0" cellpadding="0" border="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333; border-spacing: 0; border-collapse: separate"> 
<tbody> 
<tr> 
<td class="email-content-rounded-top mobile-expand" style="padding: 0px; border-collapse: collapse; color: #fff; padding: 0 15px 0 16px; height: 15px; background-color: #fff; border-left: 1px solid #ccc; border-top: 1px solid #ccc; border-right: 1px solid #ccc; border-bottom: 0; border-top-right-radius: 5px; border-top-left-radius: 5px"> </td> 
</tr> 
<tr> 
<td class="email-content-main mobile-expand" style="padding: 0px; border-collapse: collapse; border-left: 1px solid #ccc; border-right: 1px solid #ccc; border-top: 0; border-bottom: 0; padding: 0 15px 15px 16px; background-color: #fff"> 
<table class="notification-comment-pattern" cellspacing="0" cellpadding="0" border="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 2px"> 
<tbody> 
<tr> 
<td class="notification-comment-pattern-container mobile-resize-text" style="padding: 0px; border-collapse: collapse; padding: 0px"><strong>Change comment:</strong> Format with a few edits, need to add links and update examples</td> 
</tr> 
</tbody> 
</table> </td> 
</tr> 
<tr> 
<td class="email-content-main mobile-expand padding-top border-top" style="padding: 0px; border-collapse: collapse; border-left: 1px solid #ccc; border-right: 1px solid #ccc; border-top: 0; border-bottom: 0; padding: 0 15px 15px 16px; background-color: #fff; border-top: 1px solid #ccc; padding-top: 15px"> 
<table id="page-title-pattern" cellspacing="0" cellpadding="0" border="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333"> 
<tbody> 
<tr> 
<td id="page-title-pattern-icon-image-container" valign="top" style="padding: 0px; border-collapse: collapse; width: 16px; vertical-align: top"> 
<table cellspacing="0" cellpadding="0" border="0" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333"> 
<tbody> 
<tr> 
<td id="page-title-pattern-icon-image-container-cell" style="padding: 0px; border-collapse: collapse; width: 16px; padding: 9px 8px 0px 0px; mso-text-raise: 5px; mso-line-height-rule: exactly"><a href="https://wiki.asterisk.org/wiki/display/AST/CEL+Design+Goals?src=email" title="page icon" style="vertical-align: top;; color: #3b73af; text-decoration: none"><img style="vertical-align: top; display: block;" src="cid:page-icon" alt="page icon" title="page icon" height="16" width="16" border="0" /></a></td> 
</tr> 
</tbody> 
</table> </td>
<td style="vertical-align: top;; padding: 0px; border-collapse: collapse; padding-right: 5px; font-size: 20px; line-height: 30px; mso-line-height-rule: exactly" id="page-title-pattern-header-container"><span id="page-title-pattern-header" style="font-family: Arial, sans-serif; padding: 0; font-size: 20px; line-height: 30px; mso-text-raise: 2px; mso-line-height-rule: exactly; vertical-align: middle"><a href="https://wiki.asterisk.org/wiki/display/AST/CEL+Design+Goals?src=email" title="CEL Design Goals" style="color: #3b73af; text-decoration: none">CEL Design Goals</a></span></td> 
</tr> 
</tbody> 
</table> </td> 
</tr> 
<tr> 
<td class="email-content-main mobile-expand" style="padding: 0px; border-collapse: collapse; border-left: 1px solid #ccc; border-right: 1px solid #ccc; border-top: 0; border-bottom: 0; padding: 0 15px 15px 16px; background-color: #fff"> 
<table class="content-excerpt-pattern" cellspacing="0" cellpadding="0" border="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 1px"> 
<tbody> 
<tr> 
<td class="content-excerpt-pattern-container mobile-resize-text " style="padding: 0px; border-collapse: collapse; padding: 0 0 0 24px"> <h1 id="CELDesignGoals-Overview" class="diff-block-target diff-block-context" style="margin: 10px 0 0 0; margin-top: 0; font-size: 24px; font-weight: normal; line-height: 30px; margin: 40px 0 0 0; margin-top: 0"> <span class="diff-html-added" id="added-diff-0" style="font-size: 100%; background-color: #ddfade;">Overview</span> </h1> <p class="diff-block-target diff-block-context" style="margin: 10px 0 0 0"> <span class="diff-html-added" style="font-size: 100%; background-color: #ddfade;">This page is simply an effort at explaining the reason and purpose behind the design of </span>CEL<span class="diff-html-added" id="added-diff-1" style="font-size: 100%; background-color: #ddfade;">. You can skip this section if you don't care why things are the way they are and only want to get it up and running.</span> </p> <h2 id="CELDesignGoals-ImprovingonCDR" class="diff-block-target diff-block-context" style="margin: 10px 0 0 0; font-size: 20px; font-weight: normal; line-height: 30px; margin: 40px 0 0 0"> <span class="diff-html-added" style="font-size: 100%; background-color: #ddfade;">Improving on CDR</span> </h2> <p class="diff-block-target diff-block-context" style="margin: 10px 0 0 0"> <span class="diff-html-added" style="font-size: 100%; background-color: #ddfade;">CEL</span>, or Channel Event Logging, <span class="diff-html-removed" id="removed-diff-0" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">has been </span><span class="diff-html-added" id="added-diff-2" style="font-size: 100%; background-color: #ddfade;">was </span>written with the hopes that it will help solve some of the problems that were difficult to address in CDR records. Some difficulties in CDR generation are the fact that the CDR record stores three events: the "Start" time, the "Answer" time, and the "End" time. Billing time is usually the difference between "Answer" and "End", and total call duration was the difference in time from "Start" to "End". The trouble with this direct and simple approach is the fact that calls can be transferred, put on hold, <span class="diff-html-removed" id="removed-diff-1" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">conferenced</span><span class="diff-html-added" id="added-diff-3" style="font-size: 100%; background-color: #ddfade;">involved in conferencing</span>, forwarded, etc. In general, those <span class="diff-html-removed" id="removed-diff-2" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">doing </span><span class="diff-html-added" id="added-diff-4" style="font-size: 100%; background-color: #ddfade;">who create </span>billing applications <span class="diff-html-removed" id="removed-diff-3" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">in </span><span class="diff-html-added" id="added-diff-5" style="font-size: 100%; background-color: #ddfade;">with </span>Asterisk find they have to do all sorts of very creative things to overcome the shortcomings of CDR records, often supplementing the CDR records with AGI scripts and manager event filters.</p> <h2 id="CELDesignGoals-Channel-relevantevents" class="diff-block-target" style="margin: 10px 0 0 0; font-size: 20px; font-weight: normal; line-height: 30px; margin: 40px 0 0 0"> <span class="diff-html-added" id="added-diff-6" style="font-size: 100%; background-color: #ddfade;">Channel-relevant events </span> </h2> <p class="diff-block-context" style="margin: 10px 0 0 0">The fundamental assumption is that the Channel is the fundamental communication object in asterisk, which basically provides a communication channel between two communication ports. It makes sense to have an event system aimed at recording important events on channels. Each event is attached to a channel, like ANSWER or HANGUP. Some events are meant to connect two or more channels, like the BRIDGE_START event. Some events, like BLINDTRANSFER, are initiated by one channel, but affect two others. These events use the Peer field, like BRIDGE would, to point to the target channel.</p> <h2 id="CELDesignGoals-Billingrequiresdetail" class="diff-block-target" style="margin: 10px 0 0 0; font-size: 20px; font-weight: normal; line-height: 30px; margin: 40px 0 0 0"> <span class="diff-html-added" id="added-diff-7" style="font-size: 100%; background-color: #ddfade;">Billing requires detail</span> </h2> <p class="diff-block-target diff-block-context" style="margin: 10px 0 0 0">The design philosophy of CEL is to generate event data that can <span class="diff-html-added" id="added-diff-8" style="font-size: 100%; background-color: #ddfade;">be </span>grouped together to form a billing record.<span class="diff-html-removed" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;"> </span><span class="diff-html-removed" id="removed-diff-4" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">This may not be a simple task, but we hope to provide a few different examples that could be used as a basis for those involved in this effort. There </span><span class="diff-html-added" id="added-diff-9" style="font-size: 100%; background-color: #ddfade;"> There </span>are definite parallels between <span class="diff-html-added" id="added-diff-10" style="font-size: 100%; background-color: #ddfade;">Asterisk </span>Manager <span class="diff-html-added" id="added-diff-11" style="font-size: 100%; background-color: #ddfade;">Interface </span>events and CEL events, but there are some differences. Some events that are generated by CEL are not generated by the Manager interface (yet). CEL is optimized for databases, and Manager events are not. The focus of CEL is billing. The Manager interface is targeted to real-time monitoring and control of asterisk.</p> <p class="diff-block-target" style="margin: 10px 0 0 0"> <span class="diff-html-removed" id="removed-diff-5" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">To </span><span class="diff-html-added" id="added-diff-12" style="font-size: 100%; background-color: #ddfade;">Looking at an example of all the interactions and events involved in a moderately complex call scenario can </span>give the reader a feel for the complexities involved in billing<span class="diff-html-removed" id="removed-diff-6" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">, please </span><span class="diff-html-added" id="added-diff-13" style="font-size: 100%; background-color: #ddfade;">. Please </span>take note of the following sequence of events<span class="diff-html-removed" id="removed-diff-7" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">: </span><span class="diff-html-added" id="added-diff-14" style="font-size: 100%; background-color: #ddfade;">.</span> </p> <p class="diff-block-context" style="margin: 10px 0 0 0">Remember that 150, 151, and 152 are all Zap extension numbers, and their respective devices are Zap/50, Zap/51, and Zap/52.</p> 
<ul class="diff-block-target diff-block-context" style="margin: 10px 0 0 0"> 
<li> <span class="diff-html-changed" id="changed-diff-0" style="background-color: #d6f0ff;">152 dials 151; 151 answers.</span> </li> 
<li> <span class="diff-html-changed" id="changed-diff-1" style="background-color: #d6f0ff;">152 parks 151; 152 hangs up.</span><span class="diff-html-added" id="added-diff-16" style="font-size: 100%; background-color: #ddfade;"> </span> </li> 
<li> <span class="diff-html-changed" id="changed-diff-2" style="background-color: #d6f0ff;">150 picks up the park (dials 701).</span> </li> 
<li> <span class="diff-html-changed" id="changed-diff-3" style="background-color: #d6f0ff;">150 and 151 converse.</span> </li> 
<li> <span class="diff-html-changed" id="changed-diff-4" style="background-color: #d6f0ff;">151 flashes hook; dials 152, talks to 152, then 151 flashes hook again for 3-way conference.</span><span class="diff-html-added" id="added-diff-19" style="font-size: 100%; background-color: #ddfade;"> </span> </li> 
<li> <span class="diff-html-changed" id="changed-diff-5" style="background-color: #d6f0ff;">151 converses with the other two for a while, then hangs up.</span> </li> 
<li> <span class="diff-html-changed" id="changed-diff-6" style="background-color: #d6f0ff;">150 and 152 keep conversing, then hang up. 150 hangs up first.(not that it matters).</span> </li> 
</ul> <p class="diff-block-target diff-block-context" style="margin: 10px 0 0 0"> <span class="diff-html-removed" id="removed-diff-8" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">This sequence of actions will generate the following annotated list of </span><span class="diff-html-added" id="added-diff-21" style="font-size: 100%; background-color: #ddfade;">Click the expansion link to see the resulting </span>42 CEL events <span class="diff-html-removed" id="removed-diff-9" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">: </span><span class="diff-html-added" id="added-diff-22" style="font-size: 100%; background-color: #ddfade;">with annotations.</span> </p> 
<table class="diff-macro diff-html-added diff-block-target diff-block-context" style="background-color: #f0f0f0;border: 1px solid #dddddd;margin: 10px 1px;padding: 0 2px 2px;width: 100%;background-color: #ddfade;border-color: #93c49f;; border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333"> 
<thead> 
<tr> 
<th class="diff-macro-title" style="background-color: transparent; text-align: left; font-weight: normal;padding: 5px;"><span class="diff-html-added" id="added-diff-23" style="font-size: 100%; background-color: #ddfade;"><span class="icon macro-placeholder-icon" style="background-color: ;line-height: 20px;"><img src="https://wiki.asterisk.org/wiki/s/en_GB/5639/a252d7f5e75d7a8bf7047b4b2c92f71a56a8f048.48/_/plugins/servlet/confluence/placeholder/macro-icon?name=expand" style="padding-right: 5px; vertical-align: text-bottom;" /> </span>Expand</span></th> 
</tr> 
</thead> 
<tbody> 
<tr> 
<td class="diff-macro-body" style="background-color: #fff;border: 1px solid #dddddd;padding: 10px;; padding: 0px; border-collapse: collapse"> <p style="margin: 10px 0 0 0; margin-top: 0"> <span class="diff-html-changed" id="changed-diff-7" style="background-color: #d6f0ff;">Note that the actual CEL events below are in CSV format and do not include the ;;; and text after that which gives a description of what the event represents.</span> </p> <p style="margin: 10px 0 0 0"> <span class="diff-html-added" id="added-diff-24" style="font-size: 100%; background-color: #ddfade;"> </span> </p> 
<table class="diff-macro diff-html-changed" style="background-color: #f0f0f0;border: 1px solid #dddddd;margin: 10px 1px;padding: 0 2px 2px;width: 100%;; border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333"> 
<thead> 
<tr> 
<th class="diff-macro-title" style="background-color: transparent; text-align: left; font-weight: normal;padding: 5px;"><span class="diff-html-changed" id="changed-diff-8" style="background-color: #d6f0ff;"><span class="icon macro-placeholder-icon" style="background-color: ;line-height: 20px;"><img src="https://wiki.asterisk.org/wiki/s/en_GB/5639/a252d7f5e75d7a8bf7047b4b2c92f71a56a8f048.48/_/images/icons/macrobrowser/dropdown/noformat.png" style="padding-right: 5px; vertical-align: text-bottom;" /> </span>No Format</span></th> 
</tr> 
</thead> 
</table> <span class="diff-html-removed" id="removed-diff-10" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;"> </span> 
<table class="diff-macro" style="background-color: #f0f0f0;border: 1px solid #dddddd;margin: 10px 1px;padding: 0 2px 2px;width: 100%;; border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333"> 
<tbody> 
<tr> 
<td class="diff-macro-body" style="background-color: #fff;border: 1px solid #dddddd;padding: 10px;; padding: 0px; border-collapse: collapse"> <pre style="margin: 10px 0 0 0; margin-top: 0">
<span class="diff-html-changed" id="changed-diff-9" style="background-color: #d6f0ff;">"EV_CHAN_START","2007-05-09 12:46:16","fxs.52","152","","","","s","extension","Zap/52-1","","","DOCUMENTATION","","1178736376.3","","" ;;; 152 takes the phone off-hook
"EV_APP_START","2007-05-09 12:46:18","fxs.52","152","152","","","151","extension","Zap/52-1","Dial","Zap/51|30|TtWw","DOCUMENTATION","","1178736376.3" ;;; 152 finishes dialing 151 
"EV_CHAN_START","2007-05-09 12:46:18","fxs.51","151","","","","s","extension","Zap/51-1","","","DOCUMENTATION","","1178736378.4","","" ;;; 151 channel created, starts ringing 
(151 is ringing) 
"EV_ANSWER","2007-05-09 12:46:19","","151","152","","","151","extension","Zap/51-1","AppDial","(Outgoing Line)","DOCUMENTATION","","1178736378.4","","" ;;; 151 answers 
"EV_ANSWER","2007-05-09 12:46:19","fxs.52","152","152","","","151","extension","Zap/52-1","Dial","Zap/51|30|TtWw","DOCUMENTATION","","1178736376.3","","" ;;; so does 152 (???) 
"EV_BRIDGE_START","2007-05-09 12:46:20","fxs.52","152","152","","","151","extension","Zap/52-1","Dial","Zap/51|30|TtWw","DOCUMENTATION","","1178736376.3","","Zap/51-1" ;;; 152 and 151 are bridged 
(151 and 152 are conversing) 
"EV_BRIDGE_END","2007-05-09 12:46:25","fxs.52","152","152","","","151","extension","Zap/52-1","Dial","Zap/51|30|TtWw","DOCUMENTATION","","1178736376.3","","" ;;; after 5 seconds, the bridge ends (152 dials #700?) 
"EV_BRIDGE_START","2007-05-09 12:46:25","fxs.52","152","152","","","151","extension","Zap/52-1","Dial","Zap/51|30|TtWw","DOCUMENTATION","","1178736376.3","","Zap/51-1" ;;; extraneous 0-second bridge? 
"EV_BRIDGE_END","2007-05-09 12:46:25","fxs.52","152","152","","","151","extension","Zap/52-1","Dial","Zap/51|30|TtWw","DOCUMENTATION","","1178736376.3","","" ;;; 
"EV_PARK_START","2007-05-09 12:46:27","","151","152","","","","extension","Zap/51-1","Parked Call","","DOCUMENTATION","","1178736378.4","","" ;;; 151 is parked 
"EV_HANGUP","2007-05-09 12:46:29","fxs.52","152","152","","","h","extension","Zap/52-1","","","DOCUMENTATION","","1178736376.3" ,"","" ;;; 152 hangs up 2 sec later 
"EV_CHAN_END","2007-05-09 12:46:29","fxs.52","152","152","","","h","extension","Zap/52-1","","","DOCUMENTATION","","1178736376.3","","" ;;; 152's channel goes away 
(151 is parked and listening to MOH! now, 150 picks up, and dials 701) 
"EV_CHAN_START","2007-05-09 12:47:08","fxs.50","150","","","","s","extension","Zap/50-1","","","DOCUMENTATION","","1178736428.5","","" ;;; 150 picks up the phone, dials 701 
"EV_PARK_END","2007-05-09 12:47:11","","151","152","","","","extension","Zap/51-1","Parked Call","","DOCUMENTATION","","1178736378.4","","" ;;; 151's park comes to end 
"EV_ANSWER","2007-05-09 12:47:11","fxs.50","150","150","","","701","extension","Zap/50-1","ParkedCall","701","DOCUMENTATION","","1178736428.5","","" ;;; 150 gets answer (twice) 
"EV_ANSWER","2007-05-09 12:47:12","fxs.50","150","150","","","701","extension","Zap/50-1","ParkedCall","701","DOCUMENTATION","","1178736428.5","","" ;;; 
"EV_BRIDGE_START","2007-05-09 12:47:12","fxs.50","150","150","","","701","extension","Zap/50-1","ParkedCall","701","DOCUMENTATION","","1178736428.5","","Zap/51-1" ;;; bridge begins between 150 and recently parked 151 (150 and 151 are conversing, then 151 hits flash) 
"EV_CHAN_START","2007-05-09 12:47:51","fxs.51","151","","","","s","extension","Zap/51-2","","","DOCUMENTATION","","1178736471.6","","" ;;; 39 seconds later, 51-2 channel is created. (151 flashes hook) 
"EV_HOOKFLASH","2007-05-09 12:47:51","","151","152","","","","extension","Zap/51-1","Bridged Call","Zap/50-1","DOCUMENTATION","","1178736378.4","","Zap/51-2" ;;; a marker to record that 151 flashed the hook 
"EV_BRIDGE_END","2007-05-09 12:47:51","fxs.50","150","150","","","701","extension","Zap/50-1","ParkedCall","701","DOCUMENTATION","","1178736428.5","","Zap/51-1" ;;; bridge ends between 150 and 151 
"EV_BRIDGE_START","2007-05-09 12:47:51","fxs.50","150","150","","","701","extension","Zap/50-1","ParkedCall","701","DOCUMENTATION","","1178736428.5","","Zap/51-1" ;;; 0-second bridge from 150 to ? 150 gets no sound at all 
"EV_BRIDGE_END","2007-05-09 12:47:51","fxs.50","150","150","","","701","extension","Zap/50-1","ParkedCall","701","DOCUMENTATION","","1178736428.5","","Zap/51-1" ;;; 
"EV_BRIDGE_START","2007-05-09 12:47:51","fxs.50","150","150","","","701","extension","Zap/50-1","ParkedCall","701","DOCUMENTATION","","1178736428.5","","Zap/51-1" ;;; bridge start on 150 
(151 has dialtone after hitting flash; dials 152) 
"EV_APP_START","2007-05-09 12:47:55","fxs.51","151","151","","","152","extension","Zap/51-2","Dial","Zap/52|30|TtWw","DOCUMENTATION","","1178736471.6","","" ;;; 151-2 dials 152 after 4 seconds 
"EV_CHAN_START","2007-05-09 12:47:55","fxs.52","152","","","","s","extension","Zap/52-1","","","DOCUMENTATION","","1178736475.7" ,"","" ;;; 152 channel created to ring 152. 
(152 ringing) 
"EV_ANSWER","2007-05-09 12:47:58","","152","151","","","152","extension","Zap/52-1","AppDial","(Outgoing Line)","DOCUMENTATION","","1178736475.7","","" ;;; 3 seconds later, 152 answers 
"EV_ANSWER","2007-05-09 12:47:58","fxs.51","151","151","","","152","extension","Zap/51-2","Dial","Zap/52|30|TtWw","DOCUMENTATION","","1178736471.6","","" ;;; ... and 151-2 also answers 
"EV_BRIDGE_START","2007-05-09 12:47:59","fxs.51","151","151","","","152","extension","Zap/51-2","Dial","Zap/52|30|TtWw","DOCUMENTATION","","1178736471.6","","Zap/51-1" ;;; 1 second later, bridge formed betw. 151-2 and 151 (152 answers, 151 and 152 convering; 150 is listening to silence; 151 hits flash again... to start a 3way) 
"EV_3WAY_START","2007-05-09 12:48:58","","151","152","","","","extension","Zap/51-1","Bridged Call","Zap/50-1","DOCUMENTATION","","1178736378.4","","Zap/51-2" ;;; another hook-flash to begin a 3-way conference 
"EV_BRIDGE_END","2007-05-09 12:48:58","fxs.50","150","150","","","701","extension","Zap/50-1","ParkedCall","701","DOCUMENTATION","","1178736428.5","","Zap/51-1" ;;; - almost 1 minute later, the bridge ends (151 flashes hook again) 
"EV_BRIDGE_START","2007-05-09 12:48:58","fxs.50","150","150","","","701","extension","Zap/50-1","ParkedCall","701","DOCUMENTATION","","1178736428.5","","Zap/51-1" ;;; 0-second bridge at 150. (3 way conf formed) 
"EV_BRIDGE_END","2007-05-09 12:48:58","fxs.50","150","150","","","701","extension","Zap/50-1","ParkedCall","701","DOCUMENTATION","","1178736428.5","","Zap/51-1" ;;; 
"EV_BRIDGE_START","2007-05-09 12:48:58","fxs.50","150","150","","","701","extension","Zap/50-1","ParkedCall","701","DOCUMENTATION","","1178736428.5","","Zap/51-1" ;;; bridge starts for 150 
(3way now, then 151 hangs up.) 
"EV_BRIDGE_END","2007-05-09 12:49:26","fxs.50","150","150","","","701","extension","Zap/50-1","ParkedCall","701","DOCUMENTATION","","1178736428.5","","Zap/51-1" ;;; 28 seconds later, bridge ends 
"EV_HANGUP","2007-05-09 12:49:26","","151","152","","","","extension","Zap/51-1","Bridged Call","Zap/50-1","DOCUMENTATION","","1178736378.4","","" ;;; 151 hangs up, leaves 150 and 152 connected 
"EV_CHAN_END","2007-05-09 12:49:26","","151","152","","","","extension","Zap/51-1","Bridged Call","Zap/50-1","DOCUMENTATION","","1178736378.4","","" ;;; 151 channel ends 
"EV_CHAN_END","2007-05-09 12:49:26","fxs.51","151","151","","","h","extension","Zap/51-2ZOMBIE","","","DOCUMENTATION","","1178736428.5","","" ;;; 152-2 channel ends (zombie) 
(just 150 and 152 now) 
"EV_BRIDGE_END","2007-05-09 12:50:13","fxs.50","150","150","","","152","extension","Zap/50-1","Dial","Zap/52|30|TtWw","DOCUMENTATION","","1178736471.6","","" ;;; 47 sec later, the bridge from 150 to 152 ends 
"EV_HANGUP","2007-05-09 12:50:13","","152","151","","","","extension","Zap/52-1","Bridged Call","Zap/50-1","DOCUMENTATION","","1178736475.7","","" ;;; 152 hangs up 
"EV_CHAN_END","2007-05-09 12:50:13","","152","151","","","","extension","Zap/52-1","Bridged Call","Zap/50-1","DOCUMENTATION","","1178736475.7","","" ;;; 152 channel ends 
"EV_HANGUP","2007-05-09 12:50:13","fxs.50","150","150","","","h","extension","Zap/50-1","","","DOCUMENTATION","","1178736471.6","","" ;;; 150 hangs up 
"EV_CHAN_END","2007-05-09 12:50:13","fxs.50","150","150","","","h","extension","Zap/50-1","","","DOCUMENTATION","","1178736471.6","","" ;;; 150 ends 
</span>
</pre> </td> 
</tr> 
</tbody> 
</table> </td> 
</tr> 
</tbody> 
</table> <p class="diff-block-target diff-block-context" style="margin: 10px 0 0 0"> <span class="diff-html-added" id="added-diff-25" style="font-size: 100%; background-color: #ddfade;"> </span> </p> <p class="diff-block-target diff-block-context" style="margin: 10px 0 0 0">In terms of Manager events, the above Events correspond to the following 80 Manager events <span class="diff-html-removed" id="removed-diff-11" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">:</span><span class="diff-html-added" id="added-diff-26" style="font-size: 100%; background-color: #ddfade;">shown in the expansion link.</span> </p> 
<table class="diff-macro diff-html-added diff-block-target diff-block-context" style="background-color: #f0f0f0;border: 1px solid #dddddd;margin: 10px 1px;padding: 0 2px 2px;width: 100%;background-color: #ddfade;border-color: #93c49f;; border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333"> 
<thead> 
<tr> 
<th class="diff-macro-title" style="background-color: transparent; text-align: left; font-weight: normal;padding: 5px;"><span class="diff-html-added" style="font-size: 100%; background-color: #ddfade;"><span class="icon macro-placeholder-icon" style="background-color: ;line-height: 20px;"><img src="https://wiki.asterisk.org/wiki/s/en_GB/5639/a252d7f5e75d7a8bf7047b4b2c92f71a56a8f048.48/_/plugins/servlet/confluence/placeholder/macro-icon?name=expand" style="padding-right: 5px; vertical-align: text-bottom;" /> </span>Expand</span></th> 
</tr> 
</thead> 
<tbody> 
<tr> 
<td class="diff-macro-body" style="background-color: #fff;border: 1px solid #dddddd;padding: 10px;; padding: 0px; border-collapse: collapse"> 
<table class="diff-macro diff-html-changed" style="background-color: #f0f0f0;border: 1px solid #dddddd;margin: 10px 1px;padding: 0 2px 2px;width: 100%;; border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333"> 
<thead> 
<tr> 
<th class="diff-macro-title" style="background-color: transparent; text-align: left; font-weight: normal;padding: 5px;"><span class="diff-html-changed" id="changed-diff-10" style="background-color: #d6f0ff;"><span class="icon macro-placeholder-icon" style="background-color: ;line-height: 20px;"><img src="https://wiki.asterisk.org/wiki/s/en_GB/5639/a252d7f5e75d7a8bf7047b4b2c92f71a56a8f048.48/_/images/icons/macrobrowser/dropdown/noformat.png" style="padding-right: 5px; vertical-align: text-bottom;" /> </span>No Format</span></th> 
</tr> 
</thead> 
</table> <span class="diff-html-removed" id="removed-diff-12" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;"> </span> 
<table class="diff-macro" style="background-color: #f0f0f0;border: 1px solid #dddddd;margin: 10px 1px;padding: 0 2px 2px;width: 100%;; border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333"> 
<tbody> 
<tr> 
<td class="diff-macro-body" style="background-color: #fff;border: 1px solid #dddddd;padding: 10px;; padding: 0px; border-collapse: collapse"> <pre style="margin: 10px 0 0 0; margin-top: 0">
<span class="diff-html-changed" id="changed-diff-11" style="background-color: #d6f0ff;">Event: Newchannel
Privilege: call,all 
Channel: Zap/52-1 
State: Rsrvd 
CallerIDNum: 152 
CallerIDName: fxs.52 
Uniqueid: 1178801102.5 

Event: Newcallerid 
Privilege: call,all 
Channel: Zap/52-1 
CallerIDNum: 152 
CallerIDName: fxs.52 
Uniqueid: 1178801102.5 
CID-CallingPres: 0 (Presentation Allowed, Not Screened) 
Event: Newcallerid 
Privilege: call,all 
Channel: Zap/52-1 
CallerIDNum: 152 
CallerIDName: fxs.52 
Uniqueid: 1178801102.5 
CID-CallingPres: 0 (Presentation Allowed, Not Screened) 

Event: Newstate 
Privilege: call,all 
Channel: Zap/52-1 
State: Ring 
CallerIDNum: 152 
CallerIDName: fxs.52 
Uniqueid: 1178801102.5 
Event: Newexten 
Privilege: call,all 
Channel: Zap/52-1 
Context: extension 
Extension: 151 
Priority: 1 
Application: Set 
AppData: CDR(myvar)=zingo 
Uniqueid: 1178801102.5 
Event: Newexten 
Privilege: call,all 
Channel: Zap/52-1 
Context: extension 
Extension: 151 
Priority: 2 
Application: Dial 
AppData: Zap/51|30|TtWw 
Uniqueid: 1178801102.5 

Event: Newchannel 
Privilege: call,all 
Channel: Zap/51-1 
State: Rsrvd 
CallerIDNum: 151 
CallerIDName: fxs.51 
Uniqueid: 1178801108.6 
Event: Newstate 
Privilege: call,all 
Channel: Zap/51-1 
State: Ringing 
CallerIDNum: 152 
CallerIDName: fxs.52 
Uniqueid: 1178801108.6 

Event: Dial 
Privilege: call,all 
SubEvent: Begin 
Source: Zap/52-1 
Destination: Zap/51-1 
CallerIDNum: 152 
CallerIDName: fxs.52 
SrcUniqueID: 1178801102.5 
DestUniqueID: 1178801108.6 
Event: Newcallerid 
Privilege: call,all 
Channel: Zap/51-1 
CallerIDNum: 151 
CallerIDName: <Unknown> 
Uniqueid: 1178801108.6 
CID-CallingPres: 0 (Presentation Allowed, Not Screened) 

Event: Newstate 
Privilege: call,all 
Channel: Zap/52-1 
State: Ringing 
CallerIDNum: 152 
CallerIDName: fxs.52 
Uniqueid: 1178801102.5 
Event: Newstate 
Privilege: call,all 
Channel: Zap/51-1 
State: Up 
CallerIDNum: 151 
CallerIDName: <unknown> 
Uniqueid: 1178801108.6 
Event: Newstate 
Privilege: call,all 
Channel: Zap/52-1 
State: Up 
CallerIDNum: 152 
CallerIDName: fxs.52 
Uniqueid: 1178801102.5 

Event: Link 
Privilege: call,all 
Channel1: Zap/52-1 
Channel2: Zap/51-1 
Uniqueid1: 1178801102.5 
Uniqueid2: 1178801108.6 
CallerID1: 152 
CallerID2: 151 
Event: Unlink 
Privilege: call,all 
Channel1: Zap/52-1 
Channel2: Zap/51-1 
Uniqueid1: 1178801102.5 
Uniqueid2: 1178801108.6 
CallerID1: 152 
CallerID2: 151 

Event: Link 
Privilege: call,all 
Channel1: Zap/52-1 
Channel2: Zap/51-1 
Uniqueid1: 1178801102.5 
Uniqueid2: 1178801108.6 
CallerID1: 152 
CallerID2: 151 
Event: Unlink 
Privilege: call,all 
Channel1: Zap/52-1 
Channel2: Zap/51-1 
Uniqueid1: 1178801102.5 
Uniqueid2: 1178801108.6 
CallerID1: 152 
CallerID2: 151 

Event: ParkedCall 
Privilege: call,all 
Exten: 701 
Channel: Zap/51-1 
From: Zap/52-1 
Timeout: 45 
CallerIDNum: 151 
CallerIDName: <unknown> 
Event: Dial 
Privilege: call,all 
SubEvent: End 
Channel: Zap/52-1 
DialStatus: ANSWER 

Event: Newexten 
Privilege: call,all 
Channel: Zap/52-1 
Context: extension 
Extension: h 
Priority: 1 
Application: Goto 
AppData: label1 
Uniqueid: 1178801102.5 
Event: Newexten 
Privilege: call,all 
Channel: Zap/52-1 
Context: extension 
Extension: h 
Priority: 4 
Application: Goto 
AppData: label2 
Uniqueid: 1178801102.5 

Event: Newexten 
Privilege: call,all 
Channel: Zap/52-1 
Context: extension 
Extension: h 
Priority: 2 
Application: NoOp 
AppData: In Hangup! myvar is zingo and accountcode is billsec is 26 and duration is 40 and end is 2007-05-10 06:45:42. 
Uniqueid: 1178801102.5 
Event: Newexten 
Privilege: call,all 
Channel: Zap/52-1 
Context: extension 
Extension: h 
Priority: 3 
Application: Goto 
AppData: label3 
Uniqueid: 1178801102.5 

Event: Newexten 
Privilege: call,all 
Channel: Zap/52-1 
Context: extension 
Extension: h 
Priority: 5 
Application: NoOp 
AppData: More Hangup message after hopping around" 
Uniqueid: 1178801102.5 
Event: Hangup 
Privilege: call,all 
Channel: Zap/52-1 
Uniqueid: 1178801102.5 
Cause: 16 
Cause-txt: Normal Clearing 

Event: Newchannel 
Privilege: call,all 
Channel: Zap/50-1 
State: Rsrvd 
CallerIDNum: 150 
CallerIDName: fxs.50 
Uniqueid: 1178801162.7 
Event: Newcallerid 
Privilege: call,all 
Channel: Zap/50-1 
CallerIDNum: 150 
CallerIDName: fxs.50 
Uniqueid: 1178801162.7 
CID-CallingPres: 0 (Presentation Allowed, Not Screened) 

Event: Newcallerid 
Privilege: call,all 
Channel: Zap/50-1 
CallerIDNum: 150 
CallerIDName: fxs.50 
Uniqueid: 1178801162.7 
CID-CallingPres: 0 (Presentation Allowed, Not Screened) 
Event: Newstate 
Privilege: call,all 
Channel: Zap/50-1 
State: Ring 
CallerIDNum: 150 
CallerIDName: fxs.50 
Uniqueid: 1178801162.7 

Event: Newexten 
Privilege: call,all 
Channel: Zap/50-1 
Context: extension 
Extension: 701 
Priority: 1 
Application: ParkedCall
AppData: 701 
Uniqueid: 1178801162.7 
Event: UnParkedCall 
Privilege: call,all 
Exten: 701 
Channel: Zap/51-1 
From: Zap/50-1 
CallerIDNum: 151 
CallerIDName: <unknown> 
Event: Newstate 
Privilege: call,all 
Channel: Zap/50-1 
State: Up 
CallerIDNum: 150 
CallerIDName: fxs.50 
Uniqueid: 1178801162.7 

Event: Link 
Privilege: call,all 
Channel1: Zap/50-1 
Channel2: Zap/51-1 
Uniqueid1: 1178801162.7 
Uniqueid2: 1178801108.6 
CallerID1: 150 
CallerID2: 151 
Event: Newchannel 
Privilege: call,all 
Channel: Zap/51-2 
State: Rsrvd 
CallerIDNum: 151 
CallerIDName: fxs.51 
Uniqueid: 1178801218.8 

Event: Unlink 
Privilege: call,all 
Channel1: Zap/50-1 
Channel2: Zap/51-1 
Uniqueid1: 1178801162.7 
Uniqueid2: 1178801108.6 
CallerID1: 150 
CallerID2: 151 
Event: Link 
Privilege: call,all 
Channel1: Zap/50-1 
Channel2: Zap/51-1 
Uniqueid1: 1178801162.7 
Uniqueid2: 1178801108.6 
CallerID1: 150 
CallerID2: 151 

Event: Unlink 
Privilege: call,all 
Channel1: Zap/50-1 
Channel2: Zap/51-1 
Uniqueid1: 1178801162.7 
Uniqueid2: 1178801108.6 
CallerID1: 150 
CallerID2: 151 
Event: Link 
Privilege: call,all 
Channel1: Zap/50-1 
Channel2: Zap/51-1 
Uniqueid1: 1178801162.7 
Uniqueid2: 1178801108.6 
CallerID1: 150 
CallerID2: 151 
Event: Newcallerid 
Privilege: call,all 
Channel: Zap/51-2 
CallerIDNum: 151 
CallerIDName: fxs.51 
Uniqueid: 1178801218.8 
CID-CallingPres: 0 (Presentation Allowed, Not Screened) 

Event: Newcallerid 
Privilege: call,all 
Channel: Zap/51-2 
CallerIDNum: 151 
CallerIDName: fxs.51 
Uniqueid: 1178801218.8 
CID-CallingPres: 0 (Presentation Allowed, Not Screened) 
Event: Newstate 
Privilege: call,all 
Channel: Zap/51-2 
State: Ring 
CallerIDNum: 151 
CallerIDName: fxs.51 
Uniqueid: 1178801218.8 

Event: Newexten 
Privilege: call,all 
Channel: Zap/51-2 
Context: extension 
Extension: 152 
Priority: 1 
Application: Set 
AppData: CDR(myvar)=zingo 
Uniqueid: 1178801218.8 
Event: Newexten 
Privilege: call,all 
Channel: Zap/51-2 
Context: extension 
Extension: 152 
Priority: 2 
Application: Dial 
AppData: Zap/52|30|TtWw 
Uniqueid: 1178801218.8 

Event: Newchannel 
Privilege: call,all 
Channel: Zap/52-1 
State: Rsrvd 
CallerIDNum: 152 
CallerIDName: fxs.52 
Uniqueid: 1178801223.9 
Event: Newstate 
Privilege: call,all 
Channel: Zap/52-1 
State: Ringing 
CallerIDNum: 151 
CallerIDName: fxs.51 
Uniqueid: 1178801223.9 
Event: Dial 
Privilege: call,all 
SubEvent: Begin 
Source: Zap/51-2 
Destination: Zap/52-1 
CallerIDNum: 151 
CallerIDName: fxs.51 
SrcUniqueID: 1178801218.8 
DestUniqueID: 1178801223.9 

Event: Newcallerid 
Privilege: call,all 
Channel: Zap/52-1 
CallerIDNum: 152 
CallerIDName: <Unknown> 
Uniqueid: 1178801223.9 
CID-CallingPres: 0 (Presentation Allowed, Not Screened) 
Event: Newstate 
Privilege: call,all 
Channel: Zap/51-2 
State: Ringing 
CallerIDNum: 151 
CallerIDName: fxs.51 
Uniqueid: 1178801218.8 

Event: Newstate 
Privilege: call,all 
Channel: Zap/52-1 
State: Up 
CallerIDNum: 152 
CallerIDName: <unknown> 
Uniqueid: 1178801223.9 
Event: Newstate 
Privilege: call,all 
Channel: Zap/51-2 
State: Up 
CallerIDNum: 151 
CallerIDName: fxs.51 
Uniqueid: 1178801218.8 

Event: Link 
Privilege: call,all 
Channel1: Zap/51-2 
Channel2: Zap/52-1 
Uniqueid1: 1178801218.8 
Uniqueid2: 1178801223.9 
CallerID1: 151 
CallerID2: 152 
Event: Unlink 
Privilege: call,all 
Channel1: Zap/50-1 
Channel2: Zap/51-1 
Uniqueid1: 1178801162.7 
Uniqueid2: 1178801108.6 
CallerID1: 150 
CallerID2: 151 

Event: Link 
Privilege: call,all 
Channel1: Zap/50-1 
Channel2: Zap/51-1 
Uniqueid1: 1178801162.7 
Uniqueid2: 1178801108.6 
CallerID1: 150 
CallerID2: 151 
Event: Unlink 
Privilege: call,all 
Channel1: Zap/50-1 
Channel2: Zap/51-1 
Uniqueid1: 1178801162.7 
Uniqueid2: 1178801108.6 
CallerID1: 150 
CallerID2: 151 

Event: Link 
Privilege: call,all 
Channel1: Zap/50-1 
Channel2: Zap/51-1 
Uniqueid1: 1178801162.7 
Uniqueid2: 1178801108.6 
CallerID1: 150 
CallerID2: 151 
Event: Unlink 
Privilege: call,all 
Channel1: Zap/50-1 
Channel2: Zap/51-1 
Uniqueid1: 1178801162.7 
Uniqueid2: 1178801108.6 
CallerID1: 150 
CallerID2: 151 

Event: Hangup 
Privilege: call,all 
Channel: Zap/51-1 
Uniqueid: 1178801108.6 
Cause: 16 
Cause-txt: Normal 
Clearing 
Event: Newexten 
Privilege: call,all 
Channel: Zap/50-1 
Context: extension 
Extension: h 
Priority: 1 
Application: Goto 
AppData: label1 
Uniqueid: 1178801162.7
Event: Newexten 
Privilege: call,all 
Channel: Zap/50-1 
Context: extension 
Extension: h 
Priority: 4 
Application: Goto 
AppData: label2 
Uniqueid: 1178801162.7 

Event: Newexten 
Privilege: call,all 
Channel: Zap/50-1 
Context: extension 
Extension: h 
Priority: 2 
Application: NoOp 
AppData: In Hangup! myvar is and accountcode is billsec is 0 and duration is 0 and end is 2007-05-10 06:48:37. 
Uniqueid: 1178801162.7 
Event: Newexten 
Privilege: call,all 
Channel: Zap/50-1 
Context: extension 
Extension: h 
Priority: 3 
Application: Goto 
AppData: label3 
Uniqueid: 1178801162.7 

Event: Newexten
 Privilege: call,all 
Channel: Zap/50-1 
Context: extension 
Extension: h 
Priority: 5 
Application: NoOp 
AppData: More 
Hangup message after hopping around" 
Uniqueid: 1178801162.7 

Event: Masquerade 
Privilege: call,all 
Clone: Zap/50-1 
CloneState: Up 
Original: Zap/51-2 
OriginalState: Up 
Event: Rename 
Privilege: call,all 
Oldname: Zap/50-1 
Newname: Zap/50-1<MASQ> 
Uniqueid: 1178801162.7 

Event: Rename 
Privilege: call,all
 Oldname: Zap/51-2 
Newname: Zap/50-1 
Uniqueid: 1178801218.8 
Event: Rename 
Privilege: call,all 
Oldname: Zap/50-1<MASQ> 
Newname: Zap/51-2<ZOMBIE> 
Uniqueid: 1178801162.7 
Event: Hangup 
Privilege: call,all 
Channel: Zap/51-2<ZOMBIE>
 Uniqueid: 1178801162.7 
Cause: 0 
Cause-txt: Unknown 

Event: Unlink
Privilege: call,all 
Channel1: Zap/50-1 
Channel2: Zap/52-1 
Uniqueid1: 1178801218.8 
Uniqueid2: 1178801223.9 
CallerID1: 150 
CallerID2: 152 
Event: Hangup 
Privilege: call,all 
Channel: Zap/52-1 
Uniqueid: 1178801223.9 
Cause: 16 
Cause-txt: Normal Clearing 

Event: Dial 
Privilege: call,all 
SubEvent: End 
Channel: Zap/50-1 
DialStatus: ANSWER 
Event: Newexten 
Privilege: call,all 
Channel: Zap/50-1 
Context: extension 
Extension: h 
Priority: 1 
Application: Goto 
AppData: label1 
Uniqueid: 1178801218.8 

Event: Newexten 
Privilege: call,all 
Channel: Zap/50-1 
Context: extension 
Extension: h 
Priority: 4 
Application: Goto 
AppData: label2 
Uniqueid: 1178801218.8 
Event: Newexten 
Privilege: call,all 
Channel: Zap/50-1 
Context: extension 
Extension: h 
Priority: 2 
Application: NoOp 
AppData: In Hangup! myvar is and accountcode is billsec is 90 and duration is 94 and end is 2007-05-10 06:48:37. 
Uniqueid: 1178801218.8 

Event: Newexten 
Privilege: call,all 
Channel: Zap/50-1 
Context: extension 
Extension: h 
Priority: 3 
Application: Goto 
AppData: label3 
Uniqueid: 1178801218.8 
Event: Newexten 
Privilege: call,all 
Channel: Zap/50-1 
Context: extension 
Extension: h 
Priority: 5 
Application: NoOp 
AppData: More Hangup message after hopping around" 
Uniqueid: 1178801218.8 
Event: Hangup 
Privilege: call,all 
Channel: Zap/50-1 
Uniqueid: 1178801218.8 
Cause: 16 
Cause-txt: Normal Clearing
</span>
</pre> </td> 
</tr> 
</tbody> 
</table> </td> 
</tr> 
</tbody> 
</table> <p class="diff-block-context" style="margin: 10px 0 0 0">And, humorously enough, the above 80 manager events, or 42 CEL events, correspond to the following two CDR records (at the moment!):</p> 
<table class="diff-macro diff-block-target" style="background-color: #f0f0f0;border: 1px solid #dddddd;margin: 10px 1px;padding: 0 2px 2px;width: 100%;; border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333"> 
<thead> 
<tr> 
<th class="diff-macro-title" style="background-color: transparent; text-align: left; font-weight: normal;padding: 5px;"><span class="icon macro-placeholder-icon" style="background-color: ;line-height: 20px;"><img src="https://wiki.asterisk.org/wiki/s/en_GB/5639/a252d7f5e75d7a8bf7047b4b2c92f71a56a8f048.48/_/images/icons/macrobrowser/dropdown/noformat.png" style="padding-right: 5px; vertical-align: text-bottom;" /> </span>No Format</th> 
</tr> 
</thead> 
<tbody> 
<tr> 
<td class="diff-macro-body" style="background-color: #fff;border: 1px solid #dddddd;padding: 10px;; padding: 0px; border-collapse: collapse"> <pre style="margin: 10px 0 0 0; margin-top: 0">
<span class="diff-html-removed" id="removed-diff-13" style="font-size: 100%; background-color: #ffe7e7; text-decoration: line-through;">
</span>""fxs.52" 152","152","h","extension","Zap/52-1","Zap/51-1","NoOp","More Hangup message after hopping around"","2007-05-09 17:35:56","2007-05-09 17:36:20","2007-05-09 17:36:36","40","16","ANSWERED","DOCUMENTATION","","1178753756.0",""
""fxs.50" 150","150","152","extension","Zap/50-1","Zap/51-1","NoOp","More Hangup message after hopping around"","2007-05-09 17:37:59","2007-05-09 17:38:06","2007-05-09 17:39:11","72","65","ANSWERED","DOCUMENTATION","","1178753871.3",""
</pre> </td> 
</tr> 
</tbody> 
</table> </td> 
</tr> 
</tbody> 
</table> </td> 
</tr> 
<tr> 
<td class="email-content-main mobile-expand action-padding last-row-padding" style="padding: 0px; border-collapse: collapse; border-left: 1px solid #ccc; border-right: 1px solid #ccc; border-top: 0; border-bottom: 0; padding: 0 15px 15px 16px; background-color: #fff; padding-bottom: 10px; padding-bottom: 10px"> 
<table id="actions-pattern" cellspacing="0" cellpadding="0" border="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 1px"> 
<tbody> 
<tr> 
<td id="actions-pattern-container" valign="middle" style="padding: 0px; border-collapse: collapse; padding: 15px 0 0 24px; vertical-align: middle"> 
<table align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333"> 
<tbody> 
<tr> 
<td class="actions-pattern-action-icon-container" style="padding: 0px; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 0px; vertical-align: middle"><a href="https://wiki.asterisk.org/wiki/display/AST/CEL+Design+Goals?src=email" title="View page Icon" style="color: #3b73af; text-decoration: none"><img class="actions-pattern-action-icon-image" height="16" width="16" border="0" title="View page Icon" src="cid:com.atlassian.confluence.plugins.confluence-email-resources%3Aview-page-email-adg-footer-item%3Aicon" alt="View page Icon" style="vertical-align: middle" /></a></td>
<td class="actions-pattern-action-text-container" style="padding: 0px; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 4px; padding-left: 5px; white-space: nowrap"><a href="https://wiki.asterisk.org/wiki/display/AST/CEL+Design+Goals?src=email" title="View page" style="color: #3b73af; text-decoration: none">View page</a></td>
<td class="actions-pattern-action-bull" style="padding: 0px; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 4px; color: #999; padding: 0 5px">•</td> 
</tr> 
</tbody> 
</table> 
<table align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333"> 
<tbody> 
<tr> 
<td class="actions-pattern-action-icon-container" style="padding: 0px; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 0px; vertical-align: middle"><a href="https://wiki.asterisk.org/wiki/display/AST/CEL+Design+Goals?showComments=true&showCommentArea=true&src=email#addcomment" title="Add comment Icon" style="color: #3b73af; text-decoration: none"><img class="actions-pattern-action-icon-image" height="16" width="16" border="0" title="Add comment Icon" src="cid:com.atlassian.confluence.plugins.confluence-email-resources%3Aadd-comment-to-content-email-adg-footer-item%3Aicon" alt="Add comment Icon" style="vertical-align: middle" /></a></td>
<td class="actions-pattern-action-text-container" style="padding: 0px; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 4px; padding-left: 5px; white-space: nowrap"><a href="https://wiki.asterisk.org/wiki/display/AST/CEL+Design+Goals?showComments=true&showCommentArea=true&src=email#addcomment" title="Add comment" style="color: #3b73af; text-decoration: none">Add comment</a></td>
<td class="actions-pattern-action-bull" style="padding: 0px; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 4px; color: #999; padding: 0 5px">•</td> 
</tr> 
</tbody> 
</table> 
<table style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333"> 
<tbody> 
<tr> 
<td class="actions-pattern-action-icon-container" style="padding: 0px; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 0px; vertical-align: middle"><a href="https://wiki.asterisk.org/wiki/plugins/likes/like.action?contentId=5242935&src=email" title="Like Icon" style="color: #3b73af; text-decoration: none"><img class="actions-pattern-action-icon-image" height="16" width="16" border="0" title="Like Icon" src="cid:com.atlassian.confluence.plugins.confluence-like%3Aview-email-adg-content-item%3Aicon" alt="Like Icon" style="vertical-align: middle" /></a></td>
<td class="actions-pattern-action-text-container" style="padding: 0px; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; mso-line-height-rule: exactly; mso-text-raise: 4px; padding-left: 5px; white-space: nowrap"><a href="https://wiki.asterisk.org/wiki/plugins/likes/like.action?contentId=5242935&src=email" title="Like" style="color: #3b73af; text-decoration: none">Like</a></td> 
</tr> 
</tbody> 
</table> </td> 
</tr> 
</tbody> 
</table> </td> 
</tr> 
<tr> 
<td class="email-content-rounded-bottom mobile-expand" style="padding: 0px; border-collapse: collapse; color: #fff; height: 5px; line-height: 5px; padding: 0 15px 0 16px; background-color: #fff; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; border-top: 0; border-left: 1px solid #ccc; border-bottom: 1px solid #ccc; border-right: 1px solid #ccc; mso-line-height-rule: exactly"> </td> 
</tr> 
</tbody> 
</table> </td> 
</tr> 
<tr> 
<td id="footer-pattern" style="padding: 0px; border-collapse: collapse; padding: 12px 20px"> 
<table id="footer-pattern-container" cellspacing="0" cellpadding="0" border="0" width="100%" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333"> 
<tbody> 
<tr> 
<td id="footer-pattern-links-container" width="100%" style="padding: 0px; border-collapse: collapse; color: #999; font-size: 12px; line-height: 18px; font-family: Arial, sans-serif; mso-line-height-rule: exactly; mso-text-raise: 2px"> 
<table align="left" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333; font-size: 12px; line-height: 18px; font-family: Arial, sans-serif; mso-line-height-rule: exactly; mso-text-raise: 2px"> 
<tbody> 
<tr> 
<td class="footer-pattern-links mobile-resize-text" style="padding: 0px; border-collapse: collapse"><a href="https://wiki.asterisk.org/wiki/users/removespacenotification.action?spaceKey=AST&src=email" title="" style="color: #3b73af; text-decoration: none">Stop watching space</a></td>
<td class="footer-pattern-links-bull" style="padding: 0px; border-collapse: collapse; padding: 0 5px; color: #999">•</td> 
</tr> 
</tbody> 
</table> 
<table style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333; font-size: 12px; line-height: 18px; font-family: Arial, sans-serif; mso-line-height-rule: exactly; mso-text-raise: 2px"> 
<tbody> 
<tr> 
<td class="footer-pattern-links mobile-resize-text" style="padding: 0px; border-collapse: collapse"><a href="https://wiki.asterisk.org/wiki/users/editmyemailsettings.action?src=email" title="" style="color: #3b73af; text-decoration: none">Manage notifications</a></td> 
</tr> 
</tbody> 
</table> </td> 
</tr> 
<tr> 
<td id="footer-pattern-text" class="mobile-resize-text" width="100%" style="padding: 0px; border-collapse: collapse; color: #999; font-size: 12px; line-height: 18px; font-family: Arial, sans-serif; mso-line-height-rule: exactly; mso-text-raise: 2px; display: none">This message was sent by Atlassian Confluence 5.6.6</td> 
</tr> 
</tbody> 
</table> </td> 
</tr> 
</tbody> 
</table> 
<table id="sealed-section" border="0" cellpadding="0" cellspacing="0" width="0" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; color: #333; display: none"> 
<tbody> 
<tr> 
<td style="padding: 0px; border-collapse: collapse; border: 0; font-size: 0px; line-height: 0; mso-line-height-rule: exactly"></td> 
</tr> 
</tbody> 
</table>
</body>
</html>