[Asterisk-bsd] IRQ or timing problem with HFC-4S

Oliver Schneider os at kobo.de
Fri Oct 10 16:15:41 CDT 2008


Hello,

I just upgraded my Asterisk machine from two single HFC-S to one HFC-4S.
Before the upgrade everything worked fine, an uptime for 100 days was no
problem. 

My config is:
FreeBSD 6.2-STABLE
asterisk - 12-1.2.17 (yes I know, some old fashioned and unsecure, but I
haven't read about an attack over the ISDN bus)
i4b - ISDN4BSD, version 1.6.0, compiled May 23 2007 19:57:30
one external EURO ISDN line (normal consumer ISDN line)
one internal ISDN line connected to the HFC-4S in NT mode
Siemens Gigaset 3035 ISDN phone with 3 mobile handsets to HFC-4S

After 3 -24 h (the server is not used very heavy) the ISDN phone cannot
establish any new calls. It does net get a free signal on the line at
all. I had this problem with the two other controllers also when the NT
adapter had to share an IRQ with another device ( Ithink it was the
sound card). After switching NT and TE adapter in the isdnconfig /
chan_capi.conf, the system was very reliable and stable. I think the
period of time till the ISDN phone is "disconnected", is as faster as
more handsets are connected the Gigaset.

I already tried the TE port first (unit 8) and to use the poll_mode on
the NT port. I have no idea anymore what to do, for using one HFC-4S
port as NT port.

thanks
Oliver

My configs:
/usr/sbin/isdnconfig \
-m 0 pcm_64 \
-m 1 pcm_64 \
-u 9 pcm_64 pcm_map 0 1 end pcm_master te_mode -p DRVR_DSS1_TE \
-u 8 pcm_64 pcm_map 0 1 end pcm_master nt_mode power_on -p DRVR_DSS1_NT 

capi.conf:
[general]
language=de
nationalprefix=0
internationalprefix=00
rxgain=1.5
txgain=0.9
digit_timeout=2
alaw=yes

[ISDNNT]         
isdnmode=did    
ntmode=yes
incomingmsn=*    	;allow incoming calls to this list of 
controller=8     	;ISDN4BSD default (first controller)
group=1          	;dialout group
accountcode=     	;Asterisk accountcode to use in CDRs
context=capi-intern 	;context for incoming calls
holdtype=local		;when Asterisk puts the call on hold, 
echocancel=no		;disable echo canceller
echosquelch=yes		;primitive echo suppression
bridge=yes		;native bridging (CAPI line interconnect) if available
devices=2        	

[ISDNTE]         
isdnmode=msn     
accountcode=261
incomingmsn=*		;allow incoming calls to this list of 
controller=9		
group=1          	;dialout group
softdtmf=1      	;enable/disable software dtmf detection, 
relaxdtmf=1     	;in addition to softdtmf, you can use relaxed 
accountcode=     	;Asterisk accountcode to use in CDRs
context=capi-extern	;context for incoming calls
holdtype=local   
echocancel=no		;disable echo canceller
echosquelch=yes		;primitive echo suppression
bridge=yes		;native bridging (CAPI line interconnect) if 
devices=2    

vmstat -i:
 interrupt                          total       rate
irq0: clk                      457141252       1000
irq6: fdc0                            11          0
irq8: rtc                       58510477        128
irq9: xl0 uhci0+                 1091227          2
irq10: ihfc0                    14224772         31
irq14: ata0                       304476          0
Total                          531272215       1162
   






More information about the Asterisk-BSD mailing list