RES: [Asterisk-Users] Fax detection & CAPI (doesn't work!)

2004-12-15 Thread Humberto Aicardi
Hi,

Thanks for the reply, what I currently have is the chan_0.3.5 with
the CVS HEAD and fax patch applied. I have made all combinations possible
with softdtmf=0/1 and enabling/disabled FORCE_SOFTWARE_DTMF and nothing.
During the loading process of the capi channel driver I get a " CAPI[contrX]
supports DTMF" but still the extension for fax does not get executed, any
toughts?

Regards,
Humberto Aicardi

-Mensagem original-
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Em nome de Carl Sempla
Enviada em: Tuesday, December 14, 2004 8:15 PM
Para: Asterisk Users Mailing List - Non-Commercial Discussion
Assunto: Re: [Asterisk-Users] Fax detection & CAPI (doesn't work!)

On Tuesday, 14 December, 2004 22:17 : Humberto Aicardi
<[EMAIL PROTECTED]> wrote:

> I'm currently using a ISDN-BRI with a Fritz ISDN card and the
> chan-capi. The problem is that the fax detection is not executed,

Hi,

The fax detection in chan_capi use the CAPI DTMF feature. So you need to set
in /etc/asterisk/capi.conf the line softdtmf=0
Check if CFLAGS+=-DFORCE_SOFTWARE_DTMF in Makefile of chan_capi is commented
(#).
If you start asterisk with the -v option, you should see :
CAPI[contrX] supports DTMF

And obviously the card must report a DTMF when a fax tone is detected.

It may be possible to alter the code and use the asterisk dsp code instead.

Regards,

-- 
Carl

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
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
[EMAIL PROTECTED]
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] Fax detection & CAPI (doesn't work!)

2004-12-14 Thread Carl Sempla
On Tuesday, 14 December, 2004 22:17 : Humberto Aicardi
<[EMAIL PROTECTED]> wrote:

> I'm currently using a ISDN-BRI with a Fritz ISDN card and the
> chan-capi. The problem is that the fax detection is not executed,

Hi,

The fax detection in chan_capi use the CAPI DTMF feature. So you need to set
in /etc/asterisk/capi.conf the line softdtmf=0
Check if CFLAGS+=-DFORCE_SOFTWARE_DTMF in Makefile of chan_capi is commented
(#).
If you start asterisk with the -v option, you should see :
CAPI[contrX] supports DTMF

And obviously the card must report a DTMF when a fax tone is detected.

It may be possible to alter the code and use the asterisk dsp code instead.

Regards,

-- 
Carl

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Fax detection & CAPI (doesn't work!)

2004-12-14 Thread Humberto Aicardi
Hi,

I'm currently using a ISDN-BRI with a Fritz ISDN card and the
chan-capi. The problem is that the fax detection is not executed, here is a
snippet of the extensions.conf:


[from-capi]
exten => h,1,Macro(record-cleanup)

exten => s,1,Wait(2)
exten => s,2,ResponseTimeout(15)
exten => s,3,Background(fn-intro)

exten => fax,1,capiAnswerFax(/tmp/${UNIQUEID}) ; <--- never gets executed?!

Can someone provide me with further information if need to setup
anything else?

Best regards,
Humberto Aicardi



___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users