[Asterisk-Users] Line Dropouts on E405P

Asterisk - Mailing List Asterisk at northbuild.com.au
Sun Feb 19 15:45:30 MST 2006


Hi,
 
We have a Ericsson BP250 Phone system setup witht he following configuration
 
Telco <-> Asterisk E405P <-> BP250
 
The system seem to work perfectly on 1.0.9 for a very long time but there is some functionality we wanted to take advantage of in the 1.2 version branch so we upgraded.
 
Currently running
 
Asterisk 1.2.4
Zaptel 1.2.3 (noticed 1.2.4 is out will upgrade next weekend)
Libpri 1.2.2
 
The problem we are getting is wierd but :-
Sorry about the timings looking wierd but you have to allow a fudge factor of anywhere upto 12 hours when dealing with reports from on-site personel.
 
* Wednesday ~ 9.30am All calls drops for 1 second, then back online, then ~5 minutes later, same thing
* Thursday  ~ 10.30am All calls drops for 1 second, then back online, then ~5 minutes later, same thing
* Friday ~ 11.30am All calls drops for 1 second, then back online, then ~5 minutes later, same thing

Just before it drops out the calls sound a little fuzzy.
 
There is no warning messages on console.

Error log (which seem to correspond to drops outs):
Feb 17 11:30:08 WARNING[2566] chan_zap.c: No D-channels available!  Using
Primary channel 47 as D-channel anyway!
Feb 17 11:36:12 WARNING[2565] chan_zap.c: No D-channels available!  Using
Primary channel 16 as D-channel anyway!
 
D-Channel 47 relates to the socket which is connected to the BP250, D-Channel 16 relates to the socket connected to the telco.
 
I really don't want to have to drop back to 1.0.9 if i can avoid it.
 
Log files and settings :-
 
Logger.conf
full => notice,warning,error

Zaptel.conf
span=1,1,0,ccs,hdb3,crc4
bchan=1-15
dchan=16
bchan=17-31
span=2,0,0,ccs,hdb3,crc4
bchan=32-46
dchan=47
bchan=48-62
span=3,0,0,ccs,hdb3,crc4
bchan=63-77
dchan=78
bchan=79-93
span=4,0,0,ccs,hdb3,crc4
bchan=94-108
dchan=109
bchan=110-124
 
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
pridialplan=local
signalling=pri_cpe
;overlapdial=yes
callerid=asreceived
channel=>1-15, 17-31
group=4
context=te405p-frombp250
pridialplan=local
signalling=pri_net
overlapdial=yes
callerid=asreceived
channel=>32-46, 48-62

Extensions.conf (Sorry for it being so large, most of the rest it of is in other files)
[default]
exten => s,1,Dial(SIP/5552,45,t)
[dialstring]
exten => i,1,Playback(invalid)
exten => i,2,Hangup
exten => t,1,Hangup
[atp-out]
exten => _8X.,1,Dial(SIP/${EXTEN:1}@voip_callpacket_com)
;exten => _8X.,1,dial(SIP/${EXTEN:1}@voip.telepacket.com,30)
exten => _8X.,2,Congestion
exten => _9X.,1,Dial(IAX2/username:passwordremoved at gw3.austechpartnerships.com/${EXTEN:1})
exten => _9X.,2,Congestion
exten => _9X.,3,Hangup
[from-callpacket]
exten => 17025541498,1,Answer
exten => 17025541498,2,Dial(SIP/557)
exten => 17025541498,3,Hangup
[atp-in]
exten => 30182849,1,SetMusicOnHold(record)
exten => 30182849,2,Dial(SIP/551,45,t)
exten => 30182849,3,Voicemail,u551
exten => 30182849,103,Voicemail,b551
exten => s,1,Dial(SIP/3332,45,t)

[te405p-frombp250]
exten => _321X.,1,Dial(IAX2/username:passwordremoved at gw3.austechpartnerships.com/${EXTEN:3})
include => to-sip
include => parkedcalls
include => record-transfer
include => atp-out
include => voicerec
include => lm1_functions
include => te405p-outtelstra

[te405p-tobp250]
#include extensions_te405p-tobp250.conf
[te405p-intelstra]
#include extensions_te405p-intelstra.conf
include => to-sip
[te405p-outtelstra]
#include extensions_te405p-outtelstra.conf
include => dialstring
include => js_play_ael
[from-sip]
exten => 555,1,dial(SIP/username:passwordremoved at ivoice.ipsystems.com.au/0732822922)
exten => 881,1,Dial(Zap/G4/38165912)
exten => 982,1,Dial(Zap/G4/38166400)
exten => 983,1,Dial(Zap/G4/38105000)
exten => 984,1,Dial(Zap/G4/11115483)
exten => 985,1,Dial(Zap/G4/11115912)
exten => 986,1,Dial(Zap/G4/11115760)
exten => 987,1,Dial(Zap/G4/11115765)
exten => 988,1,Dial(Zap/G4/11111006)
exten => 989,1,Dial(Zap/G4/11115947)
exten => 333355,1,Dial(Zap/G1/0423813901)

