[Asterisk-Users] hfc card and isdn error E001B

Marco Parmeggiani marcopar at despammed.com
Fri Dec 10 09:04:51 MST 2004


In data Thu, 9 Dec 2004 13:43:05 +0100, hai scritto:

> I'm trying to use an hfc based pci card with asterisk but every call fails
> falling in the congestion extension.

More info.

This is the output from asterisk:
	
    -- Registered SIP 'marco' at 192.168.0.5 port 5060 expires 120
    -- Saved useragent "SJLabs-SJphone/1.30.252" for peer marco
    -- Executing Dial("SIP/marco-c6d7", "Modem/g1:05xx") in new stack
    -- Called g1:05xx
    -- Saved useragent "SJLabs-SJphone/1.30.252" for peer massimo
    -- Modem[i4l]/ttyI1 is busy
    -- Hungup 'Modem[i4l]/ttyI1'
  == Everyone is busy/congested at this time
    -- Executing Congestion("SIP/marco-c6d7", "") in new stack
  == Spawn extension (default, 005xx, 2) exited non-zero on
'SIP/marco-c6d7'

here are my config files:

**************************************************************
modem.conf
[interfaces]
context=remote
driver=i4l      ; isdn4linux - an alternative to i4l is to use chan_capi
language=en
type=autodetect
stripmsd=0
dialtype=tone
;mode=answer
;mode=ring
mode=immediate
group=1
msn=059465066
incomingmsn=*
outgoingmsn=059465066
device => /dev/ttyI0
device => /dev/ttyI1


*******************************************************************+
extensions.conf
[general]
static=yes
writeprotect=no
[globals]
CONSOLE=Console/dsp                             ; Console interface for
;CONSOLE=Zap/1
;CONSOLE=Phone/phone0
IAXINFO=guest                                   ; IAXtel username/password
;IAXINFO=myuser:mypass
;TRUNK=Zap/g2                                   ; Trunk interface
TRUNKMSD=1                                      ; MSD digits to strip
(usually 1 or 0)
;TRUNK=IAX2/user:pass at provider
TRUNK=Modem/g1

[default]
include => echotest

exten=_0.,1,Dial(Modem/g1:${EXTEN:1})
exten => _0.,2,Congestion

exten => 101,1,dial(SIP/marco)
exten => marco,1,goto(101,1) ; To be able to dial with text

exten => 102,1,dial(SIP/fabio)
exten => fabio,1,goto(102,1) ; To be able to dial with text

exten => 103,1,dial(SIP/stefano)
exten => stefano,1,goto(103,1) ; To be able to dial with text

exten => 104,1,dial(SIP/massimo)
exten => massimo,1,goto(104,1) ; To be able to dial with text

[echotest]
exten => 600,1,Playback(demo-echotest)  ; Let them know what's going on
exten => 600,2,Echo                     ; Do the echo test
exten => 600,3,Playback(demo-echodone)  ; Let them know it's over
exten => 600,4,Hangup

************************************************************++
modules.conf
[modules]
autoload=yes
noload => pbx_gtkconsole.so
;load => pbx_gtkconsole.so
noload => pbx_kdeconsole.so
noload => app_intercom.so
load => chan_modem.so
load => res_musiconhold.so
noload => chan_alsa.so
;noload => chan_oss.so
[global]
chan_modem.so=yes



ciao



More information about the asterisk-users mailing list