Dear Armin,<br><br>Bellow I send you my /etc/asterisk/capi.conf file, I just set faxdetect=both, but the card isn`t detect an incoming fax call.<br><br>I use capicommand(receivefax|...), and work well, but I need that asterisk or the diva card detects an incoming fax call to send it to a specific context.
<br><br>There are any way to use capicommand to detects fax incoming fax.<br><br>Thanks in advance.<br><br>VoipCrazy<br><br>------Capi.conf-------<br><br>[general]<br>nationalprefix=0<br>internationalprefix=00<br>rxgain=1.0
;linear receive gain (1.0 = no change)<br>txgain=1.0 ;linear transmit gain (1.0 = no change)<br>language=de ;set default language<br>;ulaw=yes ;set this, if you live in u-law world instead of a-law
<br><br>;jb..... ;with Asterisk 1.4 you can configure jitterbuffer,<br> ;see Asterisk documentation for all jb* setting available.<br>;mohinterpret=default ;Asterisk 1.4: default music on hold class when placed on hold.
<br><br><br>; interface sections ...<br><br>[ISDN] ;this example interface gets name 'ISDN1' and may be any<br> ;name not starting with 'g' or 'contr'.<br> ;Use one interface section for each isdn port!
<br>;ntmode=yes ;if isdn card operates in nt mode, set this to yes<br>isdnmode=msn ;'MSN' (point-to-multipoint) or 'DID' (direct inward dial)<br> ;when using NT-mode, 'DID' should be set in any case
<br>incomingmsn=* ;allow incoming calls to this list of MSNs/DIDs, * = any<br>;defaultcid=123 ;set a default caller id to that interface for dial-out,<br> ;this caller id will be used when dial option 'd' is set.
<br>;controller=0 ;ISDN4BSD default<br>;controller=7 ;ISDN4BSD USB default<br>controller=1 ;capi controller number of this interface/port<br>group=1 ;dialout group<br>;prefix=0 ;set a prefix to calling number on incoming calls
<br>softdtmf=on ;enable/disable software dtmf detection, recommended for AVM cards<br>relaxdtmf=on ;in addition to softdtmf, you can use relaxed dtmf detection<br>faxdetect=both ;enable faxdetection and redirection to EXTEN 'fax' for incoming and/or
<br> ;outgoing calls. (default='off', possible values: 'incoming','outgoing','both')<br>accountcode=Canal-RDSI ;PBX accountcode to use in CDRs<br>;amaflags=default;AMA flags for CDR ('default', 'omit', 'billing', or 'documentation')
<br>context=from-pstn ;context for incoming calls<br>;holdtype=hold ;when the PBX puts the call on hold, ISDN HOLD will be used. If<br> ;set to 'local' (default value), no hold is done and the PBX may
<br> ;play MOH.<br>holdtype=local<br>;immediate=yes ;DID: immediate start of pbx with extension 's' if no digits were<br> ; received on incoming call (no destination number yet)
<br> ;MSN: start pbx on CONNECT_IND and don't wait for SETUP/SENDING-COMPLETE.<br> ; info like REDIRECTINGNUMBER may be lost, but this is necessary for<br> ; drivers/pbx/telco which does not send SETUP or SENDING-COMPLETE.
<br>;echosquelch=1 ;_VERY_PRIMITIVE_ echo suppression<br>;echocancel=yes ;EICON DIVA SERVER (CAPI) echo cancelation (yes=g165)<br> ;(possible values: 'no', 'yes', 'force', 'g164', 'g165')
<br>;echocancelold=yes;use facility selector 6 instead of correct 8 (necessary for older eicon drivers)<br>;echotail=64 ;echo cancel tail setting (default=0 for maximum)<br>;echocancelnlp=1 ;activate non-linear-processing; this improves echo cancel ratio, but might
<br> ;incorporate variable gain in the signal path.<br>bridge=yes ;native bridging (CAPI line interconnect) if available<br>;callgroup=1 ;PBX call group<br>;pickupgroup=1 ;PBX pickup group (which call groups are we allowed to pickup)
<br>;language=de ;set language for this device (overwrites default language)<br>;disallow=all ;RTP codec selection (valid with Eicon DIVA Server only)<br>allow=all ;RTP codec selection (valid with Eicon DIVA Server only)
<br>devices=2 ;number of concurrent calls (b-channels) on this controller<br> ;(2 makes sense for single BRI, 30/23 for PRI/T1)<br>;jb..... ;with Asterisk 1.4 you can configure jitterbuffer,
<br> ;see Asterisk documentation for all jb* setting available.<br>;mohinterpret=default ;Asterisk 1.4: default music on hold class when placed on hold.<br>;qsig=on ;enable use of Q.SIG extensions.
<br><br>----------------------EOF--------------------------<br><br><br><div><span class="gmail_quote">2007/10/15, Armin Schindler <<a href="mailto:armin@melware.de">armin@melware.de</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Mon, 15 Oct 2007, voip crazy wrote:<br>> Dear Armin,<br>><br>> the problem is my Eicon Diva Card does not detect aany fax-tone. Then the<br>> call is redirect as a voice call instead a fax call.<br>><br>
> How could I detect the fax.-tone with this kind of hardware?<br>> How could I enable receivefax?<br><br>Are we talking about a DIVA Server BRI card?<br>If yes, then the card can detect fax tone and you just need<br>
to enabled this in capi.conf.<br>Then capicommand(receivefax|...) will help you.<br><br>Armin<br><br>> 2007/10/15, Armin Schindler <<a href="mailto:armin@melware.de">armin@melware.de</a>>:<br>>><br>>> Hello VoipCrazy !?
<br>>><br>>> On Mon, 15 Oct 2007, voip crazy wrote:<br>>>> Hello all,<br>>>><br>>>> I am trying to set up asterisk and hylafax to send and receibe fax. The<br>>>> machine is connected to the PSTN is an Eicon Diva BRI (1 BRI port).
<br>>>> My problem is that , when I send a Fax from the PSTN to this<br>>> machine, the<br>>>> asterisk or diva or hylafax, does not detect this call as a fax and<br>>> asterisk<br>>>> answer that call like a voice call.
<br>>>><br>>>> How sould I configure the software modem (iaxmodem) to use with the<br>>> Eicon<br>>>> Diva card?<br>>>> What sould I do to make the Eicon Diva detects an incoming fax?
<br>>><br>>> If asterisk shall not accept this call, then configure asterisk not to do<br>>> so. Either use another number, or check the transfercapability (if the<br>>> sender did set this correct).
<br>>> Why don't you receive the fax via asterisk? You can answer the call and if<br>>> a fax-tone is detected, you switch to receivefax.<br>>><br>>> Armin<br>>><br>>><br>>> _______________________________________________
<br>>> --Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--">http://www.api-digital.com--</a><br>>><br>>> asterisk-users mailing list<br>>> To UNSUBSCRIBE or update options visit:
<br>>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>>><br>><br><br>_______________________________________________<br>--Bandwidth and Colocation Provided by
<a href="http://www.api-digital.com--">http://www.api-digital.com--</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>