PRI Can Receive Calls But Cannot Dial Out

Home » Asterisk Users » PRI Can Receive Calls But Cannot Dial Out
Asterisk Users 6 Comments

Hi,

I’m trying to call out from a SIP extension to an outbound destination via a PRI E1 (Digium B410P).

Please take a look at the PRI debug below.

——

6 thoughts on - PRI Can Receive Calls But Cannot Dial Out

  • Hi!

    1) How long does the outdial take? Does the Dial-Command return immediatly?

    2) Maybe dial-out is blocked by your carrier? Did you try to open a trouble ticket there?

    3) What number do you try to call? Did you try some different number?
    Alway the same problem?

    You receive ISDN-Cause-Code 18. Not sure though, but I would open a troubke ticket at your carrier.

    -Thorsten-

    Am 05.12.2012 08:48, schrieb Vieri:

  • — Hi,

    1) just a few seconds (max. 5)
    2) it isn’t blocked by the carrier (see below)
    3) always the same problem regardless of dialed number

    I did another test and noticed that if the first port of the card is disconnected (no cable) then calls can’t go out (they can only come in). However, if I connect the first port then calls do go out. Why’s that?
    Could there be something wrong with my /etc/dahdi/system.conf or chan_dahdi.conf (see above)?

    Thanks,

    Vieri

  • Why don’t your span numbers match? 1-4 but you have 3-6 in your .conf.

    Have you tried to loop the ports or spans back to another port?

    Set two ports for cpe and the other two for net, then crossover cable to connect cpe to net. Spans should come up and you should be able to simulate the telco and test everything out in both directions.

    Finally, call Digium and your telco if you are able to do the above with no problems.

    Thanks, Steve Totaro

  • The first port has channels defined in group 2, but the port is down. Have you tried dialing out with G2 as opposed to g2?

    Alex

  • — All 4 ports are within group 2. If port 1 is down (disconnected) and all other 3 are up then:
    – dialing g2 fails all the time
    – dialing G2 succeeds I know the difference between G2 and g2 but isn’t g2 supposed to “work” even if port 1 is down? Isn’t asterisk supposed to skip ports that are down until it finds one that’s up?

    Vieri

  • — What do you mean?

    I have the following:

    span=3,1,0,CCS,AMI
    span=4,2,0,CCS,AMI
    span=5,3,0,CCS,AMI
    span=6,4,0,CCS,AMI

    The first parameter is the port number (3-6). The second parameter is Timing (1-4). Is it mandatory to begin the port numbering with 1? Or does it simply have to be sequential?

    Anyway, I set the span port numbers from 3 to 6 because I based myself on the output of dahdi_scan which was the following:

    # dahdi_scan
    [1]
    active=yes alarms=OK
    description=Wildcard TDM400P REV I Board 5
    name=WCTDM/4
    manufacturer=Digium devicetype=Wildcard TDM400P REV I
    location=PCI Bus 00 Slot 04
    basechan=1
    totchans=4
    irq=18
    type=analog port=1,FXO
    port=2,FXO
    port=3,FXO
    port=4,FXO
    [2]
    active=yes alarms=OK
    description=Wildcard TDM2400P
    name=WCTDM/0
    manufacturer=Digium devicetype=Wildcard TDM2400P
    location=PCI Bus 00 Slot 05
    basechan=5
    totchans=24
    irq=20
    type=analog port=5,FXO
    port=6,FXO
    port=7,FXO
    port=8,FXO
    port=9,FXO
    port=10,FXO
    port=11,FXO
    port=12,FXO
    port=13,none port=14,none port=15,none port=16,none port=17,none port=18,none port=19,none port=20,none port=21,none port=22,none port=23,none port=24,none port=25,none port=26,none port=27,none port=28,none
    [3]
    active=yes alarms=OK
    description=B4XXP (PCI) Card 0 Span 1
    name=B4/0/1
    manufacturer=Digium devicetype=Wildcard B410P
    location=PCI Bus 00 Slot 06
    basechan=29
    totchans=3
    irq=23
    type=digital-TE
    syncsrc=0
    lbo=0 db (CSU)/0-133 feet (DSX-1)
    coding_opts=B8ZS,AMI,HDB3
    framing_opts=ESF,D4,CCS,CRC4
    coding=AMI
    framing=CCS
    [4]
    active=yes alarms=OK
    description=B4XXP (PCI) Card 0 Span 2
    name=B4/0/2
    manufacturer=Digium devicetype=Wildcard B410P
    location=PCI Bus 00 Slot 06
    basechan=32
    totchans=3
    irq=23
    type=digital-TE
    syncsrc=0
    lbo=0 db (CSU)/0-133 feet (DSX-1)
    coding_opts=B8ZS,AMI,HDB3
    framing_opts=ESF,D4,CCS,CRC4
    coding=AMI
    framing=CCS
    [5]
    active=yes alarms=OK
    description=B4XXP (PCI) Card 0 Span 3
    name=B4/0/3
    manufacturer=Digium devicetype=Wildcard B410P
    location=PCI Bus 00 Slot 06
    basechan=35
    totchans=3
    irq=23
    type=digital-TE
    syncsrc=0
    lbo=0 db (CSU)/0-133 feet (DSX-1)
    coding_opts=B8ZS,AMI,HDB3
    framing_opts=ESF,D4,CCS,CRC4
    coding=AMI
    framing=CCS
    [6]
    active=yes alarms=RED
    description=B4XXP (PCI) Card 0 Span 4
    name=B4/0/4
    manufacturer=Digium devicetype=Wildcard B410P
    location=PCI Bus 00 Slot 06
    basechan=38
    totchans=3
    irq=23
    type=digital-TE
    syncsrc=0
    lbo=0 db (CSU)/0-133 feet (DSX-1)
    coding_opts=B8ZS,AMI,HDB3
    framing_opts=ESF,D4,CCS,CRC4
    coding=AMI
    framing=CCS

    I assumed I should use as port numbers the values within square brackets above.

    Still, I’m wondering why outgoing calls don’t work (dial/g2 in my example) if I disconnect the cable from:
    span=3,1,0,CCS,AMI
    and leave all the others connected.

    Vieri