<!-- 
RSS generated by JIRA (8.13.3#813003-sha1:22ebedbb75c99b147c66f14e031dd8a2d214753a) at Sat Feb 10 07:17:11 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-443] Free Calls don&apos;t work without balance</title>
                <link>https://jira.astppbilling.org/browse/ASTPPCOM-443</link>
                <project id="10608" key="ASTPPCOM">ASTPP Community</project>
                    <description>&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;I have some packages of free calls.&lt;br/&gt;
If the customer balance is 0, the free calls don&apos;t work.&lt;br/&gt;
If the customer balance is 0.10, and the cost for minute is 0.10, the call will drop after one minute.&lt;/p&gt;

&lt;p&gt;The correct is free calls work with balance 0, if the minutes are consumed and customer don&apos;t have balance, drop the call, if the minutes are consumed and customer have balance, debit from balance the rest o call.&lt;/p&gt;</description>
                <environment></environment>
        <key id="12263">ASTPPCOM-443</key>
            <summary>Free Calls don&apos;t work without balance</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="leandronvoip">leandronvoip</reporter>
                        <labels>
                    </labels>
                <created>Wed, 20 Jun 2018 18:12:24 +0530</created>
                <updated>Wed, 9 Oct 2019 16:23:38 +0530</updated>
                            <resolved>Tue, 13 Nov 2018 04:55:12 +0530</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                <comments>
                            <comment id="13387" author="devangn" created="Wed, 27 Jun 2018 12:06:40 +0530"  >&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;~leandronvoip&amp;#93;&lt;/span&gt; &lt;/p&gt;

&lt;p&gt;Account has 0 balance and having origination rate = 0.50 for prefix in rate group of that account&lt;br/&gt;
free package is applied to that rate group&lt;br/&gt;
This call will work.&lt;/p&gt;</comment>
                            <comment id="13388" author="leandronvoip" created="Thu, 28 Jun 2018 02:20:14 +0530"  >&lt;p&gt;But don&apos;t are working. If balance are 0, free calls don&apos;t complete.&lt;/p&gt;

&lt;p&gt;Um abra&#231;o,&lt;br/&gt;
	Leandro Campos   &lt;br/&gt;
	CEO   &lt;br/&gt;
	(11) 4118-6267   &lt;br/&gt;
	 leandro.campos@nvoip.com.br     (&lt;a href=&quot;https://www.nvoip.com.br&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.nvoip.com.br&lt;/a&gt;)  (&lt;a href=&quot;https://www.linkedin.com/in/leandro-campos/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.linkedin.com/in/leandro-campos/&lt;/a&gt;)   &lt;br/&gt;
27 de junho de 2018 03:37, &quot;Devang Nathwani&quot; &amp;lt;notifications@github.com (&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;mailto:notifications@github.com?to=%22Devang%20Nathwani%22%20&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;notifications@github.com?to=%22Devang%20Nathwani%22%20&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.astppbilling.org/images/icons/mail_small.gif&quot; height=&quot;12&quot; width=&quot;13&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&amp;lt;notifications@github.com&amp;gt;)&amp;gt; escreveu:&lt;br/&gt;
	&lt;span class=&quot;error&quot;&gt;&amp;#91;~leandronvoip&amp;#93;&lt;/span&gt; (&lt;a href=&quot;https://github.com/leandronvoip&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/leandronvoip&lt;/a&gt;) &lt;/p&gt;

&lt;p&gt;	Account has 0 balance and having origination rate = 0.50 for prefix in rate group of that account&lt;br/&gt;
free package is applied to that rate group&lt;br/&gt;
This call will work. &lt;/p&gt;

&lt;p&gt;	&#8212;&lt;br/&gt;
You are receiving this because you were mentioned.&lt;br/&gt;
Reply to this email directly, view it on GitHub (&lt;a href=&quot;https://github.com/iNextrix/ASTPP/issues/443#issuecomment-400559313&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/iNextrix/ASTPP/issues/443#issuecomment-400559313&lt;/a&gt;), or mute the thread (&lt;a href=&quot;https://github.com/notifications/unsubscribe-auth/AmjraEz8cmrlDPWhY0jn2xRpMsSvUXkQks5uAyf6gaJpZM4UvMi6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/notifications/unsubscribe-auth/AmjraEz8cmrlDPWhY0jn2xRpMsSvUXkQks5uAyf6gaJpZM4UvMi6&lt;/a&gt;).&lt;/p&gt;</comment>
                            <comment id="13389" author="devangn" created="Mon, 2 Jul 2018 16:42:53 +0530"  >&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;~leandronvoip&amp;#93;&lt;/span&gt; Share the whole call fs_cli log with debug level and share the pastebin link please.&lt;/p&gt;</comment>
                            <comment id="13390" author="leandronvoip" created="Thu, 5 Jul 2018 04:44:58 +0530"  >&lt;p&gt;2018-07-04 20:08:49.528948 &lt;span class=&quot;error&quot;&gt;&amp;#91;DEBUG&amp;#93;&lt;/span&gt; sofia.c:7084 Channel sofia/default/&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;DOMAIN&amp;#93;&lt;/span&gt; entering state &lt;span class=&quot;error&quot;&gt;&amp;#91;received&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;100&amp;#93;&lt;/span&gt;&lt;br/&gt;
2018-07-04 20:08:49.528948 &lt;span class=&quot;error&quot;&gt;&amp;#91;DEBUG&amp;#93;&lt;/span&gt; sofia.c:7094 Remote SDP:&lt;br/&gt;
v=0&lt;br/&gt;
o=- 3739723729 3739723729 IN IP4 192.168.15.173&lt;br/&gt;
s=pjmedia&lt;br/&gt;
b=AS:84&lt;br/&gt;
t=0 0&lt;br/&gt;
a=X-nat:0&lt;br/&gt;
m=audio 4020 RTP/AVP 8 0 9 101&lt;br/&gt;
c=IN IP4 192.168.15.173&lt;br/&gt;
b=TIAS:64000&lt;br/&gt;
a=rtpmap:8 PCMA/8000&lt;br/&gt;
a=rtpmap:0 PCMU/8000&lt;br/&gt;
a=rtpmap:9 G722/8000&lt;br/&gt;
a=rtpmap:101 telephone-event/8000&lt;br/&gt;
a=fmtp:101 0-16&lt;br/&gt;
a=rtcp:4021 IN IP4 192.168.15.173&lt;/p&gt;

&lt;p&gt;2018-07-04 20:08:49.528948 &lt;span class=&quot;error&quot;&gt;&amp;#91;DEBUG&amp;#93;&lt;/span&gt; sofia.c:7480 (sofia/default/&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;DOMAIN&amp;#93;&lt;/span&gt;) State Change CS_NEW -&amp;gt; CS_INIT&lt;br/&gt;
2018-07-04 20:08:49.528948 &lt;span class=&quot;error&quot;&gt;&amp;#91;DEBUG&amp;#93;&lt;/span&gt; switch_core_state_machine.c:584 (sofia/default/&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;DOMAIN&amp;#93;&lt;/span&gt;) Running State Change CS_INIT (Cur 1 Tot 66104)&lt;br/&gt;
2018-07-04 20:08:49.528948 &lt;span class=&quot;error&quot;&gt;&amp;#91;DEBUG&amp;#93;&lt;/span&gt; switch_core_state_machine.c:627 (sofia/default/&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;DOMAIN&amp;#93;&lt;/span&gt;) State INIT&lt;br/&gt;
2018-07-04 20:08:49.528948 &lt;span class=&quot;error&quot;&gt;&amp;#91;DEBUG&amp;#93;&lt;/span&gt; mod_sofia.c:90 sofia/default/&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;DOMAIN&amp;#93;&lt;/span&gt; SOFIA INIT&lt;br/&gt;
2018-07-04 20:08:49.528948 &lt;span class=&quot;error&quot;&gt;&amp;#91;DEBUG&amp;#93;&lt;/span&gt; switch_core_state_machine.c:40 sofia/default/&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;DOMAIN&amp;#93;&lt;/span&gt; Standard INIT&lt;br/&gt;
2018-07-04 20:08:49.528948 &lt;span class=&quot;error&quot;&gt;&amp;#91;DEBUG&amp;#93;&lt;/span&gt; switch_core_state_machine.c:48 (sofia/default/&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;DOMAIN&amp;#93;&lt;/span&gt;) State Change CS_INIT -&amp;gt; CS_ROUTING&lt;br/&gt;
2018-07-04 20:08:49.528948 &lt;span class=&quot;error&quot;&gt;&amp;#91;DEBUG&amp;#93;&lt;/span&gt; switch_core_state_machine.c:627 (sofia/default/&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;DOMAIN&amp;#93;&lt;/span&gt;) State INIT going to sleep&lt;br/&gt;
2018-07-04 20:08:49.528948 &lt;span class=&quot;error&quot;&gt;&amp;#91;DEBUG&amp;#93;&lt;/span&gt; switch_core_state_machine.c:584 (sofia/default/&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;DOMAIN&amp;#93;&lt;/span&gt;) Running State Change CS_ROUTING (Cur 1 Tot 66104)&lt;br/&gt;
2018-07-04 20:08:49.528948 &lt;span class=&quot;error&quot;&gt;&amp;#91;DEBUG&amp;#93;&lt;/span&gt; switch_channel.c:2249 (sofia/default/&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;DOMAIN&amp;#93;&lt;/span&gt;) Callstate Change DOWN -&amp;gt; RINGING&lt;br/&gt;
2018-07-04 20:08:49.528948 &lt;span class=&quot;error&quot;&gt;&amp;#91;DEBUG&amp;#93;&lt;/span&gt; switch_core_state_machine.c:643 (sofia/default/&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;DOMAIN&amp;#93;&lt;/span&gt;) State ROUTING&lt;br/&gt;
2018-07-04 20:08:49.528948 &lt;span class=&quot;error&quot;&gt;&amp;#91;DEBUG&amp;#93;&lt;/span&gt; mod_sofia.c:143 sofia/default/&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;DOMAIN&amp;#93;&lt;/span&gt; SOFIA ROUTING&lt;br/&gt;
2018-07-04 20:08:49.528948 &lt;span class=&quot;error&quot;&gt;&amp;#91;DEBUG&amp;#93;&lt;/span&gt; switch_core_state_machine.c:236 sofia/default/&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;DOMAIN&amp;#93;&lt;/span&gt; Standard ROUTING&lt;br/&gt;
2018-07-04 20:08:49.528948 &lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; mod_dialplan_xml.c:637 Processing &lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt; &amp;lt;&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;&amp;gt;-&amp;gt;553230835409 in context default&lt;br/&gt;
2018-07-04 20:08:49.538953 &lt;span class=&quot;error&quot;&gt;&amp;#91;DEBUG&amp;#93;&lt;/span&gt; freeswitch_lua.cpp:365 DBH handle 0x7fcbc043c870 Connected.&lt;br/&gt;
2018-07-04 20:08:49.538953 &lt;span class=&quot;error&quot;&gt;&amp;#91;DEBUG&amp;#93;&lt;/span&gt; switch_cpp.cpp:1365 &lt;span class=&quot;error&quot;&gt;&amp;#91;ASTPP&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;LOAD_CONF&amp;#93;&lt;/span&gt; Query :SELECT name,value FROM system WHERE group_title IN (&apos;global&apos;,&apos;opensips&apos;,&apos;callingcard&apos;)&lt;br/&gt;
2018-07-04 20:08:49.548947 &lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; switch_cpp.cpp:1365 &lt;span class=&quot;error&quot;&gt;&amp;#91;ASTPP&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;Dialplan&amp;#93;&lt;/span&gt; Dialed number : 553230835409&lt;br/&gt;
2018-07-04 20:08:49.548947 &lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; switch_cpp.cpp:1365 &lt;span class=&quot;error&quot;&gt;&amp;#91;ASTPP&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;Dialplan&amp;#93;&lt;/span&gt; Caller Id name / number  : 3235123700 / 3235123700&lt;br/&gt;
2018-07-04 20:08:49.548947 &lt;span class=&quot;error&quot;&gt;&amp;#91;DEBUG&amp;#93;&lt;/span&gt; switch_cpp.cpp:1365 &lt;span class=&quot;error&quot;&gt;&amp;#91;ASTPP&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;CHECK_DID&amp;#93;&lt;/span&gt; Query :SELECT A.id as id,B.id as accountid,B.number as account_code,B.did_cid_translation as did_cid_translation,A.number as  did_number,A.connectcost,A.includedseconds,A.cost,A.inc,A.extensions,A.maxchannels,A.call_type,A.city,A.province,A.init_inc,A.leg_timeout FROM dids AS A,accounts AS B WHERE A.status=0 AND B.status=0 AND B.deleted=0 AND B.id=A.accountid AND A.number =&quot;553230835409&quot; LIMIT 1&lt;br/&gt;
2018-07-04 20:08:49.548947 &lt;span class=&quot;error&quot;&gt;&amp;#91;DEBUG&amp;#93;&lt;/span&gt; switch_cpp.cpp:1365 &lt;span class=&quot;error&quot;&gt;&amp;#91;ASTPP&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;CHECK_LOCAL_CALL&amp;#93;&lt;/span&gt; Query :SELECT sip_devices.username as username,accounts.number as accountcode,sip_devices.accountid as accountid,accounts.did_cid_translation as did_cid_translation FROM sip_devices as sip_devices,accounts as  accounts WHERE accounts.status=0 AND accounts.deleted=0 AND accounts.id=sip_devices.accountid AND sip_devices.username=&quot;553230835409&quot; limit 1&lt;br/&gt;
2018-07-04 20:08:49.548947 &lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; switch_cpp.cpp:1365 &lt;span class=&quot;error&quot;&gt;&amp;#91;ASTPP&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;Dialplan&amp;#93;&lt;/span&gt; Call direction : outbound&lt;br/&gt;
2018-07-04 20:08:49.548947 &lt;span class=&quot;error&quot;&gt;&amp;#91;NOTICE&amp;#93;&lt;/span&gt; switch_cpp.cpp:1365 &lt;span class=&quot;error&quot;&gt;&amp;#91;ASTPP&amp;#93;&lt;/span&gt; [Accountcode : &lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;]&lt;br/&gt;
2018-07-04 20:08:49.548947 &lt;span class=&quot;error&quot;&gt;&amp;#91;DEBUG&amp;#93;&lt;/span&gt; switch_cpp.cpp:1365 &lt;span class=&quot;error&quot;&gt;&amp;#91;ASTPP&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;DOAUTHORIZATION&amp;#93;&lt;/span&gt; Query :SELECT * FROM accounts WHERE (number = &quot;&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;&quot; OR id=&quot;&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;&quot;) AND status=0 AND deleted=0 AND (expiry &amp;gt;= &apos;2018-07-04 23:08:49&apos; OR expiry = &apos;0000-00-00 00:00:00&apos;) limit 1&lt;br/&gt;
2018-07-04 20:08:49.559411 &lt;span class=&quot;error&quot;&gt;&amp;#91;DEBUG&amp;#93;&lt;/span&gt; switch_cpp.cpp:1365 &lt;span class=&quot;error&quot;&gt;&amp;#91;ASTPP&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;CHECK_BLOCKED_PREFIX&amp;#93;&lt;/span&gt; Query :SELECT * FROM block_patterns WHERE (blocked_patterns =&apos;^553230835409.&lt;b&gt;&apos; OR blocked_patterns =&apos;^55323083540.&lt;em&gt;&apos; OR blocked_patterns =&apos;^5532308354.&lt;/em&gt;&apos; OR blocked_patterns =&apos;^553230835.&lt;/b&gt;&apos; OR blocked_patterns =&apos;^55323083.&lt;em&gt;&apos; OR blocked_patterns =&apos;^5532308.&lt;/em&gt;&apos; OR blocked_patterns =&apos;^553230.&lt;b&gt;&apos; OR blocked_patterns =&apos;^55323.&lt;em&gt;&apos; OR blocked_patterns =&apos;^5532.&lt;/em&gt;&apos; OR blocked_patterns =&apos;^553.&lt;/b&gt;&apos; OR blocked_patterns =&apos;^55.&lt;em&gt;&apos; OR blocked_patterns =&apos;^5.&lt;/em&gt;&apos; OR blocked_patterns =&apos;--&apos;) AND accountid = 11 limit 1&lt;br/&gt;
2018-07-04 20:08:49.559411 &lt;span class=&quot;error&quot;&gt;&amp;#91;DEBUG&amp;#93;&lt;/span&gt; switch_cpp.cpp:1365 &lt;span class=&quot;error&quot;&gt;&amp;#91;ASTPP&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;GET_PACKAGE_INFO&amp;#93;&lt;/span&gt; Query :SELECT * FROM packages  as P inner join package_patterns as PKGPTR on P.id = PKGPTR.package_id WHERE (patterns =&apos;^553230835409.&lt;b&gt;&apos; OR patterns =&apos;^55323083540.&lt;/b&gt;&apos; OR patterns =&apos;^5532308354.&lt;b&gt;&apos; OR patterns =&apos;^553230835.&lt;/b&gt;&apos; OR patterns =&apos;^55323083.&lt;b&gt;&apos; OR patterns =&apos;^5532308.&lt;/b&gt;&apos; OR patterns =&apos;^553230.&lt;b&gt;&apos; OR patterns =&apos;^55323.&lt;/b&gt;&apos; OR patterns =&apos;^5532.&lt;b&gt;&apos; OR patterns =&apos;^553.&lt;/b&gt;&apos; OR patterns =&apos;^55.&lt;b&gt;&apos; OR patterns =&apos;^5.&lt;/b&gt;&apos; OR patterns =&apos;--&apos;) AND status = 0 AND pricelist_id = 13 ORDER BY LENGTH(PKGPTR.patterns) DESC LIMIT 1&lt;br/&gt;
2018-07-04 20:08:49.559411 &lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; switch_cpp.cpp:1365 &lt;span class=&quot;error&quot;&gt;&amp;#91;ASTPP&amp;#93;&lt;/span&gt; Pack Type : 0 Call Direction : outbound &lt;span class=&quot;error&quot;&gt;&amp;#91;0:outbound,1:inbound,2:both&amp;#93;&lt;/span&gt;&lt;br/&gt;
2018-07-04 20:08:49.559411 &lt;span class=&quot;error&quot;&gt;&amp;#91;DEBUG&amp;#93;&lt;/span&gt; switch_cpp.cpp:1365 &lt;span class=&quot;error&quot;&gt;&amp;#91;ASTPP&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;GET_COUNTER_INFO&amp;#93;&lt;/span&gt; Query :SELECT seconds FROM counters  WHERE  accountid = 11 AND package_id = 6 AND status=1 LIMIT 1&lt;br/&gt;
2018-07-04 20:08:49.559411 &lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; switch_cpp.cpp:1365 &lt;span class=&quot;error&quot;&gt;&amp;#91;ASTPP&amp;#93;&lt;/span&gt; Remaining Sec : 12000&lt;br/&gt;
2018-07-04 20:08:49.559411 &lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; switch_cpp.cpp:1365 &lt;span class=&quot;error&quot;&gt;&amp;#91;ASTPP&amp;#93;&lt;/span&gt; =============== Account Information ===================&lt;br/&gt;
2018-07-04 20:08:49.559411 &lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; switch_cpp.cpp:1365 &lt;span class=&quot;error&quot;&gt;&amp;#91;ASTPP&amp;#93;&lt;/span&gt; User id : 11&lt;br/&gt;
2018-07-04 20:08:49.559411 &lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; switch_cpp.cpp:1365 &lt;span class=&quot;error&quot;&gt;&amp;#91;ASTPP&amp;#93;&lt;/span&gt; Account code : &lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;&lt;br/&gt;
2018-07-04 20:08:49.559411 &lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; switch_cpp.cpp:1365 &lt;span class=&quot;error&quot;&gt;&amp;#91;ASTPP&amp;#93;&lt;/span&gt; Balance : 0.0002&lt;br/&gt;
2018-07-04 20:08:49.559411 &lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; switch_cpp.cpp:1365 &lt;span class=&quot;error&quot;&gt;&amp;#91;ASTPP&amp;#93;&lt;/span&gt; Type : 0 &lt;span class=&quot;error&quot;&gt;&amp;#91;0:prepaid,1:postpaid&amp;#93;&lt;/span&gt;&lt;br/&gt;
2018-07-04 20:08:49.559411 &lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; switch_cpp.cpp:1365 &lt;span class=&quot;error&quot;&gt;&amp;#91;ASTPP&amp;#93;&lt;/span&gt; Ratecard id : 13&lt;br/&gt;
2018-07-04 20:08:49.559411 &lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; switch_cpp.cpp:1365 &lt;span class=&quot;error&quot;&gt;&amp;#91;ASTPP&amp;#93;&lt;/span&gt; ========================================================&lt;br/&gt;
2018-07-04 20:08:49.559411 &lt;span class=&quot;error&quot;&gt;&amp;#91;DEBUG&amp;#93;&lt;/span&gt; switch_cpp.cpp:1365 &lt;span class=&quot;error&quot;&gt;&amp;#91;ASTPP&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;GET_PRICELIST_INFO&amp;#93;&lt;/span&gt; Query :select * from pricelists WHERE id = 13 AND status = 0&lt;br/&gt;
2018-07-04 20:08:49.559411 &lt;span class=&quot;error&quot;&gt;&amp;#91;DEBUG&amp;#93;&lt;/span&gt; switch_cpp.cpp:1365 &lt;span class=&quot;error&quot;&gt;&amp;#91;ASTPP&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;GET_RATES&amp;#93;&lt;/span&gt; Query :SELECT _ FROM routes WHERE (pattern =&apos;^553230835409.&lt;em&gt;&apos; OR pattern =&apos;^55323083540.&lt;/em&gt;&apos; OR pattern =&apos;^5532308354.&lt;em&gt;&apos; OR pattern =&apos;^553230835.&lt;/em&gt;&apos; OR pattern =&apos;^55323083.&lt;em&gt;&apos; OR pattern =&apos;^5532308.&lt;/em&gt;&apos; OR pattern =&apos;^553230.&lt;em&gt;&apos; OR pattern =&apos;^55323.&lt;/em&gt;&apos; OR pattern =&apos;^5532.&lt;em&gt;&apos; OR pattern =&apos;^553.&lt;/em&gt;&apos; OR pattern =&apos;^55._&apos; OR pattern =&apos;^5.*&apos; OR pattern =&apos;--&apos;) AND status = 0 AND pricelist_id = 13  ORDER BY LENGTH(pattern) DESC,cost DESC LIMIT 1&lt;br/&gt;
2018-07-04 20:08:49.559411 &lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; switch_cpp.cpp:1365 &lt;span class=&quot;error&quot;&gt;&amp;#91;ASTPP&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;FIND_MAXLENGTH&amp;#93;&lt;/span&gt; Your balance is not sufficent to dial 553230835409 !!!&lt;br/&gt;
2018-07-04 20:08:49.559411 &lt;span class=&quot;error&quot;&gt;&amp;#91;DEBUG&amp;#93;&lt;/span&gt; switch_cpp.cpp:1365 &lt;span class=&quot;error&quot;&gt;&amp;#91;ASTPP&amp;#93;&lt;/span&gt; Generated XML:&lt;br/&gt;
&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&amp;gt;&lt;br/&gt;
&amp;lt;document type=&quot;freeswitch/xml&quot;&amp;gt;&lt;br/&gt;
&amp;lt;section name=&quot;dialplan&quot; description=&quot;ASTPP Dialplan&quot;&amp;gt;&lt;br/&gt;
&amp;lt;context name=&quot;default&quot;&amp;gt;&lt;br/&gt;
&amp;lt;extension name=&quot;553230835409&quot;&amp;gt;&lt;br/&gt;
&amp;lt;condition field=&quot;destination_number&quot; expression=&quot;553230835409&quot;&amp;gt;&lt;br/&gt;
&amp;lt;action application=&quot;log&quot; data=&quot;WARNING Accountcode &lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt; doesn&apos;t have sufficiant fund!!&quot;/&amp;gt;&lt;br/&gt;
&amp;lt;action application=&quot;playback&quot; data=&quot;/usr/local/freeswitch/sounds/en/us/callie/astpp-not-enough-credit.wav&quot;/&amp;gt;&lt;br/&gt;
&amp;lt;action application=&quot;set&quot; data=&quot;original_caller_id_name=3235123700&quot;/&amp;gt;&lt;br/&gt;
&amp;lt;action application=&quot;set&quot; data=&quot;original_caller_id_number=3235123700&quot;/&amp;gt;&lt;br/&gt;
&amp;lt;action application=&quot;set&quot; data=&quot;error_cdr=1&quot;/&amp;gt;&lt;br/&gt;
&amp;lt;action application=&quot;set&quot; data=&quot;callstart=2018-07-04 23:08:49&quot;/&amp;gt;&lt;br/&gt;
&amp;lt;action application=&quot;set&quot; data=&quot;account_id=11&quot;/&amp;gt;&lt;br/&gt;
&amp;lt;action application=&quot;set&quot; data=&quot;call_direction=outbound&quot;/&amp;gt;&lt;br/&gt;
&amp;lt;action application=&quot;set&quot; data=&quot;sip_ignore_remote_cause=true&quot;/&amp;gt;&lt;br/&gt;
&amp;lt;action application=&quot;set&quot; data=&quot;call_processed=internal&quot;/&amp;gt;&lt;br/&gt;
&amp;lt;action application=&quot;set&quot; data=&quot;effective_destination_number=553230835409&quot;/&amp;gt;&lt;br/&gt;
&amp;lt;action application=&quot;set&quot; data=&quot;last_bridge_hangup_cause=NO_SUFFICIENT_FUND&quot;/&amp;gt;&lt;br/&gt;
&amp;lt;action application=&quot;hangup&quot; data=&quot;NO_SUFFICIENT_FUND&quot;/&amp;gt;&lt;br/&gt;
&amp;lt;/condition&amp;gt;&lt;br/&gt;
&amp;lt;/extension&amp;gt;&lt;br/&gt;
&amp;lt;/context&amp;gt;&lt;br/&gt;
&amp;lt;/section&amp;gt;&lt;br/&gt;
&amp;lt;/document&amp;gt;&lt;br/&gt;
2018-07-04 20:08:49.559411 &lt;span class=&quot;error&quot;&gt;&amp;#91;DEBUG&amp;#93;&lt;/span&gt; freeswitch_lua.cpp:382 DBH handle 0x7fcbc043c870 released.&lt;br/&gt;
Dialplan: sofia/default/&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;DOMAIN&amp;#93;&lt;/span&gt; parsing &lt;span class=&quot;error&quot;&gt;&amp;#91;default-&amp;gt;553230835409&amp;#93;&lt;/span&gt; continue=false&lt;br/&gt;
Dialplan: sofia/default/&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;DOMAIN&amp;#93;&lt;/span&gt; Regex (PASS) &lt;span class=&quot;error&quot;&gt;&amp;#91;553230835409&amp;#93;&lt;/span&gt; destination_number(553230835409) =~ /553230835409/ break=on-false&lt;br/&gt;
Dialplan: sofia/default/&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;DOMAIN&amp;#93;&lt;/span&gt; Action log(WARNING Accountcode &lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt; doesn&apos;t have sufficiant fund!!)&lt;br/&gt;
Dialplan: sofia/default/&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;DOMAIN&amp;#93;&lt;/span&gt; Action playback(/usr/local/freeswitch/sounds/en/us/callie/astpp-not-enough-credit.wav)&lt;br/&gt;
Dialplan: sofia/default/&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;DOMAIN&amp;#93;&lt;/span&gt; Action set(original_caller_id_name=3235123700)&lt;br/&gt;
Dialplan: sofia/default/&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;DOMAIN&amp;#93;&lt;/span&gt; Action set(original_caller_id_number=3235123700)&lt;br/&gt;
Dialplan: sofia/default/&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;DOMAIN&amp;#93;&lt;/span&gt; Action set(error_cdr=1)&lt;br/&gt;
Dialplan: sofia/default/&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;DOMAIN&amp;#93;&lt;/span&gt; Action set(callstart=2018-07-04 23:08:49)&lt;br/&gt;
Dialplan: sofia/default/&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;DOMAIN&amp;#93;&lt;/span&gt; Action set(account_id=11)&lt;br/&gt;
Dialplan: sofia/default/&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;DOMAIN&amp;#93;&lt;/span&gt; Action set(call_direction=outbound)&lt;br/&gt;
Dialplan: sofia/default/&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;DOMAIN&amp;#93;&lt;/span&gt; Action set(sip_ignore_remote_cause=true)&lt;br/&gt;
Dialplan: sofia/default/&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;DOMAIN&amp;#93;&lt;/span&gt; Action set(call_processed=internal)&lt;br/&gt;
Dialplan: sofia/default/&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;DOMAIN&amp;#93;&lt;/span&gt; Action set(effective_destination_number=553230835409)&lt;br/&gt;
Dialplan: sofia/default/&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;DOMAIN&amp;#93;&lt;/span&gt; Action set(last_bridge_hangup_cause=NO_SUFFICIENT_FUND)&lt;br/&gt;
Dialplan: sofia/default/&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;DOMAIN&amp;#93;&lt;/span&gt; Action hangup(NO_SUFFICIENT_FUND)&lt;br/&gt;
2018-07-04 20:08:49.559411 &lt;span class=&quot;error&quot;&gt;&amp;#91;DEBUG&amp;#93;&lt;/span&gt; switch_core_state_machine.c:286 (sofia/default/&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;DOMAIN&amp;#93;&lt;/span&gt;) State Change CS_ROUTING -&amp;gt; CS_EXECUTE&lt;br/&gt;
2018-07-04 20:08:49.559411 &lt;span class=&quot;error&quot;&gt;&amp;#91;DEBUG&amp;#93;&lt;/span&gt; switch_core_state_machine.c:643 (sofia/default/&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;DOMAIN&amp;#93;&lt;/span&gt;) State ROUTING going to sleep&lt;br/&gt;
2018-07-04 20:08:49.559411 &lt;span class=&quot;error&quot;&gt;&amp;#91;DEBUG&amp;#93;&lt;/span&gt; switch_core_state_machine.c:584 (sofia/default/&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;DOMAIN&amp;#93;&lt;/span&gt;) Running State Change CS_EXECUTE (Cur 1 Tot 66104)&lt;br/&gt;
2018-07-04 20:08:49.559411 &lt;span class=&quot;error&quot;&gt;&amp;#91;DEBUG&amp;#93;&lt;/span&gt; switch_core_state_machine.c:650 (sofia/default/&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;DOMAIN&amp;#93;&lt;/span&gt;) State EXECUTE&lt;br/&gt;
2018-07-04 20:08:49.559411 &lt;span class=&quot;error&quot;&gt;&amp;#91;DEBUG&amp;#93;&lt;/span&gt; mod_sofia.c:198 sofia/default/&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;DOMAIN&amp;#93;&lt;/span&gt; SOFIA EXECUTE&lt;br/&gt;
2018-07-04 20:08:49.559411 &lt;span class=&quot;error&quot;&gt;&amp;#91;DEBUG&amp;#93;&lt;/span&gt; switch_core_state_machine.c:328 sofia/default/&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;DOMAIN&amp;#93;&lt;/span&gt; Standard EXECUTE&lt;br/&gt;
EXECUTE sofia/default/&lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;DOMAIN&amp;#93;&lt;/span&gt; log(WARNING Accountcode &lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt; doesn&apos;t have sufficiant fund!!)&lt;br/&gt;
2018-07-04 20:08:49.559411 &lt;span class=&quot;error&quot;&gt;&amp;#91;WARNING&amp;#93;&lt;/span&gt; mod_dptools.c:1742 Accountcode &lt;span class=&quot;error&quot;&gt;&amp;#91;ACCOUNT&amp;#93;&lt;/span&gt; doesn&apos;t have sufficiant fund!!&lt;/p&gt;</comment>
                            <comment id="13391" author="leandronvoip" created="Thu, 5 Jul 2018 04:50:02 +0530"  >&lt;p&gt;If I put credit suficient to make the call, on CDR shows free call and don`t debit on balance. But are working only If I has balance.&lt;/p&gt;
</comment>
                            <comment id="13392" author="smrdoshi" created="Thu, 12 Jul 2018 12:57:39 +0530"  >&lt;p&gt;I just tried same thing in my local system and call worked without balance. &lt;/p&gt;

&lt;p&gt;My call log : &lt;a href=&quot;https://pastebin.freeswitch.org/view/6d31ea1d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://pastebin.freeswitch.org/view/6d31ea1d&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Make sure you are running latest version of 3.6. &lt;/p&gt;</comment>
                            <comment id="13393" author="leandronvoip" created="Fri, 13 Jul 2018 00:38:27 +0530"  >&lt;p&gt;Check this line of your pastebin:&lt;/p&gt;

&lt;p&gt;2018-07-12 12:53:46.069113 &lt;span class=&quot;error&quot;&gt;&amp;#91;NOTICE&amp;#93;&lt;/span&gt; switch_cpp.cpp:1376 &lt;span class=&quot;error&quot;&gt;&amp;#91;ASTPP&amp;#93;&lt;/span&gt; Allocating static balance for package calls, Balance : 100, Credit limit : 200&lt;/p&gt;

&lt;p&gt;You have Balance: 100&lt;/p&gt;

&lt;p&gt;Put prepaid account and balance: 0 and try make a free call.&lt;/p&gt;</comment>
                            <comment id="13394" author="smrdoshi" created="Mon, 16 Jul 2018 19:19:41 +0530"  >&lt;p&gt;2018-07-12 12:53:46.069113 &lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; switch_cpp.cpp:1376 &lt;span class=&quot;error&quot;&gt;&amp;#91;ASTPP&amp;#93;&lt;/span&gt; Remaining Sec : 50000&lt;br/&gt;
2018-07-12 12:53:46.069113 &lt;span class=&quot;error&quot;&gt;&amp;#91;NOTICE&amp;#93;&lt;/span&gt; switch_cpp.cpp:1376 &lt;span class=&quot;error&quot;&gt;&amp;#91;ASTPP&amp;#93;&lt;/span&gt; Actual Balance : 0&lt;br/&gt;
2018-07-12 12:53:46.069113 &lt;span class=&quot;error&quot;&gt;&amp;#91;NOTICE&amp;#93;&lt;/span&gt; switch_cpp.cpp:1376 &lt;span class=&quot;error&quot;&gt;&amp;#91;ASTPP&amp;#93;&lt;/span&gt; Allocating static balance for package calls, Balance : 100, Credit limit : 200&lt;/p&gt;

&lt;p&gt;Check account balance is 0 and then system is allocating static balance as this is package call. &lt;/p&gt;</comment>
                            <comment id="13395" author="leandronvoip" created="Wed, 1 Aug 2018 23:14:19 +0530"  >&lt;p&gt;Hi.&lt;/p&gt;

&lt;p&gt;I test with a new account and works fine. Old accounts don&apos;t are working. Is possible the remaining seconds free don&apos;t are reset?&lt;/p&gt;</comment>
                            <comment id="13396" author="leandronvoip" created="Thu, 2 Aug 2018 23:57:03 +0530"  >&lt;p&gt;Hi.&lt;/p&gt;

&lt;p&gt;I found the error.&lt;/p&gt;

&lt;p&gt;If I use the translation number on account profile, the call don&apos;t complete. If I remove ,works fine.&lt;/p&gt;

&lt;p&gt;You can try?&lt;/p&gt;</comment>
                            <comment id="13397" author="leandronvoip" created="Fri, 3 Aug 2018 00:03:09 +0530"  >&lt;p&gt;Another problem: Only new accounts are making free calls. Old accounts don&apos;t make free calls if don&apos;t have balance. Something are change in lasts commits on accounts?&lt;/p&gt;</comment>
                            <comment id="13398" author="leandronvoip" created="Fri, 3 Aug 2018 00:15:15 +0530"  >&lt;p&gt;Another issue detected: If account has some balance, the call don&apos;t complete. Example: Put 0.01 (less a minimum call) and test.&lt;/p&gt;</comment>
                            <comment id="13399" author="leandronvoip" created="Wed, 19 Sep 2018 15:24:03 +0530"  >&lt;p&gt;Your test my last comment? New accounts with 0 balance the free call works, but if you add 0.01 of balance, the call don&#8217;t work.&lt;/p&gt;</comment>
                            <comment id="13400" author="leandronvoip" created="Tue, 13 Nov 2018 04:55:12 +0530"  >&lt;p&gt;Hi. I am testing here and found new errors:&lt;/p&gt;

&lt;p&gt;This cenario:&lt;/p&gt;

&lt;p&gt;I have 120 seconds of free calls.&lt;/p&gt;

&lt;p&gt;I make a call and now i have only 3 seconds.&lt;br/&gt;
All calls start and drop, without count any seconds. I stay with only 3 seconds for calls.&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>443</customfieldvalue>

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

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