Asterisk Queue - Revision history http://wiki.ljackson.us/index.php?title=Asterisk_Queue&action=history Revision history for this page on the wiki en MediaWiki 1.7.1 Fri, 29 Mar 2024 09:26:24 GMT Ljackson: /* Dynamic Members Macros */ http://wiki.ljackson.us/index.php?title=Asterisk_Queue&diff=2397&oldid=prev <p><span class="autocomment">Dynamic Members Macros</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 20:51, 17 May 2007</td> </tr> <tr><td colspan="2" align="left"><strong>Line 18:</strong></td> <td colspan="2" align="left"><strong>Line 18:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">Add the appropriate macro for your needs and version of asterisk into your macros configuration file.</td><td> </td><td style="background: #eee; font-size: smaller;">Add the appropriate macro for your needs and version of asterisk into your macros configuration file.</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">* '''Important:''' Ensure that your context for internal calls is the same as '''from-internal''' if not you will have to change this.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">=== Dynamically Manage Agents/Members and log Time-In-Queue (Asterisk 1.4) ===</td><td> </td><td style="background: #eee; font-size: smaller;">=== Dynamically Manage Agents/Members and log Time-In-Queue (Asterisk 1.4) ===</td></tr> </table> Thu, 17 May 2007 20:51:08 GMT Ljackson http://wiki.ljackson.us/Talk:Asterisk_Queue Ljackson: /* Dynamically Manage Agents/Members and log Time-In-Queue (Asterisk 1.2) */ http://wiki.ljackson.us/index.php?title=Asterisk_Queue&diff=2396&oldid=prev <p><span class="autocomment">Dynamically Manage Agents/Members and log Time-In-Queue (Asterisk 1.2)</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 14:00, 17 May 2007</td> </tr> <tr><td colspan="2" align="left"><strong>Line 56:</strong></td> <td colspan="2" align="left"><strong>Line 56:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">Adds or removes a dynamic member to the queue based on called ID information and logs the time in queue in seconds to /var/log/asterisk/queue_log.</td><td> </td><td style="background: #eee; font-size: smaller;">Adds or removes a dynamic member to the queue based on called ID information and logs the time in queue in seconds to /var/log/asterisk/queue_log.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">* Requires Queue_Log patch see [[#Queue Log|Queue Log]]</td><td>+</td><td style="background: #cfc; font-size: smaller;">* Requires Queue_Log patch see [[#Queue Log <span style="color: red; font-weight: bold;">Function</span>|Queue Log <span style="color: red; font-weight: bold;">Function</span>]]</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">&lt;pre&gt;</td><td> </td><td style="background: #eee; font-size: smaller;">&lt;pre&gt;</td></tr> </table> Thu, 17 May 2007 14:00:22 GMT Ljackson http://wiki.ljackson.us/Talk:Asterisk_Queue Ljackson: /* Dynamically Manage Agents/Members and log Time-In-Queue (Asterisk 1.2) */ http://wiki.ljackson.us/index.php?title=Asterisk_Queue&diff=2395&oldid=prev <p><span class="autocomment">Dynamically Manage Agents/Members and log Time-In-Queue (Asterisk 1.2)</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 13:59, 17 May 2007</td> </tr> <tr><td colspan="2" align="left"><strong>Line 56:</strong></td> <td colspan="2" align="left"><strong>Line 56:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">Adds or removes a dynamic member to the queue based on called ID information and logs the time in queue in seconds to /var/log/asterisk/queue_log.</td><td> </td><td style="background: #eee; font-size: smaller;">Adds or removes a dynamic member to the queue based on called ID information and logs the time in queue in seconds to /var/log/asterisk/queue_log.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">* Requires Queue_Log patch see [[#Queue Log Queue Log]]</td><td>+</td><td style="background: #cfc; font-size: smaller;">* Requires Queue_Log patch see [[#Queue Log<span style="color: red; font-weight: bold;">|</span>Queue Log]]</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">&lt;pre&gt;</td><td> </td><td style="background: #eee; font-size: smaller;">&lt;pre&gt;</td></tr> </table> Thu, 17 May 2007 13:59:56 GMT Ljackson http://wiki.ljackson.us/Talk:Asterisk_Queue Ljackson: /* Dynamically Manage Agents/Members and log Time-In-Queue (Asterisk 1.2) */ http://wiki.ljackson.us/index.php?title=Asterisk_Queue&diff=2394&oldid=prev <p><span class="autocomment">Dynamically Manage Agents/Members and log Time-In-Queue (Asterisk 1.2)</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 13:59, 17 May 2007</td> </tr> <tr><td colspan="2" align="left"><strong>Line 56:</strong></td> <td colspan="2" align="left"><strong>Line 56:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">Adds or removes a dynamic member to the queue based on called ID information and logs the time in queue in seconds to /var/log/asterisk/queue_log.</td><td> </td><td style="background: #eee; font-size: smaller;">Adds or removes a dynamic member to the queue based on called ID information and logs the time in queue in seconds to /var/log/asterisk/queue_log.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">* Requires Queue_Log patch see [[Queue Log]]</td><td>+</td><td style="background: #cfc; font-size: smaller;">* Requires Queue_Log patch see [[<span style="color: red; font-weight: bold;">#Queue Log </span>Queue Log]]</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">&lt;pre&gt;</td><td> </td><td style="background: #eee; font-size: smaller;">&lt;pre&gt;</td></tr> </table> Thu, 17 May 2007 13:59:48 GMT Ljackson http://wiki.ljackson.us/Talk:Asterisk_Queue Ljackson: /* Dynamically Manage Agents/Members and log Time-In-Queue (Asterisk 1.2) */ http://wiki.ljackson.us/index.php?title=Asterisk_Queue&diff=2393&oldid=prev <p><span class="autocomment">Dynamically Manage Agents/Members and log Time-In-Queue (Asterisk 1.2)</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 13:59, 17 May 2007</td> </tr> <tr><td colspan="2" align="left"><strong>Line 55:</strong></td> <td colspan="2" align="left"><strong>Line 55:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">Adds or removes a dynamic member to the queue based on called ID information and logs the time in queue in seconds to /var/log/asterisk/queue_log.</td><td> </td><td style="background: #eee; font-size: smaller;">Adds or removes a dynamic member to the queue based on called ID information and logs the time in queue in seconds to /var/log/asterisk/queue_log.</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">* Requires Queue_Log patch see [[Queue Log]]</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">&lt;pre&gt;</td><td> </td><td style="background: #eee; font-size: smaller;">&lt;pre&gt;</td></tr> </table> Thu, 17 May 2007 13:59:14 GMT Ljackson http://wiki.ljackson.us/Talk:Asterisk_Queue Ljackson: /* Dynamically Manage Agents/Members (Asterisk 1.2) */ http://wiki.ljackson.us/index.php?title=Asterisk_Queue&diff=2392&oldid=prev <p><span class="autocomment">Dynamically Manage Agents/Members (Asterisk 1.2)</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 13:49, 17 May 2007</td> </tr> <tr><td colspan="2" align="left"><strong>Line 122:</strong></td> <td colspan="2" align="left"><strong>Line 122:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">exten =&gt; s,2,Macro(user-callerid)</td><td> </td><td style="background: #eee; font-size: smaller;">exten =&gt; s,2,Macro(user-callerid)</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">exten =&gt; s,3,Set(CALLBACKNUM=${CALLERID(number)})</td><td> </td><td style="background: #eee; font-size: smaller;">exten =&gt; s,3,Set(CALLBACKNUM=${CALLERID(number)})</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">exten =&gt; s,4,GotoIf($[&quot;${CALLBACKNUM}&quot; = &quot;&quot;]?<span style="color: red; font-weight: bold;">116</span>)) ; if no number, jump to fail.</td><td>+</td><td style="background: #cfc; font-size: smaller;">exten =&gt; s,4,GotoIf($[&quot;${CALLBACKNUM}&quot; = &quot;&quot;]?<span style="color: red; font-weight: bold;">111</span>)) ; if no number, jump to fail.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">exten =&gt; s,5,AddQueueMember(${ARG1}|Local/${CALLBACKNUM}@from-internal/n) ; using chan_local allows us to have agents over trunks</td><td> </td><td style="background: #eee; font-size: smaller;">exten =&gt; s,5,AddQueueMember(${ARG1}|Local/${CALLBACKNUM}@from-internal/n) ; using chan_local allows us to have agents over trunks</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">exten =&gt; s,6,UserEvent(Agentlogin|Agent: ${CALLBACKNUM})</td><td> </td><td style="background: #eee; font-size: smaller;">exten =&gt; s,6,UserEvent(Agentlogin|Agent: ${CALLBACKNUM})</td></tr> </table> Thu, 17 May 2007 13:49:02 GMT Ljackson http://wiki.ljackson.us/Talk:Asterisk_Queue Ljackson: /* Dynamically Manage Agents/Members (Asterisk 1.4) */ http://wiki.ljackson.us/index.php?title=Asterisk_Queue&diff=2391&oldid=prev <p><span class="autocomment">Dynamically Manage Agents/Members (Asterisk 1.4)</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 13:48, 17 May 2007</td> </tr> <tr><td colspan="2" align="left"><strong>Line 96:</strong></td> <td colspan="2" align="left"><strong>Line 96:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">exten =&gt; s,2,Macro(user-callerid)</td><td> </td><td style="background: #eee; font-size: smaller;">exten =&gt; s,2,Macro(user-callerid)</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">exten =&gt; s,3,Set(CALLBACKNUM=${CALLERID(number)})</td><td> </td><td style="background: #eee; font-size: smaller;">exten =&gt; s,3,Set(CALLBACKNUM=${CALLERID(number)})</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">exten =&gt; s,4,GotoIf($[&quot;${CALLBACKNUM}&quot; = &quot;&quot;]?<span style="color: red; font-weight: bold;">116</span>)) ; if no number, jump to fail.</td><td>+</td><td style="background: #cfc; font-size: smaller;">exten =&gt; s,4,GotoIf($[&quot;${CALLBACKNUM}&quot; = &quot;&quot;]?<span style="color: red; font-weight: bold;">111</span>)) ; if no number, jump to fail.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">exten =&gt; s,5,AddQueueMember(${ARG1}|Local/${CALLBACKNUM}@from-internal/n||j) ; using chan_local allows us to have agents over trunks</td><td> </td><td style="background: #eee; font-size: smaller;">exten =&gt; s,5,AddQueueMember(${ARG1}|Local/${CALLBACKNUM}@from-internal/n||j) ; using chan_local allows us to have agents over trunks</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">exten =&gt; s,6,UserEvent(Agentlogin|Agent: ${CALLBACKNUM})</td><td> </td><td style="background: #eee; font-size: smaller;">exten =&gt; s,6,UserEvent(Agentlogin|Agent: ${CALLBACKNUM})</td></tr> </table> Thu, 17 May 2007 13:48:54 GMT Ljackson http://wiki.ljackson.us/Talk:Asterisk_Queue Ljackson: /* Dynamically Manage Agents/Members and log Time-In-Queue (Asterisk 1.2) */ http://wiki.ljackson.us/index.php?title=Asterisk_Queue&diff=2390&oldid=prev <p><span class="autocomment">Dynamically Manage Agents/Members and log Time-In-Queue (Asterisk 1.2)</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 05:26, 17 May 2007</td> </tr> <tr><td colspan="2" align="left"><strong>Line 54:</strong></td> <td colspan="2" align="left"><strong>Line 54:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">=== Dynamically Manage Agents/Members and log Time-In-Queue (Asterisk 1.2) ===</td><td> </td><td style="background: #eee; font-size: smaller;">=== Dynamically Manage Agents/Members and log Time-In-Queue (Asterisk 1.2) ===</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Adds or removes a dynamic member to the queue and logs the time in queue in seconds to /var/log/asterisk/queue_log.</td><td>+</td><td style="background: #cfc; font-size: smaller;">Adds or removes a dynamic member to the queue <span style="color: red; font-weight: bold;">based on called ID information </span>and logs the time in queue in seconds to /var/log/asterisk/queue_log.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">&lt;pre&gt;</td><td> </td><td style="background: #eee; font-size: smaller;">&lt;pre&gt;</td></tr> </table> Thu, 17 May 2007 05:26:31 GMT Ljackson http://wiki.ljackson.us/Talk:Asterisk_Queue Ljackson: /* Dynamically Manage Agents/Members and log Time-In-Queue (Asterisk 1.4) */ http://wiki.ljackson.us/index.php?title=Asterisk_Queue&diff=2389&oldid=prev <p><span class="autocomment">Dynamically Manage Agents/Members and log Time-In-Queue (Asterisk 1.4)</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 05:26, 17 May 2007</td> </tr> <tr><td colspan="2" align="left"><strong>Line 21:</strong></td> <td colspan="2" align="left"><strong>Line 21:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">=== Dynamically Manage Agents/Members and log Time-In-Queue (Asterisk 1.4) ===</td><td> </td><td style="background: #eee; font-size: smaller;">=== Dynamically Manage Agents/Members and log Time-In-Queue (Asterisk 1.4) ===</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Adds or removes a dynamic member to the queue and logs the time in queue in seconds to /var/log/asterisk/queue_log.</td><td>+</td><td style="background: #cfc; font-size: smaller;">Adds or removes a dynamic member to the queue <span style="color: red; font-weight: bold;">based on called ID information </span>and logs the time in queue in seconds to /var/log/asterisk/queue_log.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">&lt;pre&gt;</td><td> </td><td style="background: #eee; font-size: smaller;">&lt;pre&gt;</td></tr> </table> Thu, 17 May 2007 05:26:09 GMT Ljackson http://wiki.ljackson.us/Talk:Asterisk_Queue Ljackson: /* Dynamically Manage Agents/Members (Asterisk 1.2) */ http://wiki.ljackson.us/index.php?title=Asterisk_Queue&diff=2388&oldid=prev <p><span class="autocomment">Dynamically Manage Agents/Members (Asterisk 1.2)</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 05:25, 17 May 2007</td> </tr> <tr><td colspan="2" align="left"><strong>Line 113:</strong></td> <td colspan="2" align="left"><strong>Line 113:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">=== Dynamically Manage Agents/Members (Asterisk 1.2) ===</td><td> </td><td style="background: #eee; font-size: smaller;">=== Dynamically Manage Agents/Members (Asterisk 1.2) ===</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Adds or removes a dynamic member to the queue.</td><td>+</td><td style="background: #cfc; font-size: smaller;">Adds or removes a dynamic member to the queue <span style="color: red; font-weight: bold;">based on called ID information</span>.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">&lt;pre&gt;</td><td> </td><td style="background: #eee; font-size: smaller;">&lt;pre&gt;</td></tr> </table> Thu, 17 May 2007 05:25:37 GMT Ljackson http://wiki.ljackson.us/Talk:Asterisk_Queue