<!-- 
RSS generated by JIRA (8.13.3#813003-sha1:22ebedbb75c99b147c66f14e031dd8a2d214753a) at Sat Feb 10 07:15:58 CET 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Jira</title>
    <link>https://jira.astppbilling.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.13.3</version>
        <build-number>813003</build-number>
        <build-date>14-01-2021</build-date>
    </build-info>


<item>
            <title>[ASTPPCOM-306] Max Channels Used Report (Overlap Counts).</title>
                <link>https://jira.astppbilling.org/browse/ASTPPCOM-306</link>
                <project id="10608" key="ASTPPCOM">ASTPP Community</project>
                    <description>&lt;p&gt;Not sure it will work with &amp;lt; 3.0&lt;br/&gt;
But here is a SQL statement that will count call channel overlaps (number of paths in use at one time) by an account. This is ALL channels, IN/OUT it could be modified to show individuals counts as well.&lt;/p&gt;

&lt;p&gt;In order for it to work efficiently, you need to make sure an index on created on callstart and end_stamp. Note: If you database is LARGE it could talk a LONG LONG time for it to index the first time. &lt;/p&gt;

&lt;p&gt;SELECT group_concat(v2.accountid) as Overlaps, count(v2.accountid)+1 as OverlapCount, v1.accountid, v1.callstart, v2.accountid, least(v1.end_stamp,v2.end_stamp) AS end_stamp, v1.uniqueid, v2.uniqueid &lt;br/&gt;
FROM cdrs v1&lt;br/&gt;
JOIN cdrs v2 ON v1.uniqueid &amp;lt;&amp;gt; v2.uniqueid and v1.callstart &amp;gt;= v2.callstart and v1.callstart &amp;lt; v2.end_stamp  and v1.accountid = v2.accountid &lt;/p&gt;

&lt;p&gt;group by v1.accountid,&lt;br/&gt;
DATE_FORMAT(&lt;br/&gt;
        v1.callstart,&apos;%Y-%m-%d&apos;),&lt;br/&gt;
        DATE_FORMAT(&lt;br/&gt;
         v1.end_stamp,&apos;%Y-%m-%d&apos;)&lt;/p&gt;

&lt;p&gt;ORDER BY v1.accountid, v1.callstart; &lt;/p&gt;


&lt;p&gt;This shows counts by Date. &lt;br/&gt;
&apos;%Y-%m-%d %H&apos;) - will show by date/hour&lt;br/&gt;
 &apos;%Y-%m-%d %H&apos;) - will show by date/hour/minute if you need go that granular&lt;/p&gt;</description>
                <environment></environment>
        <key id="12126">ASTPPCOM-306</key>
            <summary>Max Channels Used Report (Overlap Counts).</summary>
                <type id="10000" iconUrl="https://jira.astppbilling.org/secure/viewavatar?size=xsmall&amp;avatarId=10318&amp;avatarType=issuetype">Task</type>
                                                <status id="10001" iconUrl="https://jira.astppbilling.org/images/icons/status_generic.gif" description="">Done</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="countrdd">countrdd</reporter>
                        <labels>
                    </labels>
                <created>Fri, 5 Jan 2018 19:22:23 +0530</created>
                <updated>Sat, 24 Feb 2018 15:03:12 +0530</updated>
                            <resolved>Sat, 24 Feb 2018 15:03:12 +0530</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                <comments>
                            <comment id="13143" author="countrdd" created="Sun, 7 Jan 2018 16:23:04 +0530"  >&lt;p&gt;The other option is to write the DID, AccountID, TYPE and data and time to when a LIMIT is hit. This may be a better more efficient reporting option&lt;/p&gt;</comment>
                            <comment id="13144" author="smrdoshi" created="Fri, 2 Feb 2018 11:59:28 +0530"  >&lt;p&gt;Hi &lt;span class=&quot;error&quot;&gt;&amp;#91;~countrdd&amp;#93;&lt;/span&gt; &lt;/p&gt;

&lt;p&gt;Can you please explain bit more about this report? &lt;br/&gt;
What is the use of it? &lt;/p&gt;</comment>
                            <comment id="13145" author="countrdd" created="Thu, 15 Feb 2018 17:44:10 +0530"  >&lt;p&gt;To see how many active channles an acount has at a give time.&lt;br/&gt;
Would be very handy for upselling channels to customers.&lt;/p&gt;

</comment>
                            <comment id="13146" author="devangn" created="Sat, 24 Feb 2018 15:03:11 +0530"  >&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;~countrdd&amp;#93;&lt;/span&gt; You can control CC per customer but not have GUI feature to see exact CC at any moment.&lt;br/&gt;
However you can use live call report.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10703" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>306</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10006" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i00aiv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>