<!-- 
RSS generated by JIRA (8.13.3#813003-sha1:22ebedbb75c99b147c66f14e031dd8a2d214753a) at Sat Feb 10 07:18:07 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-543] Number Translation on Switch - Gateway menu</title>
                <link>https://jira.astppbilling.org/browse/ASTPPCOM-543</link>
                <project id="10608" key="ASTPPCOM">ASTPP Community</project>
                    <description>&lt;p&gt;I have two gateways from two different providers, both using Tech Prefix for auth.&lt;br/&gt;
If i use the menu &quot;Carriers - Trunk&quot; and set the second one as &quot;Failover GW &lt;a href=&quot;https://jira.astppbilling.org/browse/ASTPPCOM-2&quot; title=&quot;[FIX] CDR Report loading issue resolved&quot; class=&quot;issue-link&quot; data-issue-key=&quot;ASTPPCOM-2&quot;&gt;&lt;del&gt;ASTPPCOM-2&lt;/del&gt;&lt;/a&gt;&quot; it&apos;ll not work because Number Translation is set for the first try only, and the Tech Prefix for the second try is different from the first one...&lt;/p&gt;

&lt;p&gt;The only option i could think of is &quot;Dialplan Variable&quot; but i added 55/TechPrefix55 like i did on Number Translation for the trunk and did&apos;nt work.&lt;/p&gt;

&lt;p&gt;Help ?&lt;/p&gt;</description>
                <environment></environment>
        <key id="12363">ASTPPCOM-543</key>
            <summary>Number Translation on Switch - Gateway menu</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="horselessname">horselessname</reporter>
                        <labels>
                    </labels>
                <created>Mon, 12 Aug 2019 23:05:41 +0530</created>
                <updated>Sun, 27 Oct 2019 15:50:25 +0530</updated>
                            <resolved>Sat, 26 Oct 2019 17:27:11 +0530</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                <comments>
                            <comment id="13650" author="smrdoshi" created="Mon, 26 Aug 2019 11:31:29 +0530"  >&lt;p&gt;Hi &lt;span class=&quot;error&quot;&gt;&amp;#91;~HorselessName&amp;#93;&lt;/span&gt; &lt;/p&gt;

&lt;p&gt;In your case, you will require to setup 2 trunks and under each trunk set 1 gateway and in rate group select both trunks. &lt;/p&gt;

&lt;p&gt;For number translation, you can use prepend and strip field in termination rates or use localization concept and select it in provider. &lt;/p&gt;

&lt;p&gt;That will resolve your issue. &lt;/p&gt;</comment>
                            <comment id="13651" author="horselessname" created="Mon, 16 Sep 2019 20:11:54 +0530"  >&lt;p&gt;Hello... &lt;span class=&quot;error&quot;&gt;&amp;#91;~smrdoshi&amp;#93;&lt;/span&gt; &lt;br/&gt;
Unfortunately the prepend field will not help in this scenario.&lt;br/&gt;
For example, i need to call to 5541991919191 and the first try goes to one provider...&lt;br/&gt;
The failover goes to another provider...&lt;/p&gt;

&lt;p&gt;Even if i insert the tech prefix for the first provider, let&apos;s say 91915541991919191, if the call fails and goes to the second provider on the failover, the number that&apos;ll go to that provider is 91915541991919191, and that prefix is different from the prefix of that provider.&lt;/p&gt;

&lt;p&gt;It would be nice if we could add a prefix directly to the provider... If we have multiple providers with different prefixes, we aren&apos;t going to be able to differ which is which... &lt;/p&gt;</comment>
                            <comment id="13652" author="mrsupamike" created="Mon, 16 Sep 2019 22:07:47 +0530"  >&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;~smrdoshi&amp;#93;&lt;/span&gt; is right, I&apos;ve been using on version v3.6 without a problem. Setting up number translation at each trunk and setting multiple trunks in rate groups does the fail-over with correct prefix for each provider. I don&apos;t know if it&apos;s the same on the latest version.&lt;/p&gt;</comment>
                            <comment id="13653" author="horselessname" created="Tue, 17 Sep 2019 18:07:35 +0530"  >&lt;p&gt;&lt;a href=&quot;https://jira.astppbilling.org/secure/ViewProfile.jspa?name=MrSupaMike&quot; class=&quot;user-hover&quot; rel=&quot;MrSupaMike&quot;&gt;Mike&lt;/a&gt; It is&apos;nt doing the fail-over here...&lt;br/&gt;
I configured three trunks with specific number translation on each ( Each trunk is configured to do one try only on the provider gateway tho, since each provider gave me one ip only ), and selected them all in the same rate group, but the call does&apos;nt pass to the next selected trunk when the call fails...&lt;/p&gt;

&lt;p&gt;If i remove the number translation and set multiple trunks on one gateway, the failover works. It goes to the second try but the provider receives the wrong tech prefix...&lt;/p&gt;

&lt;p&gt;How did you do that? &lt;a href=&quot;https://jira.astppbilling.org/secure/ViewProfile.jspa?name=MrSupaMike&quot; class=&quot;user-hover&quot; rel=&quot;MrSupaMike&quot;&gt;Mike&lt;/a&gt; Each trunk you have is trying one time only, right?&lt;br/&gt;
Like this:&lt;br/&gt;
First trunk: &lt;a href=&quot;https://i.imgur.com/WccVF0z.png&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://i.imgur.com/WccVF0z.png&lt;/a&gt;&lt;br/&gt;
Second trunk: &lt;a href=&quot;https://i.imgur.com/3kyBAqP.png&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://i.imgur.com/3kyBAqP.png&lt;/a&gt;&lt;br/&gt;
Rate Group with both selected: &lt;a href=&quot;https://i.imgur.com/2iRTL0Q.png&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://i.imgur.com/2iRTL0Q.png&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What can i do?&lt;/p&gt;</comment>
                            <comment id="13654" author="horselessname" created="Tue, 17 Sep 2019 18:09:16 +0530"  >&lt;p&gt;First trunk:&lt;br/&gt;
&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://user-images.githubusercontent.com/20173635/65042295-f09c2a00-d92e-11e9-8a71-e0f57349339b.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;br/&gt;
Second trunk:&lt;br/&gt;
&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://user-images.githubusercontent.com/20173635/65042306-f5f97480-d92e-11e9-847c-c5bc1f891cb8.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;br/&gt;
Rate group with both selected:&lt;br/&gt;
&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://user-images.githubusercontent.com/20173635/65042316-fa259200-d92e-11e9-8c96-33409157be85.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="13655" author="mrsupamike" created="Tue, 17 Sep 2019 19:33:49 +0530"  >&lt;p&gt;Hello &lt;span class=&quot;error&quot;&gt;&amp;#91;~HorselessName&amp;#93;&lt;/span&gt; ,&lt;/p&gt;

&lt;p&gt;As I said, I only tried this on version 3.6 and it&apos;s working correctly. I assume that hasn&apos;t changed in v+4. &lt;br/&gt;
One thing I suggest doing is to check on your freeswitch logs, in the linux console &quot;fs_cli&quot;, you can easily check if it&apos;s working as the logs clearly state if translation is happening on each call.&lt;br/&gt;
Also, I noticed something that could be make a difference. The number translation format you use does not have &quot;&quot;.  You could try adding them to see if it makes a difference. For example:&lt;/p&gt;

&lt;p&gt;&quot;1/3223&lt;a href=&quot;https://jira.astppbilling.org/browse/ASTPPCOM-1&quot; title=&quot;Updated Spelling (Harare)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;ASTPPCOM-1&quot;&gt;&lt;del&gt;ASTPPCOM-1&lt;/del&gt;&lt;/a&gt;&quot;&lt;/p&gt;

&lt;p&gt;If you need multiple translations, separate with commas like this:&lt;/p&gt;

&lt;p&gt;&quot;1/3223&lt;a href=&quot;https://jira.astppbilling.org/browse/ASTPPCOM-1&quot; title=&quot;Updated Spelling (Harare)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;ASTPPCOM-1&quot;&gt;&lt;del&gt;ASTPPCOM-1&lt;/del&gt;&lt;/a&gt;&quot;,&quot;9999/3223#&quot;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://user-images.githubusercontent.com/35234441/65048357-951b6d80-d929-11e9-89d7-c9306c8ea941.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;I have this currently working so I know it works on v3.6. I hope nothing changed on +v4&lt;/p&gt;</comment>
                            <comment id="13656" author="horselessname" created="Fri, 20 Sep 2019 01:39:42 +0530"  >&lt;p&gt;&lt;a href=&quot;https://jira.astppbilling.org/secure/ViewProfile.jspa?name=MrSupaMike&quot; class=&quot;user-hover&quot; rel=&quot;MrSupaMike&quot;&gt;Mike&lt;/a&gt; @smrdoshi &lt;br/&gt;
Ok. I tried selecting the two trunks and i also tried using the way you said, using &quot;&quot; and , to separate the prefixes... &lt;/p&gt;

&lt;p&gt;I found the problem. When the ASTPP receives 503 Service Unavailable, the Failover works... It jumps correctly to the next termination.&lt;br/&gt;
But if the termination sends 603 Declined, the failover does&apos;nt happen.&lt;br/&gt;
When a termination returns to the ASTPP 603, the system does a hangup...&lt;/p&gt;

&lt;p&gt;Is there a place on FreeSwitch or ASTPP where i can add more codes for the failover proccess?&lt;/p&gt;</comment>
                            <comment id="13657" author="horselessname" created="Fri, 20 Sep 2019 01:47:22 +0530"  >&lt;p&gt;Below a image of my monitoring (Ignore the REJECTED message, i just configured a test on my Asterisk to check what codes the ASTPP needs to receive in order to make the failover):&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://user-images.githubusercontent.com/20173635/65277861-37da1480-db01-11e9-836b-22133def1065.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&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>543</customfieldvalue>

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

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