[asterisk-users] PRI hangup certain outgoing calls

Steve Totaro stotaro at totarotechnologies.com
Mon Apr 28 08:52:01 CDT 2008


On Mon, Apr 28, 2008 at 9:29 AM, Alastair Battrick <al at aj8.org> wrote:
> I have a problem calling a certain number from our PRI line. Calling the
>  number from a separate PSTN phone works fine.
>
>  The remote number seems to have some funny call redivert setup, when you
>  call it, it answers immediately, makes some kind of beep and then starts
>  to ring.
>
>  Our PRI is in the UK from Telewest/NTL/Virgin Media and most outgoing
>  calls work without a problem. The server is trixbox based with a Digium
>  TE410P PRI interface. Trixbox 2.6, Asterisk 1.4.18-3, FreeBPX 2.4.
>
>  I'm no expert, but the PRI trace shows that the outgoing call is
>  proceeding, and then seems to show that my end of the connection has
>  disconnected the call, but I cannot work out why - it has already agreed
>  to setup the call!
>
>  What is causing this disconnect? Is there some tone detection going on
>  behind the scenes?
>
>  ========================================
>  [zaptel]
>  span=1,1,0,ccs,hdb3,crc4
>  bchan=1-15,17-31
>  dchan=16
>  loadzone        = uk
>  defaultzone     = uk
>  ========================================
>  [zapata]
>  [channels]
>  language=en
>  context=from-zaptel-custom
>  usecallerid=yes
>  hidecallerid=no
>  restrictcid=no
>  usecallingpres=yes
>  overlapdial=yes
>  echocancel=64
>  echocancelwhenbridged=no
>  echotraining=yes
>  rxgain=0.0
>  txgain=0.0
>  immediate=no
>  faxdetect=no
>  busydetect=no
>  callprogress=no
>  pridialplan=local
>  prilocaldialplan=local
>
>  group=1
>  switchtype = euroisdn
>  signalling = pri_cpe
>  channel => 1-8
>  ========================================
>  PRI Trace
>

[snipped]
Location: Private network serving the local user (1)
 >                  Ext: 1  Cause: Circuit/channel congestion (34),
class = Network Congestion (resource unavailable) (2) ]
    -- Hungup 'Zap/1-1'

Is this Trixbox/FreePBX?  What version of Asterisk?

http://www.trixbox.org/forums/trixbox-forums/help/inbound-calls-over-pri-get-fast-busy

"I believe the issue is a bug
Mon, 04/14/2008 - 12:50pm
I believe the issue is a bug in channel locking in Asterisk 1.4.18.
I'm waiting for Asterisk 1.4.19 to be released through Trixbox, which
has bugfixes applied to fix this exact issue."  Last post on the
webpage, seems to be the same issue.

I believe the issue is a bug in channel locking in Asterisk 1.4.18.
I'm waiting for Asterisk 1.4.19 to be released through Trixbox, which
has bugfixes applied to fix this exact issue.

This is the section to focus on.  Sorry I cannot be of much help.  Can
you dial other numbers, it is just an issue with one in particular?

http://www.voip-info.org/wiki/view/Asterisk+variable+hangupcause

#define AST_CAUSE_NORMAL_CIRCUIT_CONGESTION 34
#define AST_CAUSE_NO_ROUTE_TRANSIT_NET 2 (this is fishy)

I would contact your service provider, they may be able to explain it
better if not fix it.

Thanks,
Steve Totaro



More information about the asterisk-users mailing list