exten => s,1,Dial(SIP/3332,45,t)
include => atp-out
include => lm1_functions
include => from-callpacket
include => to-sip
include => te405p-tobp250
include => te405p-outtelstra
include => record-transfer
include => parkedcalls
include => voicerec

[record-transfer]
exten => _32XX,1,SetVar(DDATE=${TIMESTAMP})
exten => _32XX,2,SetVar(CALLFILENAME=/mnt/asterisk/pub/newbiz/${DDATE:0:8}/${EXTEN:1}/${EXTEN:1}-${TIMESTAMP})
exten => _32XX,3,Monitor(gsm,${CALLFILENAME},m)
exten => _32XX,4,Dial(ZAP/g4/1111${EXTEN:1})
exten => _32XX,5,Congestion
exten => _32XX,105,Congestion
exten => _34XX,1,SetVar(CALLFILENAME=/mnt/asterisk/5xxx/CallTo-${EXTEN:1}-${TIMESTAMP})
exten => _34XX,2,Monitor(gsm,${CALLFILENAME},m)
exten => _34XX,3,Dial(ZAP/g4/1111${EXTEN:1})
exten => _34XX,4,Congestion
exten => _34XX,104,Congestion
exten => _399X.,1,Dial(IAX2/username:passwordremoved at gw3.austechpartnerships.com/0011${EXTEN:3})
exten => _399X.,2,Congestion
exten => _399X.,3,Hangup
[voicerec]
exten => 381,1,Festival('Please record your message')
exten => 381,2,Record(newrecording.gsm)
exten => 381,3,Festival('You said')
exten => 381,4,Playback(newrecording)
exten => 381,5,Festival('Press 1 to continue or 2 to change your message')
exten => 381,6,ResponseTimeout(5)
exten => t,1,Festival('Sorry, I did not get that')
exten => t,2,Goto(581,5)
exten => i,1,Festival('Sorry, that is an invalid choice')
exten => i,2,Goto(581,5)
exten => 1,1,System(/bin/mv /var/lib/asterisk/sounds/newrecording.gsm /var/lib/asterisk/sounds/lm1/tempnew/${TIMESTAMP}.gsm)
exten => 1,2,Festival('Thank you, your recording has been saved.')
exten => 1,3,Festival('Press 3 to record another file or 4 to hang up')
exten => 2,1,Goto(581,1)
exten => 3,1,Goto(581,1)
exten => 4,1,Hangup

[parkedcalls]
; Car movements emailed to PD
exten => 388,1,SetMusicOnHold(random)
exten => 388,2,VoiceMail,b280
exten => 388,3,Playback(Goodbye)
exten => 388,4,Hangup
exten => 390,1,playback(lm1/call_may_be_recorded)
exten => 390,2,ParkAndAnnounce(pbx-transfer:PARKED|7200|SIP/DNE|te405p-in,Zap/g4/211,1)
[emergency]
exten => s,1,Dial(ZAP/g1/000)

exten => s,1,SetVar(SET_EMERG_FLAG=0)
exten => s,n(checkavail),ChanIsAvail(${EMERGENCY_TRUNK})
exten => s,n,SetGlobalVar(EMERGENCY=1)
exten => s,n,SetVar(SET_EMERG_FLAG=1)
exten => s,n(dial),Dial(${EMERGENCY_TRUNK}/${EMERGENCY_NUM})
exten => s,s+2(trunkbusy),GotoIf($[${EMERGENCY} = 1]?inprogress)
exten => s,n,SoftHangup(${EMERGENCY_TRUNK}-1)
exten => s,n,Wait(12)
exten => s,n,Goto(checkavail)
exten => s,s+2(inprogress),Congestion
exten => s,checkavail+101(notavail),Goto(trunkbusy)
exten => h,1,GotoIf($[${SET_EMERG_FLAG} = 1]?3)
exten => h,3,SetGlobalVar(EMERGENCY=0)

[to-sip]
#include extensions_sip.conf
[queue_admin_ext]
exten => _2XX,1,Dial(ZAP/g4/1111${EXTEN},20,mA(lm_features/Queues/pls_say_thankyou_holding))
exten => _3XX,1,Dial(SIP/${EXTEN},20,mA(lm_features/Queues/pls_say_thankyou_holding))
exten => _7XX,1,Dial(ZAP/g4/1111${EXTEN},20,mA(lm_features/Queues/pls_say_thankyou_holding))
[lm1_functions]
#include extensions_lm1a.conf
#include extensions_js_play.conf
#include extensions_night_switch.conf

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060219/0102ddac/attachment.htm


More information about the asterisk-users mailing list