Re: [asterisk-users] [hylafax-users] asterisk, iaxmodem, hylafax quality problem

2007-08-21 Thread Thomas Kenyon
Lee Howard wrote:
 Artifex Maximus wrote:
 
 zttest is often on 99.975586% with final result:
 --- Results after 67 passes ---
 Best: 99.987793 -- Worst: 99.951172 -- Average: 99.973764
 
 
 This is unacceptable for faxing, and it is evidence of the underlying
 problem also causing your faxes to come through with poor quality.
 
Sadly both my production machine and a test machine I have here (both
with TDM-400P's in them) have results that match this.

(Shame really, I'd like to replace the real modem on a line on the
production server with an IAXmodem process).

  0: 2087872259IO-APIC-edge  timer
  7:  0IO-APIC-edge  parport0
  8:  1IO-APIC-edge  rtc
  9:  1   IO-APIC-level  acpi
 14:   18440124IO-APIC-edge  ide0
 15:4456445IO-APIC-edge  libata
 169:4878102   IO-APIC-level  eth0
 177: 2086847525   IO-APIC-level  wctdm24xxp
 185: 2086810653   IO-APIC-level  wct4xxp 
 
 
 Notice the priorities here... and that your Zaptel cards come *last*,
 after eth0, after IDE.  Each of those Zap cards are going to generate an
 interrupt once every millisecond when in use.  You can hopefully imagine
 how IDE or eth0 activity would interfere, since they have a higher
 priority than the Zap cards.
 
The weird thing is, looking at the motherboard manual for my test
machine, The lower the Interrupt does not neccesarily mean the higher
the priority. Eg. 8 to 15 have a higher priority than 3 to 7.

On the bright side on that machine there is an IRQ - slot allocation
system in the BIOS.

On the down side, it appears to do bugger all. (as below)

  0: 63   IO-APIC-edge  timer
  1:  2   IO-APIC-edge  i8042
  6:  5   IO-APIC-edge  floppy
  7:  0   IO-APIC-edge  parport0
  8:  1   IO-APIC-edge  rtc
  9:  0   IO-APIC-fasteoi   acpi
 12:  3   IO-APIC-edge  i8042
 14:   4744   IO-APIC-edge  ide0
 15:  11412   IO-APIC-edge  ide1
 17:428   IO-APIC-fasteoi   eth0
 19:  40266   IO-APIC-fasteoi   ehci_hcd:usb1, uhci_hcd:usb2,
uhci_hcd:usb3, uhci_hcd:usb4, uhci_hcd:usb5
 20:  0   IO-APIC-fasteoi   VIA8237
 21:1284151   IO-APIC-fasteoi   wctdm

I've also noticed that on the production server, the card not only has
the lowest priority but is now sharing an IRQ (probably happened last
time I saw fit to shut the machine down).

 0: 2931864860  XT-PIC  timer
 1:   1659  XT-PIC  i8042
 2:  0  XT-PIC  cascade
 3:270  XT-PIC  uhci_hcd:usb3
 4:3231957  XT-PIC  serial
 5:  0  XT-PIC  uhci_hcd:usb4
 6:   13146224  XT-PIC  dpti0
 7:  475736174  XT-PIC  eth0, eth1
 8:  4  XT-PIC  rtc
10:  0  XT-PIC  uhci_hcd:usb2, uhci_hcd:usb5
11: 2931432215  XT-PIC  ehci_hcd:usb1, wctdm
14:759  XT-PIC  ide0

Guess I'll try disabling the USB controllers and moving cards round again.

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] [hylafax-users] asterisk, iaxmodem, hylafax quality problem

2007-08-21 Thread Lee Howard
Thomas Kenyon wrote:

The weird thing is, looking at the motherboard manual for my test
machine, The lower the Interrupt does not neccesarily mean the higher
the priority. Eg. 8 to 15 have a higher priority than 3 to 7.
  


Correct.  IRQ 2 bridges to IRQ 8.  Thus the priority order is:

0, 1, 2, 8, 9, 10, 11, 12, 13, 14, 15, 3, 4, 5, 6, 7

This is one reason why on modern Linux kernels where the ATA (IDE hard 
drive) driver is permitted to be very resource-greedy the serial ports 
on IRQs 3 and 4 can lose requisite attention for high-throughput serial 
devices (like Class 2.1 fax modems).  And just think of those poor, poor 
printers on the LPT port, IRQ 7...  The end-result is that the already 
slim pickings on IRQs gets reduced even further to a very narrow band 
for add-on PCI devices, usually just 9, 10, and 11 on many systems.  
This is one reason for APIC, although it's quite buggy in many kernels 
and motherboard BIOSes.

Lee.

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] [hylafax-users] asterisk, iaxmodem, hylafax quality problem

2007-08-21 Thread Thomas Kenyon
Lee Howard wrote:
 Correct.  IRQ 2 bridges to IRQ 8.  Thus the priority order is:
 
 0, 1, 2, 8, 9, 10, 11, 12, 13, 14, 15, 3, 4, 5, 6, 7
 

My zttest results weren't quite as bad as the previous poster.

Home Machine.

--- Results after 113 passes ---
Best: 100.00 -- Worst: 99.987793 -- Average: 99.994452

Work Machine.

--- Results after 115 passes ---
Best: 100.00 -- Worst: 99.987793 -- Average: 99.993920

Presumably the work machine will marginally improve once the card has
it's IRQ to itself again.

Are these results good enough to be able to use TxFax/RxFax/iaxmodem?

