2 Replies Latest reply on Nov 1, 2017 3:12 AM by curtc

    absorb digits from carrier to send PRI to PBX

    curtc New Member

      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.