<!-- 
RSS generated by JIRA (8.13.3#813003-sha1:22ebedbb75c99b147c66f14e031dd8a2d214753a) at Sat Feb 10 07:14:08 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-97] continue_on_fail=true fake A-leg hangup cause</title>
                <link>https://jira.astppbilling.org/browse/ASTPPCOM-97</link>
                <project id="10608" key="ASTPPCOM">ASTPP Community</project>
                    <description>&lt;p&gt;scenario:&lt;/p&gt;

&lt;p&gt;FS/1 &amp;lt;&lt;del&gt;&amp;gt; ASTPP &amp;lt;&lt;/del&gt;&amp;gt; FS/2&lt;/p&gt;

&lt;p&gt;A call hangup UNALLOCATED_NUMBER from FS/2&lt;br/&gt;
ASTPP get UNALLOCATED_NUMBER and FS/1 CDR get NORMAL_CLEARING.&lt;/p&gt;

&lt;p&gt;i found 3 solutions&lt;br/&gt;
  1) disable &lt;b&gt;continue_on_fail&lt;/b&gt; putting on gateway variables &lt;b&gt;continue_on_fail=false&lt;/b&gt; (this don&apos;t allow work fail over system astpp)&lt;br/&gt;
  2) use continue_on_fail with specific hangup cause for failover&lt;br/&gt;
  3) add to &lt;b&gt;freeswitch/scrips/astpp/scripts/astpp.xml.lua:freeswitch_xml_outbound&lt;/b&gt; at the end&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;table.insert(xml, [[&amp;lt;action application=&lt;span class=&quot;code-quote&quot;&gt;&quot;hangup&quot;&lt;/span&gt; data=&lt;span class=&quot;code-quote&quot;&gt;&quot;${last_bridge_hangup_cause}&quot;&lt;/span&gt;/&amp;gt;]])
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="11917">ASTPPCOM-97</key>
            <summary>continue_on_fail=true fake A-leg hangup cause</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="10000">Done</resolution>
                                        <assignee username="samir.doshi">Samir Doshi</assignee>
                                    <reporter username="Neurotec">Neurotec Tecnologia S.A.S</reporter>
                        <labels>
                    </labels>
                <created>Mon, 5 Sep 2016 11:15:39 +0530</created>
                <updated>Thu, 1 Apr 2021 19:00:20 +0530</updated>
                            <resolved>Thu, 1 Apr 2021 19:00:20 +0530</resolved>
                                                    <fixVersion>v3.5</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                <comments>
                            <comment id="12665" author="smrdoshi" created="Sun, 11 Sep 2016 17:25:44 +0530"  >&lt;p&gt;Thanks for the suggestion. &lt;/p&gt;

&lt;p&gt;I am bit hesitating to apply this patch in open source version by wondering if that will create any negative impact on existing cdr process. &lt;/p&gt;

&lt;p&gt;Can you please provide some test results before and after to get clear idea about impact? &lt;/p&gt;</comment>
                            <comment id="12666" author="neurotec" created="Tue, 25 Oct 2016 04:16:58 +0530"  >&lt;p&gt;FS1 -&amp;gt; ASTPP -&amp;gt; FS2&lt;br/&gt;
the number must return CALL_REJECTED, but without patch always return NORMAL_CLEARING, if i put the patch return correct hangup cause from B - Leg to A -&amp;gt; Leg in middle ASTPP.&lt;/p&gt;

&lt;h3&gt;&lt;a name=&quot;thisFS1trace...&quot;&gt;&lt;/a&gt;this FS1 trace...&lt;/h3&gt;