___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] [hylafax-users] asterisk, iaxmodem, hylafax quality problem

2007-08-21 Thread Lee Howard
Thomas Kenyon wrote:

My zttest results weren't quite as bad as the previous poster.

Home Machine.

--- Results after 113 passes ---
Best: 100.00 -- Worst: 99.987793 -- Average: 99.994452
  


This should be perfectly fine.

Work Machine.

--- Results after 115 passes ---
Best: 100.00 -- Worst: 99.987793 -- Average: 99.993920
  


This should work fine as well.

Are these results good enough to be able to use TxFax/RxFax/iaxmodem?


I can't really speak for TxFax/RxFax, but they should be fine for iaxmodem.

Lee.


___
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Hylafax and Asterisk

2005-04-15 Thread Michiel van Baak
On 08:57, Fri 15 Apr 05, Andrew Yager wrote:
 Another option (which I think is just as good) is to use the patches 
 available for chan_capi and set it up to receive faxes.
 
 Just search the list for chan_capi and fax.
 
Hi,

I stumped upon this couple of hours after my post.
We have the capiAnswerFax now as replacement for Hylafax.
Too bad it doesn't support sending faxes :(
-- 
Michiel van Baak
http://lunteren.vanbaak.info
[EMAIL PROTECTED]
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x7E0B9A2D

Two of the most famous products of Berkeley are LSD and BSD. I don't think 
that this is a coincidence.

___
Asterisk-Users mailing list
Asterisk-Users@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


[Asterisk-Users] Hylafax and Asterisk

2005-04-14 Thread Kib Eki




Hi,

I found the following from the wiki:

**
HylaFax and Asterisk

Another solution is the Hylafax
software. capi4hylafax and chan_capi will gladly coexist. You just tell
asterisk to ignore the DIDs that are used for fax. 


My question: How can I tell * to ignore special DIDs and let them
through to Hylafax?


Kib




___
Asterisk-Users mailing list
Asterisk-Users@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

Re: [Asterisk-Users] Hylafax and Asterisk

2005-04-14 Thread Frank Becker

  My question: How can I tell * to ignore special DIDs and let them through
 to Hylafax?

Take a look at capi.conf. There is a entry like incomingmsn. Modify it like
incomingmsn=12345,23456,34567

So you can define which msn are for asterisk and which msn is used for other 
purposes.

HTH

Frank
___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] Hylafax and Asterisk

2005-04-14 Thread Peer Oliver Schmidt
Kib Eki wrote:
My question: How can I tell * to ignore special DIDs and let them 
through to Hylafax?
Don't put them in /etc/asterisk/capi.conf as incomingmsn. You can still 
use them for outgoing if you want to though.
--
Best regards

Peer Oliver Schmidt
PGP Key ID: 0x83E1C2EA
___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] Hylafax and Asterisk

2005-04-14 Thread Frank Becker

 Don't put them in /etc/asterisk/capi.conf as incomingmsn. You can still
 use them for outgoing if you want to though.

Where to put it instead? I'm running * with Capisuite as faxengine and I 
defined my msn handled by * in capi.conf.. Do you have a better place for it?

Regards 

Frank Becker
___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] Hylafax and Asterisk

2005-04-14 Thread Michiel van Baak
On 10:39, Thu 14 Apr 05, Kib Eki wrote:
Hi,
 
I found the  following from the  wiki:
 
 **
 
 HylaFax and Asterisk
 
Another solution is the [1]Hylafax software. capi4hylafax and chan_capi
will gladly coexist. You just tell asterisk to ignore the DIDs that are
used for fax.
 
My question: How can I tell * to ignore special DIDs and let them through
to Hylafax?
 
Kib
 

Hi,

The way I fixed it is maybe not that elegant but works.
My capi.conf has incomingmsn=*
In my extensions.conf I did:

[from-isdn]
31342423XXX,1,Wait(30) ;ignore fax number for 30 seconds.
Hylafax should have answered by then
-- 
Michiel van Baak
http://lunteren.vanbaak.info
[EMAIL PROTECTED]
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x7E0B9A2D

Two of the most famous products of Berkeley are LSD and BSD. I don't think 
that this is a coincidence.

___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] Hylafax and Asterisk

2005-04-14 Thread Andrew Yager
Another option (which I think is just as good) is to use the patches 
available for chan_capi and set it up to receive faxes.

Just search the list for chan_capi and fax.
Yours,
Andrew
On 15/04/2005, at 5:11 AM, Michiel van Baak wrote:
On 10:39, Thu 14 Apr 05, Kib Eki wrote:
   Hi,
   I found the  following from the  wiki:
**
HylaFax and Asterisk
   Another solution is the [1]Hylafax software. capi4hylafax and 
chan_capi
   will gladly coexist. You just tell asterisk to ignore the DIDs 
that are
   used for fax.

   My question: How can I tell * to ignore special DIDs and let them 
through
   to Hylafax?

   Kib
Hi,
The way I fixed it is maybe not that elegant but works.
My capi.conf has incomingmsn=*
In my extensions.conf I did:
[from-isdn]
31342423XXX,1,Wait(30) ;ignore fax number for 30 seconds.
Hylafax should have answered by then
--
Michiel van Baak
http://lunteren.vanbaak.info
[EMAIL PROTECTED]
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x7E0B9A2D
Two of the most famous products of Berkeley are LSD and BSD. I don't 
think that this is a coincidence.

___
Asterisk-Users mailing list
Asterisk-Users@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
___
Asterisk-Users mailing list
Asterisk-Users@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