[Asterisk-Users] Problems with fax failing when bridged across TDM400Pvers E

Rich Adamson radamson at routers.com
Mon Nov 21 16:10:59 MST 2005


Try running /usr/src/zaptel/zttest -v and see what you get for results.
If you get something like this:
 Opened pseudo zap interface, measuring accuracy...
 8192 samples in 8191 sample intervals 99.987793% 
 8192 samples in 8191 sample intervals 99.987793% 
where the intervals are less then 100%, then the problem is the same
issue we've all been fighting for some time. The less then 100% is
indicative of 'missed frames' of data from the TDM card to the zaptel
drivers (eg, pci bus).

Fax modem transmissions will never succeed if that number is less then
100%. I can't get 100% out of my system regardless of what I've tried,
including two different distro's, two different MBs, etc.

Rich

------------------------

> H,
> 
> We have a fax machine connected to a FXS modules on TDM400P card. There 
> is an FXO module connected to a pots line. We can receive faxes okay but 
> we seem to be having trouble sending them. The connection is bridged 
> between the appropriate ZAP channels but it just hangs there. The remote 
> fax answers and the fax machine indicates that it is connecting - but 
> then we get transmission errors and the fax fails. I had tuned the line 
> to get rid echos using ./ztmonitor (works great by the way) could I have 
> tuned it too much or should I tune each channel separately (you can see 
> my rxgain and txgain settings in zapata.conf)? Here are my files.
> 
> ************
> zapata.conf
> 
> [trunkgroups]
> 
> [channels]
> echocancel=yes
> echocancelwhenbridged=yes
> echotraining=yes
> rxgain=14.0
> txgain=4.0
> usecallerid=yes
> hidecallerid=no
> callwaiting=no
> threewaycalling=no
> transfer=no
> immediate=no
> faxdetect=both
> 
> context=incoming-home
> signalling=fxs_ks
> group=1
> channel => 1,2
> 
> context=local
> signalling=fxo_ks
> group=2
> channel => 3
> 
> context=longdistance
> signalling=fxo_ks
> group=3
> channel => 4
> 
> ***********************************
> extensions.conf
> 
> [general]
> #include macros.incl
> 
> [incoming-home]
> exten => s,1,Goto(extensions-home,100,1)
> exten => t,1,Goto(extensions-home,100,1)
> exten => i,1,Goto(extensions-home,100,1)
> 
> [extensions-home]
> include => parkedcalls
> 
> ;Operator queue, Operator Console, and Receptionist Phone
> exten => 100,1,Answer()
> exten => 100,2,Queue(extensions-home|trn|||120)
> 
> ;Office Personnel
> exten => _30[0-1],1,Macro(stdexten,${EXTEN},SIP/${EXTEN})
> exten => _31[0-4],1,Macro(stdexten,${EXTEN},SIP/${EXTEN})
> exten => _399,1,Macro(stdexten,${EXTEN},SIP/${EXTEN})
> exten => _40[0-1],1,Macro(stdexten,${EXTEN},SIP/${EXTEN})
> exten => _499,1,Macro(stdexten,${EXTEN},SIP/${EXTEN})
> 
> ;Spa Personnel
> exten => _500,1,Macro(stdexten,${EXTEN},SIP/${EXTEN})
> exten => _51[0-2],1,Macro(stdexten,${EXTEN},SIP/${EXTEN})
> exten => 590,1,Dial(ZAP/3,20)
> 
> ;Voicemail Main
> exten => 800,1,Answer
> exten => 800,2,VoicemailMain
> 
> ;Agent Login
> exten => 801,1,AgentCallbackLogin(,, at extensions-home)
> 
> ;Voice Conferencing
> exten => _85X,1,Answer
> exten => _85X,2,MeetMe(${EXTEN})
> 
> ;exten => i,1,Voicemail(s300)
> ;exten => t,1,Voicemail(s300)
> 
> exten => fax,1,Dial(ZAP/4,20)
> exten => fax,2,Congestion
> exten => fax,102,Congestion
> 
> [local]
> ignorepat => 9
> exten => _9NXXXXXX,1,Dial(${OUTBOUNDTRUNK}/${EXTEN:1})
> exten => _9NXXXXXX,2,Congestion(5)
> exten => _9NXXXXXX,102,congestion(5)
> exten => 911,1,Dial(${OUTBOUNDTRUNK}/911)
> exten => 9911,1,Dial(${OUTBOUNDTRUNK}/911
> include => extensions-home
> 
> [longdistance]
> ignorpat => 9
> exten => _91NXXNXXXXXX,1,Dial(${OUTBOUNDTRUNK}/${EXTEN:1})
> exten => _91NXXNXXXXXX,2,Congestion(5)
> exten => _91NXXNXXXXXX,102,congestion(5)
> include => local
> 
> 
> [globals]
> OUTBOUNDTRUNK=Zap/G1
> 
> PSTN1=Zap/1
> PSTN2=Zap/2
> 
> PHONE1=Zap/3
> PHONE2=Zap/4
> 
> ***************************
> modules.conf
> 
> modules]
> autoload=yes
> ;
> noload => pbx_gtkconsole.so
> noload => pbx_kdeconsole.so
> ;
> ; Intercom application is obsoleted by
> ; chan_oss.  Don't load it.
> ;
> noload => app_intercom.so
> ;
> ; Explicitly load the chan_modem.so early on to be sure
> ; it loads before any of the chan_modem_* 's afte rit
> ;
> noload => chan_modem.so
> noload => chan_modem_aopen.so
> noload => chan_modem_bestdata.so
> noload => chan_modem_i4l.so
> noload => chan_phone.so
> noload => chan_skinny.so
> noload => chan_iax2.so
> ;
> load => res_musiconhold.so
> ;
> ; Load either OSS or ALSA, not both
> ; By default, load OSS only (automatically) and do not load ALSA
> ;
> ;noload => chan_alsa.so
> noload => chan_oss.so
> ;
> ; Module names listed in "global" section will have symbols globally
> ; exported to modules loaded after them.
> ;
> [global]
> 
> **************************
> 
> CLI output
> 
>   -- Starting simple switch on 'Zap/2-1'
>     -- Executing Goto("Zap/2-1", "extensions-home|100|1") in new stack
>     -- Goto (extensions-home,100,1)
>     -- Executing Answer("Zap/2-1", "") in new stack
>     -- Executing Queue("Zap/2-1", "extensions-home|trn|||120") in new stack
>     -- Redirecting Zap/2-1 to fax extension
>     -- User disconnected from queue extensions-home when they almost made it
>   == Spawn extension (extensions-home, fax, 0) exited non-zero on 'Zap/2-1'
>     -- Executing Dial("Zap/2-1", "ZAP/4|20") in new stack
>     -- Called 4
>     -- Zap/4-1 is ringing
>     -- Zap/4-1 is ringing
>     -- Zap/4-1 answered Zap/2-1
>     -- Attempting native bridge of Zap/2-1 and Zap/4-1
>     -- Hungup 'Zap/4-1'
>   == Spawn extension (extensions-home, fax, 1) exited non-zero on 'Zap/2-1'
>     -- Hungup 'Zap/2-1'
> 
> *****************************
> 
> Thanks
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
> 
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 

---------------End of Original Message-----------------





More information about the asterisk-users mailing list