[chan-capi-users] incoming fax server Dialogic Diva V-4PRI/E1/T1-120

Mario Montiel mariomontiel at grupocsi.com.mx
Mon Jun 2 19:48:22 CEST 2008


Hello everyone, I have a question for the list, I want to put fax server in
asterisk to receive 120 faxes simultaneously with a card Dialogic Diva
V-4PRI/E1/T1-120 PCI v1, i can make and recieve calls, but when i try to
recieve fax, the console of asterisk say "CAPI INFO 0x3001: B1 protocol not
supported"  and I do not hear anything the channel stay up, until i hangup
the call, how i can fix this?

Im using
-Linux trixbox1.localdomain 2.6.18-53.1.21.el5 #1
-Diva4Linux_installer_8.5-108-80.bin
-chan-capi-HEAD


here is the output of  asterisk


    -- Executing [1 at FAX-CONTEXT:13] Set("CAPI/ISDN1#30/0505-9",
"FAXFILE=0000000000000123200806021123543809") in new stack
    -- Executing [1 at FAX-CONTEXT:14] capicommand("CAPI/ISDN1#30/0505-9",
"receivefax|/faxes/0000000000000123200806021123543809.sff||") in new stack
    -- capicommand: 'receivefax'
'/faxes/0000000000000123200806021123543809.sff||'
    -- capi receivefax: '/faxes/0000000000000123200806021123543809.sff' ''
'' ''
    -- Setup fax b3conf fmt=0, stationid='' headline=''
DISCONNECT_B3_REQ          ID=002 #0x06a8 LEN=0013
  Controller/PLCI/NCCI            = 0x40a01
  NCPI                            = default

ISDN1#30: wait for DISCONNECT_B3_CONF (0x8481)
CAPI: ApplId=0x0002 Command=0x84 SubCommand=0x81 MsgNum=0x06a8
NCCI=0x00040a01
DISCONNECT_B3_CONF         ID=002 #0x06a8 LEN=0014
  Controller/PLCI/NCCI            = 0x40a01
  Info                            = 0x0

ISDN1#30: found and signal for DISCONNECT_B3_CONF
ISDN1#30: cond signal received for DISCONNECT_B3_CONF
ISDN1#30: wait for b3 down.
CAPI: ApplId=0x0002 Command=0x84 SubCommand=0x82 MsgNum=0x084b
NCCI=0x00040a01
DISCONNECT_B3_IND          ID=002 #0x084b LEN=0015
  Controller/PLCI/NCCI            = 0x40a01
  Reason_B3                       = 0x3600
  NCPI                            = default

DISCONNECT_B3_RESP         ID=002 #0x084b LEN=0012
  Controller/PLCI/NCCI            = 0x40a01

ISDN1#30: found and signal for b3 down state.
ISDN1#30: cond signal received for b3 down.
SELECT_B_PROTOCOL_REQ      ID=002 #0x06a9 LEN=0029
  Controller/PLCI/NCCI            = 0xa01
  BProtocol
   B1protocol                     = 0x4
   B2protocol                     = 0x4
   B3protocol                     = 0x4
   B1configuration                = default
   B2configuration                = default
   B3configuration                = <00 00 00 00 00 00>
   GlobalConfiguration            = default

CAPI: ApplId=0x0002 Command=0x41 SubCommand=0x81 MsgNum=0x06a9
NCCI=0x00000a01
SELECT_B_PROTOCOL_CONF     ID=002 #0x06a9 LEN=0014
  Controller/PLCI/NCCI            = 0xa01
  Info                            = 0x3001

       > ISDN1#30: CAPI INFO 0x3001: B1 protocol not supported
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x084c
NCCI=0x00000a01
INFO_IND                   ID=002 #0x084c LEN=0017
  Controller/PLCI/NCCI            = 0xa01
  InfoNumber                      = 0x8
  InfoElement                     = <80 90>

INFO_RESP                  ID=002 #0x084c LEN=0012
  Controller/PLCI/NCCI            = 0xa01

    -- ISDN1#30: info element CAUSE 80 90
CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x084d
NCCI=0x00000a01
INFO_IND                   ID=002 #0x084d LEN=0015
  Controller/PLCI/NCCI            = 0xa01
  InfoNumber                      = 0x8045
  InfoElement                     = default

INFO_RESP                  ID=002 #0x084d LEN=0012
  Controller/PLCI/NCCI            = 0xa01

    -- ISDN1#30: info element DISCONNECT
    -- ISDN1#30: Disconnect case 3
DISCONNECT_REQ             ID=002 #0x06aa LEN=0013
  Controller/PLCI/NCCI            = 0xa01
  AdditionalInfo                  = default

CAPI: ApplId=0x0002 Command=0x04 SubCommand=0x81 MsgNum=0x06aa
NCCI=0x00000a01
DISCONNECT_CONF            ID=002 #0x06aa LEN=0014
  Controller/PLCI/NCCI            = 0xa01
  Info                            = 0x0

CAPI: ApplId=0x0002 Command=0x08 SubCommand=0x82 MsgNum=0x084f
NCCI=0x00000a01
INFO_IND                   ID=002 #0x084f LEN=0015
  Controller/PLCI/NCCI            = 0xa01
  InfoNumber                      = 0x805a
  InfoElement                     = default

INFO_RESP                  ID=002 #0x084f LEN=0012
  Controller/PLCI/NCCI            = 0xa01

    -- ISDN1#30: info element RELEASE COMPLETE
CAPI: ApplId=0x0002 Command=0x04 SubCommand=0x82 MsgNum=0x0851
NCCI=0x00000a01
DISCONNECT_IND             ID=002 #0x0851 LEN=0014
  Controller/PLCI/NCCI            = 0xa01
  Reason                          = 0x3490

DISCONNECT_RESP            ID=002 #0x0851 LEN=0012
  Controller/PLCI/NCCI            = 0xa01

       > ISDN1#30: CAPI INFO 0x3490: Normal call clearing
    -- chan_capi queue frame: [ TYPE: Control (4) SUBCLASS: Hangup (1) ]
[ISDN1#30]
    -- capi receivefax: hangup.
    -- Closing fax file...
 capi receivefax: fax receive failed reason=0x3490 reasonB3=0x3600
    -- capi receivefax: removing fax file.
    -- Executing [h at FAX-CONTEXT:1] System("CAPI/ISDN1#30/0505-9",
"/usr/local/bin/fax2share.sh 0000000000000123200806021123543809") in new
stack
  == Spawn extension (FAX-CONTEXT, h, 1) exited non-zero on
'CAPI/ISDN1#30/0505-9'
  == ISDN1#30: CAPI Hangingup for PLCI=0xdead0000 in state 4
  == ISDN1#30: Interface cleanup PLCI=0xdead0000
       > chan_capi devicestate requested for ISDN1#30/0505-9 is 'Not in use'
       > chan_capi devicestate requested for ISDN1#30/0505 is 'Not in use'
       > chan_capi devicestate requested for ISDN1#30/0505-9 is 'Not in use'
       > chan_capi devicestate requested for ISDN1#30/0505 is 'Not in use'

here it is my capi.conf


;
; CAPI config
;
;

; general section

[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=en      ;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 ...

[ISDN1]
;ntmode=yes
isdnmode=did
incomingmsn=*
;defaultcid=123
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=off
accountcode=     ;PBX accountcode to use in CDRs
accountcode=     ;PBX accountcode to use in CDRs
;amaflags=default;AMA flags for CDR ('default', 'omit', 'billing', or
'documentation')
context=isdn-in  ;context for incoming calls
;holdtype=hold
;immediate=yes
;echosquelch=1
;echocancel=yes
echocancelold=yes
;echotail=64
;echocancelnlp=1
;bridge=yes
;callgroup=1
;pickupgroup=1
;transfergroup=1
;language=de
disallow=all
allow=all
devices=30






Atentamente
Mario O. Montiel
Gerente de Telecomunicaciones
Tel 5999 5555 ext 3300



More information about the Chan-capi-users mailing list