<!-- 
RSS generated by JIRA (8.13.3#813003-sha1:22ebedbb75c99b147c66f14e031dd8a2d214753a) at Sat Feb 10 07:18: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-545] Fresh Install ASTPP will randomly bind ipv6 over ipv4 on restart</title>
                <link>https://jira.astppbilling.org/browse/ASTPPCOM-545</link>
                <project id="10608" key="ASTPPCOM">ASTPP Community</project>
                    <description>&lt;p&gt;So I found out last night with a fresh install of ASTPP 4.0.1 that freeswitch will randomly bind to ipv6 over ipv4 which stops everything from working. If you keep restarting it will randomly select ipv4 on next reboot or a couple in.&lt;br/&gt;
I know this is how ASTPP is configured with freeswitch as we have 5 other freeswitch pbx / billing brands on the exact same VM which don&apos;t have this issue.&lt;/p&gt;

&lt;p&gt;Nothing was changed outside of the default ASTPP setup.&lt;/p&gt;</description>
                <environment></environment>
        <key id="12365">ASTPPCOM-545</key>
            <summary>Fresh Install ASTPP will randomly bind ipv6 over ipv4 on restart</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="redbehrend">redbehrend</reporter>
                        <labels>
                    </labels>
                <created>Mon, 19 Aug 2019 20:19:01 +0530</created>
                <updated>Sun, 24 May 2020 04:33:30 +0530</updated>
                            <resolved>Fri, 27 Sep 2019 20:49:51 +0530</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                <comments>
                            <comment id="13661" author="smrdoshi" created="Wed, 28 Aug 2019 15:04:40 +0530"  >&lt;p&gt;Hi &lt;span class=&quot;error&quot;&gt;&amp;#91;~Redbehrend&amp;#93;&lt;/span&gt; &lt;/p&gt;

&lt;p&gt;That is strange. Please provide the following information: &lt;/p&gt;

&lt;p&gt;1. You sip profile settings&lt;br/&gt;
2. ifconfig output&lt;br/&gt;
3. freeswitch&apos;s sofia status output.  &lt;/p&gt;</comment>
                            <comment id="13662" author="redbehrend" created="Thu, 19 Sep 2019 11:36:54 +0530"  >&lt;p&gt;Sorry didn&apos;t see the alert on my github here it&apos;s all defaults except for the gateway&lt;br/&gt;
What happens is ASTPP says everything is running fine but only responds to IPV6 after restarting it a couple times IPV4 randomly gets selected.&lt;/p&gt;

&lt;p&gt;SIP Profiles are default by ASTPP&lt;br/&gt;
The crucial part of it is SIP IP = $${local_ip_v4} and PORT = 5060&lt;/p&gt;

&lt;p&gt;ifconfig output&lt;br/&gt;
ens3: flags=4163&amp;lt;UP,BROADCAST,RUNNING,MULTICAST&amp;gt;  mtu 1500&lt;br/&gt;
        inet XXX.XXX.XXX.XXX  netmask 255.255.254.0  broadcast XXX.XXX.XXX.XXXX&lt;br/&gt;
        inet6 XXXX::XXXX:XXX:XXXX:XXXX  prefixlen 64  scopeid 0x20&amp;lt;link&amp;gt;&lt;br/&gt;
        inet6 XXXX::XXXX:XXX:XXXX:XXXX  prefixlen 64  scopeid 0x0&amp;lt;global&amp;gt;&lt;br/&gt;
        ether XXXX::XXXX:XXX:XXXX:XXXX txqueuelen 1000  (Ethernet)&lt;br/&gt;
        RX packets 51490762  bytes 11173124362 (10.4 GiB)&lt;br/&gt;
        RX errors 0  dropped 0  overruns 0  frame 0&lt;br/&gt;
        TX packets 51755182  bytes 11030503652 (10.2 GiB)&lt;br/&gt;
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0&lt;/p&gt;

&lt;p&gt;lo: flags=73&amp;lt;UP,LOOPBACK,RUNNING&amp;gt;  mtu 65536&lt;br/&gt;
        inet 127.0.0.1  netmask 255.0.0.0&lt;br/&gt;
        inet6 ::1  prefixlen 128  scopeid 0x10&amp;lt;host&amp;gt;&lt;br/&gt;
        loop  txqueuelen 1  (Local Loopback)&lt;br/&gt;
        RX packets 6777202  bytes 5778691749 (5.3 GiB)&lt;br/&gt;
        RX errors 0  dropped 0  overruns 0  frame 0&lt;br/&gt;
        TX packets 6777202  bytes 5778691749 (5.3 GiB)&lt;br/&gt;
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0&lt;/p&gt;

&lt;p&gt;sofia status output&lt;/p&gt;

&lt;p&gt;  default       profile           sip:mod_sofia@XXX.XXX.XXX.XXX:5060      RUNNING (0)&lt;br/&gt;
  default::gw_voip_term         gateway               sip:FreeSWITCH@XXX.XXX.XXX.XXX      NOREG&lt;/p&gt;
</comment>
                            <comment id="13663" author="redbehrend" created="Fri, 27 Sep 2019 20:48:53 +0530"  >&lt;p&gt;Checking this out more it&apos;s deff something with your guys config or maybe your version of freeswitch you are using has a bug.&lt;br/&gt;
So with my other ipv4/ipv6 freeswitches the $${local_ip_v4} in the profile works fine.&lt;br/&gt;
With ASTPP that profile will use a ipv6 if it&apos;s available which causes profiles to not connect internally even though they show connected in ASTPP maybe because it&apos;s using it for LAN and WAN? not sure never shared port 5060 like you guys do.  If you disable ipv6 even just on wan fs_cli breaks in CLI based on your settings. So using the profile variable $${local_ip_v4} in sofia profiles breaks the config at least on my two test systems when ipv6 is enabled and you reboot because it partly binds to ipv6.&lt;/p&gt;

&lt;p&gt;With other freeswitch opensource projects and default freeswitch if you disable ipv6 on WAN it&apos;s fine and LAN/CLI still works.  Not sure if it&apos;s sharing the ports or configs in ASTPP but you have a ipv6 auto or :: somewhere that tries to use ipv6.&lt;/p&gt;

&lt;p&gt;Notes: Maybe you have hard coded in the adapter names or positions instead of searching correctly when binding or during setup? So if a system has more than 1 adapter it doesn&apos;t setup right to ipv4? Not sure without looking into it more just shooting in the dark. Seems when a system doesn&apos;t name the first adapter eth1 I get errors during setup also but no idea if they are related like when I use virtual systems that name them things like ens1, vns1, etc...&lt;/p&gt;</comment>
                            <comment id="27937" author="devang.nathwani" created="Sun, 24 May 2020 04:33:30 +0530"  >&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;In fs_cli, if you execute&lt;/p&gt;

&lt;p&gt;eval $${local_ip_v4}&lt;/p&gt;

&lt;p&gt;You should get ipv4.&lt;br/&gt;
If there is anything wrong for picking the IP by FreeSWITCH, you may overwrite the value of local_ip_v4 variable in varx.xml file of FreeSWITCH config.&lt;/p&gt;

&lt;p&gt;Thanks.&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>545</customfieldvalue>

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

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