4 Replies Latest reply on Dec 31, 2015 9:15 AM by markfreeman

    Append 0 to Calling party number

    bradh8148 New Member

      We have an Adtran NetVanta 6310 that is connected to an E1 PRI in the U.K. When receiving an inbound call, the calling party number that the Telco is not passing the leading 0 of the CPN. Example: Calling party number 079705551212 Calling party number displayed: 79705551212 Is there a way to append the 0 onto the front of the CPN in the NetVanta 6310? or does the Telco need to address this?

        • Re: Append 0 to Calling party number
          jayh Hall_of_Fame

          Under the inbound trunk, add the following:

           

           

          voice match ani [1-9]$ substitute 0[1-9]$

           

          • Re: Append 0 to Calling party number
            markfreeman Employee

            Brad,

            Did you get this to work? You actually want to apply this on the outbound trunk account on the PRI to the PBX. The match ani command is only applied to outbound calls from the switchboard. It does not apply to inbound calls.

             

            -Mark

              • Re: Append 0 to Calling party number
                bradh8148 New Member

                Mark, Yes I was able to get this to work by applying it on the inbound trunk to our PBX. The issue was that when a call would ring into the PBX the calling party number did not have the leading 0. So by adding this command to Voice Trunk T02 (see below) inbound calls were displaying the caller ID with the leading 0 (079705551212). ! voice trunk T01 type isdn   description "Adtran to PRI"   resource-selection linear ascending   connect isdn-group 1   t38   t38 redundancy high-speed 1   t38 redundancy low-speed 1   rtp delay-mode adaptive   codec-list PBX_DEFAULT ! voice trunk T02 type sip   description "Adtran to PBX"   match ani "[1-9]$" substitute "0[1-9]$"   sip-server primary 10.xxx.xx.11   no registrar require-expires   dial-string source to   codec-list PBX_DEFAULT both !

                  • Re: Append 0 to Calling party number
                    markfreeman Employee

                    Brad,

                    Thanks for the update. So you are using the NV6310 is a backwards application. Typically is used to terminate a SIP Trunk from the Carrier and then go E1 PRI into the PBX.

                     

                    So for your application the SIP Trunk is the outbound trunk to the PBX. In regards to the ADTRAN switchboard, we treat all calls from the internal switchboard’s perspective. So the call is coming inbound on the E1 PRI into switchboard, and then outbound from the switchboard on the SIP Trunk to the customer SIP PBX.

                     

                    You had it on the right interface, we were just using different terms. I just wanted to explain to you what we teach at ADTRAN in our classes so the nomenclature makes sense.

                     

                    HAPPY NEW YEAR!

                     

                    -Mark