[Asterisk-Users] TE405P Dropping Calls

James Bean james at hdcs.com.au
Fri Aug 5 17:53:57 MST 2005


Hi,

Urgently response would be wonderful, system is a Fedora Core 2.

I have a Ericsson BP250 connected to 1 port on the TE405P and another
connected to a local telco ISDN30.

I have been running CVS-HEAD from about a 2 months ago and upgraded it
again just in cause it was a version issue (didn't fix it) but this is
what I am getting.

When a person calls out from an extension on the BP250 to the outside
world, every 2-5 minutes randomly it drops all active calls with the
following error on console.

 == Spawn extension (te405p-intelstra, 38166483, 2) exited non-zero on
'Zap/5-1'
    -- Hungup 'Zap/2-1'
  == Spawn extension (te405p-frombp250, 00402270883, 1) exited non-zero
on 'Zap/95-1'
    -- Hungup 'Zap/98-1'
  == Spawn extension (te405p-intelstra, 38166483, 2) exited non-zero on
'Zap/7-1'
    -- Hungup 'Zap/1-1'
  == Spawn extension (te405p-frombp250, 00417513573, 1) exited non-zero
on 'Zap/94-1'
    -- Hungup 'Zap/97-1'
  == Spawn extension (te405p-intelstra, 38165965, 2) exited non-zero on
'Zap/6-1'
    -- Hungup 'Zap/5-1'
    -- Hungup 'Zap/95-1'
    -- Hungup 'Zap/7-1'
    -- Hungup 'Zap/94-1'
    -- Hungup 'Zap/6-1'
!! Got reject for frame 77, retransmitting frame 77 now, updating n_r!
!! Got reject for frame 77, retransmitting frame 78 now, updating n_r!
!! Got reject for frame 77, retransmitting frame 79 now, updating n_r!
!! Got reject for frame 77, retransmitting frame 80 now, updating n_r!
!! Got reject for frame 77, retransmitting frame 81 now, updating n_r!

If I unplug the ISDN30 from asterisk and plug it directly into the BP250
it works fine no problems.

It only just started happening and there have been no changes to the
system configuration or setup for over 2 weeks, I am tempted to try and
downgrade to 1.0.7. Although the telco did add additional DID's for the
ISDN 30, which were added to the extensions.conf, but with them removed
it still did the same thing.

My configuration files are as follows :-

/etc/zaptel.conf
span=1,1,0,ccs,hdb3,crc4
bchan=1-15
dchan=16
bchan=17-31
span=2,1,0,ccs,hdb3,crc4
bchan=32-46
dchan=47
bchan=48-62
span=3,1,0,ccs,hdb3,crc4
bchan=63-77
dchan=78
bchan=79-93
span=4,1,0,ccs,hdb3,crc4
bchan=94-108
dchan=109
bchan=110-124

loadzone=au

/etc/asterisk/zapata.conf
[channels]
context=default
musiconhold=default
switchtype=euroisdn
usecallerid=yes
cidsignalling=v23
cidstart=polarity
hidecallerid=no
callwaiting=no
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=800
rxgain=0.0
txgain=0.0

group=1
context=te405p-intelstra
;context=te405p-ext
pridialplan=local
signalling=pri_cpe
;overlapdial=yes
callerid=asreceived
channel=>1-15, 17-31

group=4
context=te405p-frombp250
;context=te405p-in
pridialplan=local
signalling=pri_net
overlapdial=yes
callerid=asreceived
channel=>94-108, 110-124

/etc/asterisk/extensions.conf
[dialstring]

exten => i,1,Playback(invalid)
exten => i,2,Hangup
exten => t,1,Hangup

[te405p-frombp250]

include => to-sip
include => te405p-outtelstra

[te405p-tobp250]

exten => _2XX,1,Dial(Zap/g4/${EXTEN},60,r)
exten => _4XX,1,Dial(Zap/g4/${EXTEN},60,r)
exten => _7XX,1,Dial(Zap/g4/${EXTEN},60,r)
exten => _1XXX,1,Dial(Zap/g4/${EXTEN},60,r)
exten => _73816592XX,1,Dial(Zap/g4/${EXTEN:7},60,r)

[te405p-intelstra]

exten => s,1,SetMusicOnHold(record)
exten => s,2,Dial(SIP/bt-pavilion,45,t)
exten => s,4,VoiceMail,u500
exten => s,5,Hangup

exten => 38166400,1,SetMusicOnHold(random)
exten => 38166400,2,Dial(Zap/g4/9,600,t)
exten => 38166400,3,VoiceMail,u500
exten => 38166400,4,Hangup

;Main Number 3282 2922 comes in on 38166483
exten => 38166483,1,SetMusicOnHold(random)
exten => 38166483,2,Dial(Zap/g4/9,6000,t)
exten => 38166483,3,VoiceMail,u500
exten => 38166483,4,Hangup

;Tempory Number for Darryl
exten => 38166488,1,SetMusicOnHold(random)
exten => 38166488,2,Dial(Zap/g4/483,6000,t)
exten => 38166488,3,VoiceMail,u500
exten => 38166488,4,Hangup

exten => 32822922,1,SetMusicOnHold(random)
exten => 32822922,2,Dial(Zap/g4/9,600,t)
exten => 32822922,3,VoiceMail,u500
exten => 32822922,4,Hangup

;exten =>
38166444,1,SetVar(CALLFILENAME=/mnt/asterisk/38166444/${CALLERID}-${TIME
STAMP})
;exten => 38166444,2,Monitor(gsm,${CALLFILENAME},m)
exten => 38166444,1,Dial(Zap/g4/9)

;exten =>
38166483,1,SetVar(CALLFILENAME=/mnt/asterisk/38166483/${CALLERID}-${TIME
STAMP})
;exten => 38166483,2,Monitor(gsm,${CALLFILENAME},m)
;exten => 38166483,3,Dial(Zap/g4/483)

exten => _381684XX,1,SetMusicOnHold(record)
exten => _381684XX,2,Dial(Zap/g4/2${EXTEN:-2},600,t)
exten => _381684XX,3,VoiceMail,u500
exten => _381684XX,4,Hangup

exten => _381659XX,1,SetMusicOnHold(record)
exten => _381659XX,2,Dial(Zap/g4/2${EXTEN:-2},6000,t)
exten => _381659XX,3,Dial(Zap/g4/211,600,t)
exten => _381659XX,4,Hangup

[te405p-outtelstra]

exten => _00011X.,1,AGI(blockintl.agi|${EXTEN:1})

exten => _01902X.,1,Hangup

exten => _0X.,1,Dial(Zap/g1/${EXTEN:1})
exten => _0X.,2,Congestion
exten => _0X.,3,Hangup

include => dialstring

[to-sip]

exten => 098,1,WaitMusicOnHold(45)
exten => 099,1,Echo     ;simple echo test when you dial 099 on your
phone

exten => 511,1,VoiceMailMain(s${CALLERIDNUM})

exten => 500,1,SetMusicOnHold(random)
exten => 500,2,Dial(SIP/bt-pavilion,30,Ttr)
exten => 500,3,Voicemail2,u500
exten => 500,103,Voicemail2,b500

exten => 550,1,SetMusicOnHold(random)
exten => 550,2,Dial(SIP/bt-rlm,30,Ttr)
exten => 550,3,Voicemail,u550
exten => 550,103,Voicemail,b550

exten => 555,1,SetMusicOnHold(random)
exten => 555,2,Dial(ZAP/g4/211)
exten => 555,3,Voicemail,u555
exten => 555,103,Voicemail,b555

exten => 556,1,SetMusicOnHold(random)
exten => 556,2,Dial(SIP/js-softphone,30,Ttr)
exten => 556,3,Voicemail,u556
exten => 556,103,Voicemail,b556

exten => 558,1,SetMusicOnHold(random)
exten => 558,2,Dial(SIP/zyxtel01,60,Ttr)
exten => 558,3,Voicemail,u580
exten => 558,103,Voicemail,b580

exten => 560,1,SetMusicOnHold(random)
exten => 560,2,Dial(SIP/odebeljak,30,Ttr)
exten => 560,3,Voicemail,u560
exten => 560,103,Voicemail,b560

exten => 561,1,SetMusicOnHold(random)
exten => 561,2,Dial(SIP/dsetevenson,30,Ttr)
exten => 561,3,Voicemail,u561
exten => 561,103,Voicemail,b561

exten => 562,1,SetMusicOnHold(random)
exten => 562,2,Dial(SIP/mkelso,30,Ttr)
exten => 562,3,Voicemail,u562
exten => 562,103,Voicemail,b562

exten => 563,1,SetMusicOnHold(random)
exten => 563,2,Dial(SIP/shorrell,30,Ttr)
exten => 563,3,Voicemail,u563
exten => 563,103,Voicemail,b563

exten => 564,1,SetMusicOnHold(random)
exten => 564,2,Dial(SIP/gwilson,30,Ttr)
exten => 564,3,Voicemail,u564
exten => 564,103,Voicemail,b564

exten => 565,1,SetMusicOnHold(random)
exten => 565,2,Dial(SIP/sabraham,30,Ttr)
exten => 565,3,Voicemail,u565
exten => 565,103,Voicemail,b565

exten => 566,1,SetMusicOnHold(random)
exten => 566,2,Dial(SIP/jsparksman,30,Ttr)
exten => 566,3,Voicemail,u566
exten => 566,103,Voicemail,b566

exten => 567,1,SetMusicOnHold(random)
exten => 567,2,Dial(SIP/rdrysdale,30,Ttr)
exten => 567,3,Voicemail,u567
exten => 567,103,Voicemail,b567

exten => 580,1,SetMusicOnHold(random)
exten => 580,2,Dial(SIP/softphone1,30,Ttr)
exten => 580,3,Voicemail,u580
exten => 580,103,Voicemail,b580

[from-sip]

include => to-sip
include => te405p-tobp250
include => te405p-outtelstra



More information about the asterisk-users mailing list