[asterisk-users] Eicon Diva and incoming Fax

voip crazy voipcrazy at gmail.com
Tue Oct 16 03:09:11 CDT 2007


Dear Armin,

This solve my problem, when I set softdtmf and relaxdtmf to off, my asterisk
machine starts to detect the incoming fax calls.

Thank for your help.

VoipCrazy.

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


More information about the asterisk-users mailing list