The Adtran community holiday season is starting next week! The holiday period will span from December 21, 2024 to January 6, 2025. During this time, responses to feedback form submissions may be delayed. If you are encountering product issues, you can reach out to Adtran support at any time.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
bradh8148
New Contributor III

Append 0 to Calling party number

Jump to solution

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?

Labels (1)
0 Kudos
1 Solution

Accepted Solutions
jayh
Honored Contributor
Honored Contributor

Re: Append 0 to Calling party number

Jump to solution

Under the inbound trunk, add the following:

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

View solution in original post

0 Kudos
4 Replies
jayh
Honored Contributor
Honored Contributor

Re: Append 0 to Calling party number

Jump to solution

Under the inbound trunk, add the following:

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

0 Kudos
Anonymous
Not applicable

Re: Append 0 to Calling party number

Jump to solution

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

bradh8148
New Contributor III

Re: Append 0 to Calling party number

Jump to solution

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 !

Anonymous
Not applicable

Re: Append 0 to Calling party number

Jump to solution

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