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

Chuck Bunn chuck.bunn at networkdoc.com
Tue Nov 22 06:54:05 MST 2005


Hi,

What I do not understand is how dropped packets prevent the fax from 
working. Faxes are designed to adopt to noise on the line by reducing 
their connection speed. It seems like their is something else besides 
packet loss going on here. Also why would the board work for receiving 
faxes but not sending???

Thanks

Rich Adamson wrote:

>In my case, we only get a small number of faxes, so I outsourced it to
>a company with an 800 number. Faxes are received in pdf form via email
>which is much better for us anyway. The few times I need to send a fax,
>I simply unplug one of four pstn lines and use it with the fax.
>
>Would be nice if the TDM could handle modem calls. 
>
>------------------------
>
>  
>
>>Hi,
>>
>>Okay I tried what you suggested and bummer I get 99.987793%. So how do 
>>you handle faxes.. We want to use a fax machine and make the line 
>>available for voice when the fax is not used which is not much. We use a 
>>trunk dial setup for this which works great. I am all ears there must be 
>>a way to fix this??
>>
>>Thanks
>>
>>Rich Adamson wrote:
>>
>>    
>>
>>>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-----------------
>>>
>>>
>>>
>>>
>>>
>>>
>>> 
>>>
>>>      
>>>
>>_______________________________________________
>>--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