3 Replies Latest reply on Sep 16, 2013 8:16 AM by vmirinav

    SIP calls over PRI handout to and from PBX

    vmirinav New Member

      Dear All,

       

      I am getting the following error on

       

      s(config)#voice trunk T03 type t1-rbs supervision wink role network

      s(config-T03)#conn

      s(config-T03)#connect t1 0/3 td

      s(config-T03)#connect t1 0/3 tdm-group 1

      %Could not connect t1 tdm-group to trunk.

       

      I have the following device:

       

      ADTRAN, Inc. OS version A4.11.00.E

        Mainline Version: M04

        Checksum: 7D802349

        Built on: Mon Jan 23 17:05:47 2012

        Upgrade key: 0ce3e72cd130d992ee34ae2871346e65

      Boot ROM version 12.06.00

        Checksum: CF0A

        Built on: Mon Aug 28 13:50:57 2006

      Copyright (c) 1999-2006, ADTRAN, Inc.

      Platform: Total Access 908e (1st Gen), part number 4240908L1

      Serial number LBADTN0707AA431

      Flash: 33554432 bytes  DRAM: 67108863 bytes

       

      uptime is 1 weeks, 6 days, 4 hours, 12 minutes, 37 seconds

       

      slot 0, DSP 1

        DSP software version: G1.A4.08.01

        DSP hardware version: Freescale MSC7116

        Total channels: 24

       

      slot 0, DSP 2

        DSP software version: G1.A4.08.01

        DSP hardware version: Freescale MSC7116

        Total channels: 24

       

      System returned to ROM by External Hard Reset

      Current system image file is "TA900EA-A4-11-00-E.biz"

      Primary boot system image file is "TA900EA-A4-11-00-E.biz"

      Backup boot system image file is "TA900EA-A1-02-00-E.biz"

      Primary system configuration file is "startup-config"

       

      When I make a call from the PBX connected to the T1/PRI port I get the following error:

       

      s(config-T03)#

      19:29:52.538 ISDN.L2_FMT PRI  1  ==============================================

      19:29:52.538 ISDN.L2_MSG PRI  1  Sent  02 01 01 33

      19:29:52.538 ISDN.L2_FMT PRI  1    Sapi:00 C/R:C Tei:00 Ctl:RR    Nr:25  P/F:1

      19:29:52.543 ISDN.L2_FMT PRI  1  ==============================================

      19:29:52.543 ISDN.L2_MSG PRI  1  Recd  02 01 01 35

      19:29:52.543 ISDN.L2_FMT PRI  1    Sapi:00 C/R:C Tei:00 Ctl:RR    Nr:26  P/F:1

      19:30:02.339 ISDN.L2_FMT PRI  1  ==============================================

      19:30:02.339 ISDN.L2_MSG PRI  1  Sent  02 01 01 33

      19:30:02.339 ISDN.L2_FMT PRI  1    Sapi:00 C/R:C Tei:00 Ctl:RR    Nr:25  P/F:1

      19:30:02.344 ISDN.L2_FMT PRI  1  ==============================================

      19:30:02.344 ISDN.L2_MSG PRI  1  Recd  02 01 01 35

      19:30:02.344 ISDN.L2_FMT PRI  1    Sapi:00 C/R:C Tei:00 Ctl:RR    Nr:26  P/F:1

      19:30:02.864 ISDN.L2_FMT PRI  1  ==============================================

      19:30:02.864 ISDN.L2_MSG PRI  1  Recd  00 01 32 34 08 02 00 01 05 04 03 80 90

      19:30:02.864 ISDN.L2_MSG PRI  1        A2 18 03 A1 83 81 70 0C 80 31 37 31 38

      19:30:02.864 ISDN.L2_MSG PRI  1        35 37 38 37 38 36 35

      19:30:02.864 ISDN.L2_FMT PRI  1    Sapi:00 C/R:R Tei:00 INFO Ns:25  Nr:26  P:0

      19:30:02.865 ISDN.L2_FMT PRI  1    Prot:08  CRL:2  CRV:0001

      19:30:02.865 ISDN.L2_FMT PRI  1    M - 05 SETUP

      19:30:02.865 ISDN.L2_FMT PRI  1     IE - 04 BEARER CAPABILITY   Len=3

      19:30:02.865 ISDN.L2_FMT PRI  1          80 Xfer Cap.:SPEECH

      19:30:02.865 ISDN.L2_FMT PRI  1          90 Xfer Rate:64k

      19:30:02.865 ISDN.L2_FMT PRI  1          A2 Layer 1:u-Law

      19:30:02.865 ISDN.L2_FMT PRI  1     IE - 18 CHANNEL ID          Len=3

      19:30:02.865 ISDN.L2_FMT PRI  1          A1 Primary Rate

      19:30:02.865 ISDN.L2_FMT PRI  1             Intfc ID:IMPLICIT

      19:30:02.865 ISDN.L2_FMT PRI  1             Pref/Excl:PREFERRED

      19:30:02.865 ISDN.L2_FMT PRI  1             D-Chan Indicated:NO

      19:30:02.865 ISDN.L2_FMT PRI  1             Chan. Sel:FOLLOWS

      19:30:02.866 ISDN.L2_FMT PRI  1          83 Numb/Map:NUMBER

      19:30:02.866 ISDN.L2_FMT PRI  1          81 Channel:1

      19:30:02.866 ISDN.L2_FMT PRI  1     IE - 70 CALLED PARTY #      Len=12

      19:30:02.866 ISDN.L2_FMT PRI  1          80 Numb. Type:UNKNOWN

      19:30:02.866 ISDN.L2_FMT PRI  1             Numb. Plan:UNKNOWN

      19:30:02.866 ISDN.L2_FMT PRI  1             Ph.# 17185787865

      19:30:02.866 ISDN.L2_FMT PRI  1  ==============================================

      19:30:02.866 ISDN.L2_MSG PRI  1  Sent  00 01 01 34

      19:30:02.866 ISDN.L2_FMT PRI  1    Sapi:00 C/R:R Tei:00 Ctl:RR    Nr:26  P/F:0

      19:30:02.879 ISDN.CC_MSG PRI  1  CC>>Host: 02 0002 SETUP_IND

      19:30:02.879 ISDN.CC_IE  PRI  1     ie: 00 04 0A 80 80 80 90 00 00 00 00 00 82

      19:30:02.879 ISDN.CC_IE  PRI  1     ie: 00 18 0B 81 80 80 81 00 00 80 03 00 00 01

      19:30:02.879 ISDN.CC_IE  PRI  1     ie: 00 70 0D 80 80 31 37 31 38 35 37 38 37 38 36 35

      19:30:02.880 ISDN.EP     PRI  1  Incoming call :'1718578xxx' from ''.

      19:30:02.880 ISDN.CC_MSG PRI  1  Host>>CC: 00 0002 CALL_PROCEEDING_REQ

      19:30:02.880 ISDN.CC_IE  PRI  1     ie: 00 18 0B 81 81 80 81 80 00 80 03 00 00 01

      19:30:02.880 ISDN.EP     PRI  1  Calling name available : .

      19:30:02.880 ISDN.RES_MGR Reserving an inbound channel.

      19:30:02.880 ISDN.RES_MGR Searching for matching ISDN Group.

       

      19:30:02.880 ISDN.GROUP 0 ISDN Group 0: Interface 'pri 1' is not connected.

       

      19:30:02.880 ISDN.RES_MGR ISDN Group 0 is best match.

       

      19:30:02.880 ISDN.RES_MGR Could not get an ISDN channel.

      19:30:02.881 ISDN.EP     PRI  1  Call to 1718578xxxx, endpoint could not reserve inbound channel.

      19:30:02.881 ISDN.CC_MSG PRI  1  Host>>CC: 00 0002 DISC_REQ

      19:30:02.881 ISDN.CC_IE  PRI  1     ie: 00 08 04 00 82 00 A2

      19:30:02.881 ISDN.L2_FMT PRI  1  ==============================================

      19:30:02.881 ISDN.L2_MSG PRI  1  Sent  02 01 34 34 08 02 80 01 02 18 03 A9 83

      19:30:02.881 ISDN.L2_MSG PRI  1        81

      19:30:02.881 ISDN.L2_FMT PRI  1    Sapi:00 C/R:C Tei:00 INFO Ns:26  Nr:26  P:0

      19:30:02.881 ISDN.L2_FMT PRI  1    Prot:08  CRL:2  CRV:8001

      19:30:02.881 ISDN.L2_FMT PRI  1    M - 02 CALL_PROC

      19:30:02.882 ISDN.L2_FMT PRI  1     IE - 18 CHANNEL ID          Len=3

      19:30:02.882 ISDN.L2_FMT PRI  1          A9 Primary Rate

      19:30:02.882 ISDN.L2_FMT PRI  1             Intfc ID:IMPLICIT

      19:30:02.882 ISDN.L2_FMT PRI  1             Pref/Excl:EXCLUSIVE

      19:30:02.882 ISDN.L2_FMT PRI  1             D-Chan Indicated:NO

      19:30:02.882 ISDN.L2_FMT PRI  1             Chan. Sel:FOLLOWS

      19:30:02.882 ISDN.L2_FMT PRI  1          83 Numb/Map:NUMBER

      19:30:02.882 ISDN.L2_FMT PRI  1          81 Channel:1

      19:30:02.882 ISDN.L2_FMT PRI  1  ==============================================

      19:30:02.882 ISDN.L2_MSG PRI  1  Sent  02 01 36 34 08 02 80 01 45 08 02 82 A2

      19:30:02.882 ISDN.L2_FMT PRI  1    Sapi:00 C/R:C Tei:00 INFO Ns:27  Nr:26  P:0

      19:30:02.883 ISDN.L2_FMT PRI  1    Prot:08  CRL:2  CRV:8001

      19:30:02.883 ISDN.L2_FMT PRI  1    M - 45 DISCONNECT

      19:30:02.883 ISDN.L2_FMT PRI  1     IE - 08 CAUSE               Len=2

      19:30:02.883 ISDN.L2_FMT PRI  1          82 Location:LN

      19:30:02.883 ISDN.L2_FMT PRI  1          A2 Cause:34 (NO_CIRCUIT_AVAILABLE)

      2013.09.12 19:30:02 ISDN.EP     PRI  1  Incoming call not completed - use debug isdn for more info: NO_CIRCUIT_AVAILABLE : Loc=LN

       

      19:30:02.888 ISDN.L2_FMT PRI  1  ==============================================

      19:30:02.888 ISDN.L2_MSG PRI  1  Recd  02 01 01 36

      19:30:02.888 ISDN.L2_FMT PRI  1    Sapi:00 C/R:C Tei:00 Ctl:RR    Nr:27  P/F:0

      19:30:02.890 ISDN.L2_FMT PRI  1  ==============================================

      19:30:02.890 ISDN.L2_MSG PRI  1  Recd  02 01 01 38

      19:30:02.890 ISDN.L2_FMT PRI  1    Sapi:00 C/R:C Tei:00 Ctl:RR    Nr:28  P/F:0

      19:30:02.892 ISDN.L2_FMT PRI  1  ==============================================

      19:30:02.892 ISDN.L2_MSG PRI  1  Recd  00 01 34 38 08 02 00 01 4D

      19:30:02.892 ISDN.L2_FMT PRI  1    Sapi:00 C/R:R Tei:00 INFO Ns:26  Nr:28  P:0

      19:30:02.892 ISDN.L2_FMT PRI  1    Prot:08  CRL:2  CRV:0001

      19:30:02.892 ISDN.L2_FMT PRI  1    M - 4D RELEASE

      19:30:02.892 ISDN.L2_FMT PRI  1  ==============================================

      19:30:02.892 ISDN.L2_MSG PRI  1  Sent  00 01 01 36

      19:30:02.892 ISDN.L2_FMT PRI  1    Sapi:00 C/R:R Tei:00 Ctl:RR    Nr:27  P/F:0

      19:30:02.899 ISDN.L2_FMT PRI  1  ==============================================

      19:30:02.899 ISDN.L2_MSG PRI  1  Sent  02 01 38 36 08 02 80 01 5A

      19:30:02.899 ISDN.L2_FMT PRI  1    Sapi:00 C/R:C Tei:00 INFO Ns:28  Nr:27  P:0

      19:30:02.899 ISDN.L2_FMT PRI  1    Prot:08  CRL:2  CRV:8001

      19:30:02.900 ISDN.L2_FMT PRI  1    M - 5A RELEASE_CMP

      19:30:02.900 ISDN.CC_MSG PRI  1  CC>>Host: 02 0002 CLEAR_CONF

      19:30:02.905 ISDN.L2_FMT PRI  1  ==============================================

      19:30:02.905 ISDN.L2_MSG PRI  1  Recd  02 01 01 3A

      19:30:02.905 ISDN.L2_FMT PRI  1    Sapi:00 C/R:C Tei:00 Ctl:RR    Nr:29  P/F:0

      19:30:12.701 ISDN.L2_FMT PRI  1  ==============================================

      19:30:12.701 ISDN.L2_MSG PRI  1  Sent  02 01 01 37

      19:30:12.701 ISDN.L2_FMT PRI  1    Sapi:00 C/R:C Tei:00 Ctl:RR    Nr:27  P/F:1

      19:30:12.705 ISDN.L2_FMT PRI  1  ==============================================

      19:30:12.705 ISDN.L2_MSG PRI  1  Recd  02 01 01 3B

      19:30:12.705 ISDN.L2_FMT PRI  1    Sapi:00 C/R:C Tei:00 Ctl:RR    Nr:29  P/F:1

       

      Please see config file below...maybe there is something I am missing here?

       

      PRI is in UP/UP state.

       

      Partial Config:

       

       

      ip subnet-zero

      ip classless

       

      ip routing

      !

      !

       

      ip name-server 8.8.8.8 8.8.4.4

      !

      !

      no auto-config

      !

      event-history on

      no logging forwarding

      no logging email

      !

      service password-encryption

      !

       

      !

      ip firewall

      ip firewall stealth

      no ip firewall alg msn

      no ip firewall alg mszone

      no ip firewall alg h323

      !

      !

      !

      !

      !

      no dot11ap access-point-control

      !

      !

       

      !

      !

      !

      !

      !

      !

      !

      !

      !

      !

      !

      !

      interface eth 0/1

        ip address  xx.xx.xx.207  255.255.255.224

        access-policy Primary

        media-gateway ip primary

        no awcp

        no shutdown

      !

      !

      interface eth 0/2

        description TowerStream Backup Interface

        ip address  xx.xx.xxx.13  255.255.255.192

        access-policy Backup

        media-gateway ip primary

        no awcp

        no shutdown

      !

      !

      !

      !

      interface t1 0/1

        description PRI Handoff to Allworx

        shutdown

      !

      interface t1 0/2

        description PRI Handoff to Allworx

        shutdown

      !

      interface t1 0/3

        description PRI Handoff to Allworx

        tdm-group 1 timeslots 1-24 speed 64

        no shutdown

      !

      interface t1 0/4

        shutdown

      !

      !

      interface pri 1

        description pri 1

        connect t1 0/3 tdm-group 1

        role network b-channel-restarts enable

        no shutdown

      !

      !

      interface fxs 0/1

        no shutdown

      !

      interface fxs 0/2

        no shutdown

      !

      interface fxs 0/3

        no shutdown

      !

      interface fxs 0/4

        no shutdown

      !

      interface fxs 0/5

        no shutdown

      !

      interface fxs 0/6

        no shutdown

      !

      interface fxs 0/7

        no shutdown

      !

      interface fxs 0/8

        no shutdown

      !

      !

      interface fxo 0/0

        no shutdown

      !

      !

      !

      !

      !

      !

      !

      !

      ip access-list extended web-acl-1

        permit tcp any  any eq www   log

        permit tcp any  any eq https   log

        permit tcp any  any eq ssh   log

        permit icmp any  any  echo   log

      !

      ip access-list extended web-acl-2

        permit tcp any  any eq www   log

        permit tcp any  any eq https   log

        permit tcp any  any eq ssh   log

        permit icmp any  any  echo   log

      !

      ip access-list extended web-acl-3

        remark VOIP Port Forward Allow - UDP

        permit udp any  any eq 5060 

      !

      ip access-list extended web-acl-4

        remark VOIP Port Forward Allow - TCP

        permit tcp any  any eq 5060

      !

      ip access-list extended web-acl-5

        remark VOIP Port Forward Allow - UDP

        permit udp any  any eq 5060 

      !

      ip access-list extended web-acl-6

        remark VOIP Port Forward Allow - TCP

        permit tcp any  any eq 5060

      !

      !

      ip policy-class Backup

        allow list web-acl-5

        allow list web-acl-6

        allow list web-acl-2 self

      !

      ip policy-class Primary

        allow list web-acl-4

        allow list web-acl-3

        allow list web-acl-1 self

      !

      !

      !

      ip route 0.0.0.0 0.0.0.0 xx.xxx.xx.193 track primary-track

      ip route 0.0.0.0 0.0.0.0 xx.xxx.xxx.1 100

      ip route 8.8.8.8 255.255.255.255 xx.xx.xx.193

      ip route 8.8.8.8 255.255.255.255 null 0

      !

      no ip tftp server

      no ip tftp server overwrite

      ip http server

      no ip http secure-server

      no ip snmp agent

      no ip ftp server

      no ip scp server

      no ip sntp server

      !

      !

      !

      !

      !

      !

      ip sip

      ip sip udp 5060

      no ip sip tcp

      !

      !

      voice international-prefix abbreviated

      !

      voice feature-mode network

      voice forward-mode network

      !

      !

      !

      !

      !

      !

      !

      voice dial-plan 4 local 9-NXX-XXXX

      voice dial-plan 6 always-permitted 9-911

      voice dial-plan 9 user1 9-N11

      !

      !

      !

      !

      voice codec-list "g711 first"

        default

        codec g711ulaw

        codec g729

      !

      !

      !

      voice trunk T01 type sip

        description "Bandwith.com"

        sip-server primary xxxx

        outbound-proxy primary xxxx

        max-number-calls 64

        codec-group "g711 first"

        default-ring-cadence external

        no diversion-supported

      !

      voice trunk T03 type t1-rbs supervision wink role network

        rtp delay-mode adaptive

      !

      !

      voice grouped-trunk "BANDWITH.COM SIP"

        trunk T01

        accept 1-NXX-NXX-XXXX cost 0

        accept NXX-XXXX cost 0

        accept 911 cost 0

        accept N11 cost 0

        accept 011-$ cost 0

      !

      !

       

      !