&lt;p&gt;before patch:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;2016-10-24 17:36:12.634474 [INFO] mod_dialplan_xml.c:637 Processing 1000 &amp;lt;1000&amp;gt;-&amp;gt;939350660007508 in context &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt;
2016-10-24 17:36:12.654424 [NOTICE] switch_channel.c:1104 New Channel sofia/external/50660007508 [4456d032-9a3a-11e6-9d6d-c3fbdeed3537]
2016-10-24 17:36:14.334476 [NOTICE] sofia.c:8048 Hangup sofia/external/50660007508 [CS_CONSUME_MEDIA] [NORMAL_CLEARING]
2016-10-24 17:36:14.334476 [NOTICE] switch_core_session.c:1665 Session 2 (sofia/external/50660007508) Ended
2016-10-24 17:36:14.334476 [NOTICE] switch_core_session.c:1669 Close Channel sofia/external/50660007508 [CS_DESTROY]
2016-10-24 17:36:14.334476 [INFO] mod_dptools.c:3401 Originate Failed.  Cause: NORMAL_CLEARING
2016-10-24 17:36:14.334476 [NOTICE] switch_channel.c:4820 Hangup sofia/internal/1000@192.168.1.12 [CS_EXECUTE] [NORMAL_CLEARING]
2016-10-24 17:36:14.414409 [NOTICE] switch_core_session.c:1665 Session 1 (sofia/internal/1000@192.168.1.12) Ended
2016-10-24 17:36:14.414409 [NOTICE] switch_core_session.c:1669 Close Channel sofia/internal/1000@192.168.1.12 [CS_DESTROY]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;after patch&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;2016-10-24 17:42:38.094455 [INFO] mod_dialplan_xml.c:637 Processing 1000 &amp;lt;1000&amp;gt;-&amp;gt;939350660007508 in context &lt;span class=&quot;code-keyword&quot;&gt;default&lt;/span&gt;
2016-10-24 17:42:38.094455 [NOTICE] switch_channel.c:1104 New Channel sofia/external/50660007508 [2a14b4d6-9a3b-11e6-9d8a-c3fbdeed3537]
2016-10-24 17:42:39.754437 [NOTICE] sofia.c:8048 Hangup sofia/external/50660007508 [CS_CONSUME_MEDIA] [CALL_REJECTED]
2016-10-24 17:42:39.754437 [NOTICE] switch_core_session.c:1665 Session 4 (sofia/external/50660007508) Ended
2016-10-24 17:42:39.754437 [NOTICE] switch_core_session.c:1669 Close Channel sofia/external/50660007508 [CS_DESTROY]
2016-10-24 17:42:39.754437 [INFO] mod_dptools.c:3401 Originate Failed.  Cause: CALL_REJECTED
2016-10-24 17:42:39.754437 [NOTICE] switch_channel.c:4820 Hangup sofia/internal/1000@192.168.1.12 [CS_EXECUTE] [CALL_REJECTED]
2016-10-24 17:42:39.754437 [NOTICE] switch_core_session.c:1665 Session 3 (sofia/internal/1000@192.168.1.12) Ended
2016-10-24 17:42:39.754437 [NOTICE] switch_core_session.c:1669 Close Channel sofia/internal/1000@192.168.1.12 [CS_DESTROY]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="12667" author="smrdoshi" created="Wed, 26 Oct 2016 00:08:29 +0530"  >&lt;p&gt;Patch should not make any difference in hangup cause. Can you please send&lt;br/&gt;
me astpp.log for your calls in which you are getting different hangup&lt;br/&gt;
cause.&lt;/p&gt;

&lt;p&gt;On Tuesday 25 October 2016, Neurotec Tecnologia S.A.S &amp;lt;&lt;br/&gt;
notifications@github.com&amp;gt; wrote:&lt;/p&gt;

