cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Anonymous
Not applicable

Prepend areal code on NetVanta 3140 with SBC

I am wondering if there is a way to Prepend the area code when the PBX dials a 7-digit number.  My customer has switched from a PRI to a hosted SIP provider.  The SIP carrier requires 10-digit dialing, but the customer is used to doing 7-digit dialing.  Is there a way to prepend the local area code on 7-digit calls?

I know you can do it in the Total Access products.  This is a NetVanta 3140 with the SBC license installed and configured.

Currently configured as follows:

!

voice grouped-trunk SV9100

  trunk T02

  accept 911 cost 0

  accept NXXX cost 0

  accept 1-NXX-NXX-XXXX cost 0

  accept NXX-NXX-XXXX cost 0

  accept NXX-XXXX cost 0

!

Any guidance would be appreciated.

Thanks

Labels (1)
0 Kudos
3 Replies
jayh
Honored Contributor
Honored Contributor

Re: Prepend areal code on NetVanta 3140 with SBC

Normalize all to ten digits:

voice trunk T02

  match dnis NXX-XXXX substitute 312-NXX-XXXX

  match dnis 1-NXX-NXX-XXXX substitute NXX-NXX-XXXX

Normalize all to eleven digits:

voice trunk T02

  match dnis NXX-XXXX substitute 1-312-NXX-XXXX

  match dnis NXX-NXX-XXXX substitute 1-NXX-NXX-XXXX

(Assuming that you're in area code 312)

Anonymous
Not applicable

Re: Prepend areal code on NetVanta 3140 with SBC

Awesome.  I was looking for that programming in the trunked group where the "accept" statements are.

Thanks!

jayh
Honored Contributor
Honored Contributor

Re: Prepend areal code on NetVanta 3140 with SBC

vmaxdawg05 wrote:

Awesome. I was looking for that programming in the trunked group where the "accept" statements are.

Thanks!

The voice grouped-trunk section specifies how calls are routed among the trunks. The voice trunk section defines the characteristics of each individual trunk. You might have one trunk that wants 10 digits and another that wants 7 for the same dialed digit pattern.

Happy to help.