[asterisk-users] libpri error??
Richard Mudgett
rmudgett at digium.com
Wed Mar 14 12:51:08 CDT 2012
<snip>
> /etc/asterisk/chan_dahdi.conf
> ==================================================================
> ;autogenerated by /usr/sbin/wancfg_dahdi do not hand edit
> ;autogenrated on 2012-02-29
> ;Dahdi Channels Configurations
> ;For detailed Dahdi options, view /etc/asterisk/chan_dahdi.conf.bak
>
> [trunkgroups]
>
> [channels]
> context=default
> usecallerid=yes
> hidecallerid=no
> callwaiting=yes
> usecallingpres=yes
> callwaitingcallerid=yes
> threewaycalling=yes
> transfer=yes
> canpark=yes
> cancallforward=yes
> callreturn=yes
> echocancel=yes
> echocancelwhenbridged=yes
> relaxdtmf=yes
> rxgain=0.0
> txgain=0.0
> group=1
> callgroup=1
> pickupgroup=1
> immediate=no
Try adding
resetinterval = never
here. The default is to reset any idle channels every 3600 seconds.
Unfortunately, if a channel is being reset just as an incoming call
arrives, there is a chance that the channel will get stuck in a
resetting state and block any further use of that channel.
A quick look at your traces indicates that your channels are
"already in use" so an incoming call is cleared with a cause 44. This
can happen if there is a call collision or the channel is stuck. I
would recommend that you minimize call collisions by making outbound
calls pick channels from the opposite end of the channel range as the
network. This is usually by using uppercase G in the Dial(DAHDI/G1/number)
to the first available channel from the upper end of the channel range.
Richard
>
> ; Required for Embarq / CenturyTel
> pridialplan=unknown
> prilocaldialplan=local
> priindication=outofband
> priexclusive=no
>
> ;Sangoma A104 port 1 [slot:4 bus:9 span:1] <wanpipe1>
> switchtype=national
> context=from-pstn
> group=0
> echocancel=yes
> signalling=pri_cpe
> channel =>1-23
>
> ;Sangoma A104 port 2 [slot:4 bus:9 span:2] <wanpipe2>
> switchtype=national
> context=from-internal
> group=1
> echocancel=yes
> signalling=pri_net
> channel =>25-47
>
> ;Sangoma A104 port 3 [slot:4 bus:9 span:3] <wanpipe3>
> switchtype=national
> context=from-internal
> group=2
> echocancel=yes
> signalling=pri_net
> channel =>49-71
>
> ;Sangoma A104 port 4 [slot:4 bus:9 span:4] <wanpipe4>
> switchtype=national
> context=from-internal
> group=3
> echocancel=yes
> signalling=pri_net
> channel =>73-95
> ==================================================================
<snip>
> Installed Software
> ==================================================================
> asterisk-1.4.43-1.C4.SC
> asterisk-addons-1.4.13-1.C4.LSE
> asterisk-core-sounds-en-wav-1.4.21-1.C4.SC
> asterisk-devel-1.4.43-1.C4.SC
> asterisk-extra-sounds-en-gsm-1.4.11-2.C4.LSE
> asterisk-libpri-2283-1svn.C4.SC
> asterisk-perl-1.01-1.C4.LSE
> dahdi-linux-2.6.0-2.6.9_103.plus.c4.LSE.1smp_3.C4.SC
> dahdi-tools-2.6.0-2.C4.SC
> iaxmodem-static-1.2.0-1.C4.SC
> kernel-smp-2.6.9-103.plus.c4.LSE.1
> kernel-utils-2.4-23.el4
> wanpipe-3.5.25-1.SC
> wanpipe-modules-3.5.25-kernel.2.6.9.103.plus.c4.LSE.1smp.dahdi.2.6.0_1.SC
> ==================================================================
More information about the asterisk-users
mailing list