<!-- 
RSS generated by JIRA (8.13.3#813003-sha1:22ebedbb75c99b147c66f14e031dd8a2d214753a) at Sat Feb 10 07:14:20 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-120] A small Bug in &apos;astpp.callingcard.functions.lua&apos;</title>
                <link>https://jira.astppbilling.org/browse/ASTPPCOM-120</link>
                <project id="10608" key="ASTPPCOM">ASTPP Community</project>
                    <description>&lt;p&gt;line 374----------&lt;br/&gt;
`if (calleridinfo ~= nil) then&lt;br/&gt;
                    if (calleridinfo&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;cid_name&amp;#39;&amp;#93;&lt;/span&gt; ~= &apos;&apos;)  then&lt;br/&gt;
                        session:execute(&quot;set&quot;, &quot;origination_caller_id_name=&quot;..calleridinfo&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;cid_name&amp;#39;&amp;#93;&lt;/span&gt;);    &lt;br/&gt;
                    end&lt;br/&gt;
                    if (calleridinfo&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;cid_number&amp;#39;&amp;#93;&lt;/span&gt; ~= &apos;&apos;)  then&lt;br/&gt;
                        session:execute(&quot;set&quot;, &quot;origination_caller_id_number=&quot;..calleridinfo&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;cid_number&amp;#39;&amp;#93;&lt;/span&gt;);      &lt;br/&gt;
                    end&lt;br/&gt;
                end`&lt;/p&gt;

&lt;p&gt;there no &apos;cid_name&apos; and &apos;cid_number&apos; fields in the database&lt;br/&gt;
the correct fields is &apos;callerid_name&apos; and &apos;callerid_number&apos; in &apos;accounts_callerid&apos; table&lt;/p&gt;</description>
                <environment></environment>
        <key id="11940">ASTPPCOM-120</key>
            <summary>A small Bug in &apos;astpp.callingcard.functions.lua&apos;</summary>
                <type id="10201" iconUrl="https://jira.astppbilling.org/secure/viewavatar?size=xsmall&amp;avatarId=10700&amp;avatarType=issuetype">New Feature</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="10101">Declined</resolution>
                                        <assignee username="samir.doshi">Samir Doshi</assignee>
                                    <reporter username="QQ110902">stopro</reporter>
                        <labels>
                            <label>bug_confirmed</label>
                            <label>new_bug</label>
                    </labels>
                <created>Wed, 28 Sep 2016 20:26:09 +0530</created>
                <updated>Sun, 27 Oct 2019 15:50:17 +0530</updated>
                            <resolved>Tue, 1 Nov 2016 16:29:17 +0530</resolved>
                                                    <fixVersion>v3.1</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                <comments>
                            <comment id="12701" author="dev-astpp" created="Thu, 29 Sep 2016 09:10:42 +0530"  >&lt;p&gt;We will fix this issue soon.&lt;/p&gt;</comment>
                            <comment id="12702" author="smrdoshi" created="Fri, 30 Sep 2016 13:40:05 +0530"  >&lt;p&gt;These are the variables which are getting value from other file and method. It doesn&apos;t have to do anything with database field. &lt;/p&gt;</comment>
                            <comment id="12703" author="qq110902" created="Sun, 2 Oct 2016 08:49:33 +0530"  >&lt;p&gt;&lt;tt&gt;calleridinfo = get_override_callerid(userinfo)&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;`function get_override_callerid(userinfo)&lt;br/&gt;
    local callerid&lt;br/&gt;
    local query  = &quot;SELECT * FROM &quot;..TBL_ACCOUNTS_CALLERID..&quot; WHERE accountid = &quot;..userinfo&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;id&amp;#39;&amp;#93;&lt;/span&gt;..&quot; AND status=0 LIMIT 1&quot;;    &lt;br/&gt;
    Logger.debug(&quot;&lt;span class=&quot;error&quot;&gt;&amp;#91;GET_OVERRIDE_CALLERID&amp;#93;&lt;/span&gt; Query :&quot; .. query)&lt;br/&gt;
    assert (dbh:query(query, function(u)&lt;br/&gt;
        callerid = u&lt;br/&gt;
    end))    &lt;br/&gt;
    return callerid&lt;br/&gt;
end`&lt;/p&gt;</comment>
                            <comment id="12704" author="smrdoshi" created="Wed, 5 Oct 2016 15:26:51 +0530"  >&lt;p&gt;Once calleridinfo get the value, it is extract the values from array and pushing into cid_name and cid_number with some conditions. &lt;/p&gt;</comment>
                            <comment id="12705" author="qq110902" created="Fri, 7 Oct 2016 19:39:59 +0530"  >&lt;p&gt;Please look carefully at the code.&lt;/p&gt;

&lt;p&gt; calleridinfo get value from function get_override_callerid, this function just query the database. and return recordset callerid from table TBL_ACCOUNTS_CALLERID  to array calleridinfo.&lt;/p&gt;

&lt;p&gt;this bug occur a error to set a callerid to customer. have a try pls.&lt;/p&gt;</comment>
                            <comment id="12706" author="dedayoa" created="Sat, 29 Oct 2016 13:26:20 +0530"  >&lt;p&gt;This bug needs to be resolved all the way from the front end.&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;On &quot;Force caller ID&quot; overlay edit, why is &quot;caller ID name&quot; compulsory, when it is a &quot;Yes|No&quot; field at the higher level. I think the 2.0 implementation was better, where it was not a compulsory field.&lt;/li&gt;
	&lt;li&gt;I assume selecting &quot;enable: Yes&quot; means &quot;force caller ID&quot;...but this breaks the call raising the lua error reported.&lt;/li&gt;
	&lt;li&gt;calls only go through if &quot;enable&quot; is &quot;NO&quot;, but then caller IDs are not forced. Rather the &quot;caller ID caller name&quot; and &quot;caller ID caller number&quot; on the SIP device is what is sent - and this can be edited by the customer.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Meaning forcing caller ID does not presently work.&lt;/p&gt;</comment>
                            <comment id="12707" author="dedayoa" created="Tue, 1 Nov 2016 16:29:17 +0530"  >&lt;p&gt;Thanks for the fixes &lt;span class=&quot;error&quot;&gt;&amp;#91;~smrdoshi&amp;#93;&lt;/span&gt;&lt;br/&gt;
Happy new month!&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>120</customfieldvalue>

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

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