3 Replies Latest reply on May 23, 2018 1:45 PM by patrick

    Can I change outbound ani on pri from 4 digit to 10 digit?

    hereoze New Member

      I've attempted to manipulate the outbound ani originating from a user interface PRI and terminating out a Network interface PRI and I get no success.  The selections are send as provided, substitute if not present and substitute always.  Also I was assuming that it must be set on the NETWORK Interface. where the outbound call is executed.  Is this correct? In my PBX there is no way to send a "not present" ani and most of my calls ani out correctly, but those devices that initiate an outbound call, which do not have the ability to set a public number, must always send a 3-6 digit extension as the ani and NOT a full e.164 number.  Please advise.

        • Re: Can I change outbound ani on pri from 4 digit to 10 digit?
          patrick Employee

          The ATLAS does allow for both DNIS and/or ANI "manipulation", in both the NETWORK TERM and USER TERM of the DIAL PLAN. This substitution takes place on the egress interface, not ingress.

          So under the DIAL PLAN and either NETWORK or USER TERM, just past the IFCE CONFIG is SUBSTITUTION TEMPLATE. If you don't want to make any change to the DNIS, you should put "$" as both the "DNIS Orig #" and the "DNIS Subst #" then go into the "ANI Subs".

          In here you can put the "ANI Orig #" as "XXXX" and the "ANI Subst #" with the desired Area Code and Exchange (i.e. "256-963-XXXX")


          Hope this answers your question,


            • Re: Can I change outbound ani on pri from 4 digit to 10 digit?
              hereoze New Member

              Thanks Patrick, This did answer some of my questions regarding this problem.  However, I do not need to substitute always.  Most of my outbound ANIs contain the full e-164 number, only in the case of 3 devices, which are attendant consoles is it impossible to send anything but XXXX.  What I am finding is that  neither "substitute always", nor "substitute when not present" work.


              Substitute always causes the ANIs to fail which normally send correctly. 

              Substitute when not present makes no change to the 3 devices that are presumable are sending a 4 digit ani such as 7400, 7500, or 7999. 


              Part of my problem is that I cannot determine what is actually being sent because these 3 devices are coming up UNAVAILABLE or PRIVATE when they complete any call. Moreover, I cannot determine from syslog what is actually being sent, 




                • Re: Can I change outbound ani on pri from 4 digit to 10 digit?
                  patrick Employee

                  Under the INTERFACE CONFIG, the OUTGOING CALLER ID should be left at "Send as Provided". The SUBSTITUTION TEMPLATE works after "Outgoing Caller ID" is applied, substituted, or simply passes what is received. So if you set it to SUBSTITUTE ALWAYS and configure a 10-digit number, then that won't match the ANI ORIGIN # of "XXXX" because it is a 10-digit number once the SUBSTITUTE ALWAYS takes place. The "SUBSTITUTE IF NOT PRESENT should only apply the configured ID NUMBER if there is no ANI at all.


                  In the syslog, the ANI is the CALLING PARTY # (in the following SETUP message it is 2565553087):


                  ATLAS 830[ADTRAN]:L2-Formatted|0|1|===================================================

                  ATLAS 830[ADTRAN]:L2-Formatted|0|1|Sent = Sapi:00  C/R:R Tei:00

                  ATLAS 830[ADTRAN]:L2-Formatted|0|1|       Ctl:INFO     Ns:27 Nr:29

                  ATLAS 830[ADTRAN]:L2-Formatted|0|1|       Prot:08 CRL:2  CRV:0009

                  ATLAS 830[ADTRAN]:L2-Formatted|0|1|       M - 05 SETUP

                  ATLAS 830[ADTRAN]:L2-Formatted|0|1|        IE - 04 BEARER CAPABILITY   Len=3

                  ATLAS 830[ADTRAN]:L2-Formatted|0|1|             80 Xfer Cap.:SPEECH

                  ATLAS 830[ADTRAN]:L2-Formatted|0|1|             90 Xfer Rate:64k

                  ATLAS 830[ADTRAN]:L2-Formatted|0|1|             A2 Layer 1:u-Law

                  ATLAS 830[ADTRAN]:L2-Formatted|0|1|        IE - 18 CHANNEL ID          Len=3

                  ATLAS 830[ADTRAN]:L2-Formatted|0|1|             A1 Primary Rate

                  ATLAS 830[ADTRAN]:L2-Formatted|0|1|                Intfc ID:IMPLICIT

                  ATLAS 830[ADTRAN]:L2-Formatted|0|1|                Pref/Excl:PREFERRED

                  ATLAS 830[ADTRAN]:L2-Formatted|0|1|                D-Chan Indicated:NO

                  ATLAS 830[ADTRAN]:L2-Formatted|0|1|                Chan. Sel:FOLLOWS

                  ATLAS 830[ADTRAN]:L2-Formatted|0|1|             83 Numb/Map:NUMBER

                  ATLAS 830[ADTRAN]:L2-Formatted|0|1|             97 Channel:23

                  ATLAS 830[ADTRAN]:L2-Formatted|0|1|        IE - 6C CALLING PARTY #     Len=12

                  ATLAS 830[ADTRAN]:L2-Formatted|0|1|             21 Numb. Type:NATIONAL

                  ATLAS 830[ADTRAN]:L2-Formatted|0|1|                Numb. Plan:ISDN/Telephony

                  ATLAS 830[ADTRAN]:L2-Formatted|0|1|             80 Presentation:ALLOWED

                  ATLAS 830[ADTRAN]:L2-Formatted|0|1|                Ph.# 2565553087

                  ATLAS 830[ADTRAN]:L2-Formatted|0|1|        IE - 70 CALLED PARTY #      Len=11

                  ATLAS 830[ADTRAN]:L2-Formatted|0|1|             A1 Numb. Type:NATIONAL

                  ATLAS 830[ADTRAN]:L2-Formatted|0|1|                Numb. Plan:ISDN/Telephony

                  ATLAS 830[ADTRAN]:L2-Formatted|0|1|                Ph.# 2569638000

                  ATLAS 830[ADTRAN]:ISDN|0|1|Dialing '2569638000' from '2565553087'.

                  ATLAS 830[ADTRAN]:Switchboard|7|3|2569638000 Pri. accepted: slot 0, port 1


                  The ANI is the number given after the "CALLING PARTY #" and the TYPE, PLAN, and PRESENTATION. The DNIS is the CALLED PARTY # of 2569638000.