&lt;p&gt;&amp;gt; FS1 -&amp;gt; ASTPP -&amp;gt; FS2&lt;br/&gt;
&amp;gt; the number must return CALL_REJECTED, but without patch always return&lt;br/&gt;
&amp;gt; NORMAL_CLEARING, if i put the patch return correct hangup cause from B -&lt;br/&gt;
&amp;gt; Leg to A -&amp;gt; Leg in middle ASTPP.&lt;br/&gt;
&amp;gt; this FS1 trace...&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; before patch:&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; 2016-10-24 17:36:12.634474 &lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; mod_dialplan_xml.c:637 Processing 1000 &amp;lt;1000&amp;gt;-&amp;gt;939350660007508 in context default&lt;br/&gt;
&amp;gt; 2016-10-24 17:36:12.654424 &lt;span class=&quot;error&quot;&gt;&amp;#91;NOTICE&amp;#93;&lt;/span&gt; switch_channel.c:1104 New Channel sofia/external/50660007508 &lt;span class=&quot;error&quot;&gt;&amp;#91;4456d032-9a3a-11e6-9d6d-c3fbdeed3537&amp;#93;&lt;/span&gt;&lt;br/&gt;
&amp;gt; 2016-10-24 17:36:14.334476 &lt;span class=&quot;error&quot;&gt;&amp;#91;NOTICE&amp;#93;&lt;/span&gt; sofia.c:8048 Hangup sofia/external/50660007508 &lt;span class=&quot;error&quot;&gt;&amp;#91;CS_CONSUME_MEDIA&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;NORMAL_CLEARING&amp;#93;&lt;/span&gt;&lt;br/&gt;
&amp;gt; 2016-10-24 17:36:14.334476 &lt;span class=&quot;error&quot;&gt;&amp;#91;NOTICE&amp;#93;&lt;/span&gt; switch_core_session.c:1665 Session 2 (sofia/external/50660007508) Ended&lt;br/&gt;
&amp;gt; 2016-10-24 17:36:14.334476 &lt;span class=&quot;error&quot;&gt;&amp;#91;NOTICE&amp;#93;&lt;/span&gt; switch_core_session.c:1669 Close Channel sofia/external/50660007508 &lt;span class=&quot;error&quot;&gt;&amp;#91;CS_DESTROY&amp;#93;&lt;/span&gt;&lt;br/&gt;
&amp;gt; 2016-10-24 17:36:14.334476 &lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; mod_dptools.c:3401 Originate Failed.  Cause: NORMAL_CLEARING&lt;br/&gt;
&amp;gt; 2016-10-24 17:36:14.334476 &lt;span class=&quot;error&quot;&gt;&amp;#91;NOTICE&amp;#93;&lt;/span&gt; switch_channel.c:4820 Hangup sofia/internal/1000@192.168.1.12 &amp;lt;javascript:_e(%7B%7D,&apos;cvml&apos;,&apos;1000@192.168.1.12&apos;);&amp;gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;CS_EXECUTE&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;NORMAL_CLEARING&amp;#93;&lt;/span&gt;&lt;br/&gt;
&amp;gt; 2016-10-24 17:36:14.414409 &lt;span class=&quot;error&quot;&gt;&amp;#91;NOTICE&amp;#93;&lt;/span&gt; switch_core_session.c:1665 Session 1 (sofia/internal/1000@192.168.1.12 &amp;lt;javascript:_e(%7B%7D,&apos;cvml&apos;,&apos;1000@192.168.1.12&apos;);&amp;gt;) Ended&lt;br/&gt;
&amp;gt; 2016-10-24 17:36:14.414409 &lt;span class=&quot;error&quot;&gt;&amp;#91;NOTICE&amp;#93;&lt;/span&gt; switch_core_session.c:1669 Close Channel sofia/internal/1000@192.168.1.12 &amp;lt;javascript:_e(%7B%7D,&apos;cvml&apos;,&apos;1000@192.168.1.12&apos;);&amp;gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;CS_DESTROY&amp;#93;&lt;/span&gt;&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; after patch&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; 2016-10-24 17:42:38.094455 &lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; mod_dialplan_xml.c:637 Processing 1000 &amp;lt;1000&amp;gt;-&amp;gt;939350660007508 in context default&lt;br/&gt;
&amp;gt; 2016-10-24 17:42:38.094455 &lt;span class=&quot;error&quot;&gt;&amp;#91;NOTICE&amp;#93;&lt;/span&gt; switch_channel.c:1104 New Channel sofia/external/50660007508 &lt;span class=&quot;error&quot;&gt;&amp;#91;2a14b4d6-9a3b-11e6-9d8a-c3fbdeed3537&amp;#93;&lt;/span&gt;&lt;br/&gt;
&amp;gt; 2016-10-24 17:42:39.754437 &lt;span class=&quot;error&quot;&gt;&amp;#91;NOTICE&amp;#93;&lt;/span&gt; sofia.c:8048 Hangup sofia/external/50660007508 &lt;span class=&quot;error&quot;&gt;&amp;#91;CS_CONSUME_MEDIA&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;CALL_REJECTED&amp;#93;&lt;/span&gt;&lt;br/&gt;
&amp;gt; 2016-10-24 17:42:39.754437 &lt;span class=&quot;error&quot;&gt;&amp;#91;NOTICE&amp;#93;&lt;/span&gt; switch_core_session.c:1665 Session 4 (sofia/external/50660007508) Ended&lt;br/&gt;
&amp;gt; 2016-10-24 17:42:39.754437 &lt;span class=&quot;error&quot;&gt;&amp;#91;NOTICE&amp;#93;&lt;/span&gt; switch_core_session.c:1669 Close Channel sofia/external/50660007508 &lt;span class=&quot;error&quot;&gt;&amp;#91;CS_DESTROY&amp;#93;&lt;/span&gt;&lt;br/&gt;
&amp;gt; 2016-10-24 17:42:39.754437 &lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; mod_dptools.c:3401 Originate Failed.  Cause: CALL_REJECTED&lt;br/&gt;
&amp;gt; 2016-10-24 17:42:39.754437 &lt;span class=&quot;error&quot;&gt;&amp;#91;NOTICE&amp;#93;&lt;/span&gt; switch_channel.c:4820 Hangup sofia/internal/1000@192.168.1.12 &amp;lt;javascript:_e(%7B%7D,&apos;cvml&apos;,&apos;1000@192.168.1.12&apos;);&amp;gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;CS_EXECUTE&amp;#93;&lt;/span&gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;CALL_REJECTED&amp;#93;&lt;/span&gt;&lt;br/&gt;
&amp;gt; 2016-10-24 17:42:39.754437 &lt;span class=&quot;error&quot;&gt;&amp;#91;NOTICE&amp;#93;&lt;/span&gt; switch_core_session.c:1665 Session 3 (sofia/internal/1000@192.168.1.12 &amp;lt;javascript:_e(%7B%7D,&apos;cvml&apos;,&apos;1000@192.168.1.12&apos;);&amp;gt;) Ended&lt;br/&gt;
&amp;gt; 2016-10-24 17:42:39.754437 &lt;span class=&quot;error&quot;&gt;&amp;#91;NOTICE&amp;#93;&lt;/span&gt; switch_core_session.c:1669 Close Channel sofia/internal/1000@192.168.1.12 &amp;lt;javascript:_e(%7B%7D,&apos;cvml&apos;,&apos;1000@192.168.1.12&apos;);&amp;gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;CS_DESTROY&amp;#93;&lt;/span&gt;&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; &#8212;&lt;br/&gt;
&amp;gt; You are receiving this because you commented.&lt;br/&gt;
&amp;gt; Reply to this email directly, view it on GitHub&lt;br/&gt;
&amp;gt; &lt;a href=&quot;https://github.com/iNextrix/ASTPP/issues/97#issuecomment-255887728&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/iNextrix/ASTPP/issues/97#issuecomment-255887728&lt;/a&gt;, or mute&lt;br/&gt;
&amp;gt; the thread&lt;br/&gt;
&amp;gt; &lt;a href=&quot;https://github.com/notifications/unsubscribe-auth/AA6gcYHTFTu6c6UrwemZXzG8VReo6Y-bks5q3TVigaJpZM4J0wfo&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/notifications/unsubscribe-auth/AA6gcYHTFTu6c6UrwemZXzG8VReo6Y-bks5q3TVigaJpZM4J0wfo&lt;/a&gt;&lt;br/&gt;
&amp;gt; .&lt;/p&gt;

&lt;h2&gt;&lt;a name=&quot;&quot;&gt;&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;Sent from my iPhone&lt;/p&gt;</comment>
                            <comment id="12668" author="smrdoshi" created="Tue, 5 Sep 2017 18:13:03 +0530"  >&lt;p&gt;No feedback. Closing the issue. &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>97</customfieldvalue>

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

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