[Asterisk-bsd] Can't get FXO module to answer incoming calls.

Jeff Rizzo riz+asterisk at boogers.sf.ca.us
Fri Feb 4 13:28:01 CST 2005


I had a similar problem - try compiling the wcfxs driver with 
AUDIO_RINGCHECK *undefined*... this made things work for me.

+j

Jerry Bednyak wrote:

>I am using Asterisk 1.0.3 with FreeBSD Zaptel Drivers
>and a TDM400P with one FXO module (TDM01B). I have
>tried all different signalling types and have looked
>over my config files very carefully. I can dial out
>with no problem at all, but no incoming calls are
>answered. Here are my files for reference:
>
>*zapata.conf*
>[channels]
>context=incoming
>switchtype=national
>signalling=fxs_ks
>language=en
>channel => 1
>
>*zaptel.conf*
>fxsks=1
>loadzone=us
>defaultzone=us
>
>*extensions.conf*
>[general]
>static=yes
>writeprotect=no
>[globals]
>CONSOLE=Console/dsp
>TRUNK=Zap/1
>TRUNKMSD=1
>[trunkint]
>exten => _9011.,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
>exten => _9011.,2,Congestion
>[trunkld]
>exten =>
>_91NXXNXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
>exten => _91NXXNXXXXXX,2,Congestion
>[trunklocal]
>exten =>
>_9NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
>exten => _9NXXXXXX,2,Congestion
>[trunktollfree]
>exten =>
>_91800NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
>exten => _91800NXXXXXX,2,Congestion
>exten =>
>_91888NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
>exten => _91888NXXXXXX,2,Congestion
>exten =>
>_91877NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
>exten => _91877NXXXXXX,2,Congestion
>exten =>
>_91866NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})
>exten => _91866NXXXXXX,2,Congestion
>[international]
>ignorepat => 9
>include => longdistance
>include => trunkint
>[longdistance]
>ignorepat => 9
>include => local
>include => trunkld
>[local]
>ignorepat => 9
>include => default
>include => parkedcalls
>include => trunklocal
>include => trunktollfree
>[vivid]
>ignorepat => 9
>include => default
>include => parkedcalls
>include => trunklocal
>include => longdistance
>include => trunktollfree
>[macro-stdexten]
>exten => s,1,Dial(${ARG2},20)
>exten => s,2,Goto(s-${DIALSTATUS},1)
>exten => s-NOANSWER,1,Voicemail(u${ARG1})
>exten => s-NOANSWER,2,Goto(default,s,1)	
>exten => s-BUSY,1,Voicemail(b${ARG1})		
>exten => s-BUSY,2,Goto(default,s,1)		
>exten => _s-.,1,Goto(s-NOANSWER,1)		
>exten => a,1,VoicemailMain(${ARG1})		
>[demo]
>exten => s,1,Wait,1
>exten => s,2,Answer
>exten => s,3,DigitTimeout,5
>exten => s,4,ResponseTimeout,10
>exten => s,5,BackGround(demo-congrats)
>exten => s,6,BackGround(demo-instruct)
>exten => 2,1,BackGround(demo-moreinfo)
>exten => 2,2,Goto(s,6)
>exten => 3,1,SetLanguage(fr)
>exten => 3,2,Goto(s,5)
>exten => 1000,1,Goto(default,s,1)
>exten => 1234,1,Playback(transfer,skip)	
>exten => 1234,2,Macro(stdexten,1234,${CONSOLE})
>exten => 1235,1,Voicemail(u1234)
>exten => 1236,1,Dial(Console/dsp)
>exten => 1236,2,Voicemail(u1234)		
>exten => 1237,1,Dial(SIP/mysjphone,10,t)
>exten => #,1,Playback(demo-thanks)	
>exten => #,2,Hangup
>exten => t,1,Goto(#,1)			
>exten => i,1,Playback(invalid)		
>exten => 600,1,Playback(demo-echotest)	
>exten => 600,2,Echo		
>exten => 600,3,Playback(demo-echodone)	
>exten => 600,4,Goto(s,6)		
>exten => 8500,1,VoicemailMain
>exten => 8500,2,Goto(s,6)
>[incoming]
>exten => s,1,Dial,Sip/mysjphone
>exten => s,2,Background(thanks)
>[default]
>include => demo
>
>*messages*
>Feb  4 12:12:37 WARNING[1875]: Unable to get our IP
>address, Skinny disabled
>Feb  4 12:12:37 WARNING[1875]: Unable to open
>/dev/dsp: No such file or directory
>Feb  4 12:12:37 WARNING[1875]: Ignoring switchtype
>
>*dmesg*
>Zapata Telephony Interface Registered on major 196
>FXS device: vendor=e159 device=1 subvendor=b100
>wcfxs0: <Wildcard TDM400P REV E/F> port 0xde00-0xdeff
>mem 0xfe9fd000-0xfe9fdfff irq 16 at device 4.0 on pci1
>FXS Attach for wcfxs0: deviceID : 0xe159
>wcfxs0: [GIANT-LOCKED]
>Freshmaker version: 63
>Freshmaker passed register test
>Module 0: Installed -- AUTO FXO
>Module 1: Not installed
>Module 2: Not installed
>Module 3: Not installed
>Found a Wildcard TDM: Wildcard TDM400P REV E/F (4
>modules)
>Registered tone zone 0 (United States / North America)
>Polarity reversed (0 -> 1)
>Polarity reversed (1 -> -1)
>Registered tone zone 0 (United States / North America)
>Registered tone zone 0 (United States / North America)
>Registered tone zone 0 (United States / North America)
>Polarity reversed (-1 -> 1)
>
>
>What could the problem be?
>
>
>
>
>_______________________________________________
>Asterisk-BSD mailing list
>Asterisk-BSD at lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-bsd
>  
>



More information about the Asterisk-BSD mailing list