cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
curtc
New Contributor

absorb digits from carrier to send PRI to PBX

Jump to solution

We usually install SIP trunk to PRI and it works fine.  We are matching for outbound to substitute digits since our carrier wants to see 11 digits outbound if they dial 10.  ...and our carrier does not want to see the 011 on international.  Like this:

voice trunk T01 type sip

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

  match dnis "011$" substitute "$"

  sip-server primary gw1.xxxxxxxxxxxx

  sip-server secondary gw2.xxxxxxxxxx

  registrar threshold absolute 5

  dial-string source to

  register 11111111111

  codec-list trunk both

  authentication username 11111111111 password xxxxxxxxxxx

My question.  The carrier sends us 11 digits on this one but the PBX can only match 4 digits inbound on the PRI.  How can the 908 absorb all but the last 4?

Thanks.

0 Kudos
1 Solution

Accepted Solutions
jayh
Honored Contributor
Honored Contributor

Re: absorb digits from carrier to send PRI to PBX

Jump to solution

Under the PRI interface facing the PBX, add the following line:

digits-transferred 4

Alternatively you can do it with match/substitute on the trunk facing the PBX if the DIDs are in a group:

voice trunk T02 type isdn

  match dnis "1-312-555-XXXX" substitute "XXXX"

View solution in original post

0 Kudos
2 Replies
jayh
Honored Contributor
Honored Contributor

Re: absorb digits from carrier to send PRI to PBX

Jump to solution

Under the PRI interface facing the PBX, add the following line:

digits-transferred 4

Alternatively you can do it with match/substitute on the trunk facing the PBX if the DIDs are in a group:

voice trunk T02 type isdn

  match dnis "1-312-555-XXXX" substitute "XXXX"

0 Kudos
curtc
New Contributor

Re: absorb digits from carrier to send PRI to PBX

Jump to solution

OK.  That sounds like it will work.  I'll give it a try today.  Thank you.