[asterisk-users] Fax tone detected, but no fax extension for CAPI

Stefan-Michael. Guenther (in-put GbR) asterisk at in-put.de
Sun Aug 6 03:51:04 MST 2006


Hello,

> The log doesn't show anything about the call is terminated.
> Anyway, the message "Fax tone detected, but no fax extension for" is just a
> notice. If you don't have an extension "fax" in your context, nothing else
> is done. With newer chan_capi you can disable this with faxdetect=off.
>
chan_capi is version 0.6.5 and asterisk is version 1.2.9.1.
Here's a complete log with verbosity and debugging set to 4.
Should I worry about the three messages 

chan_capi.c:3951 capi_signal_progress: wrong channel state to signal PROGRESS

and 

ISDN4: too much voice to send for NCCI=0x61a04

and 

Protocol error layer 1 (broken line or B-channel removed by signalling 
protocol)

-- CONNECT_IND 
(PLCI=0x1a04,DID=07218304493,CID=5683099,CIP=0x4,CONTROLLER=0x4)
  == ISDN4: Incoming call '5683099' -> '07218304493'
    -- ISDN4: CAPI/ISDN4/07218304493-2: 07218304493 matches in context faxout
  == Started pbx on channel CAPI/ISDN4/07218304493-2
    -- ISDN4: info element CALLED PARTY NUMBER
    -- ISDN4: info element DSP
    -- ISDN4: info element CHANNEL IDENTIFICATION 81
    -- ISDN4: info element SETUP
  == ISDN4: pbx already started on channel CAPI/ISDN4/07218304493-2
       > CAPI devicestate requested for ISDN4/07218304493
    -- Executing Answer("CAPI/ISDN4/07218304493-2", "") in new stack
  == ISDN4: Answering for 07218304493
    -- Executing Dial("CAPI/ISDN4/07218304493-2", "CAPI/g1/07218304493|10|r") 
in new stack
       > data = g1/07218304493
       > parsed dialstring: 'g1' 'NULL' '07218304493' ''
       > capi request group = 2
       > parsed dialstring: 'g1' 'NULL' '07218304493' ''
  == ISDN3: Call CAPI/ISDN3/07218304493-3   (pres=0x00, ton=0x00)
    -- Called g1/07218304493
  == ISDN4: Requested RINGING-Indication for CAPI/ISDN4/07218304493-2
Aug  6 12:41:33 WARNING[21247]: chan_capi.c:3951 capi_signal_progress: wrong 
channel state to signal PROGRESS
    -- ISDN4: attempting ALERT in state 6
       > CAPI devicestate requested for ISDN4/07218304493
       > CAPI devicestate requested for ISDN3/07218304493
       > CAPI devicestate requested for ISDN3/07218304493
  == ISDN4: Setting up DTMF detector (PLCI=0x1a04, flag=1)
       > ISDN4: DTMF conf(PLCI=0x1a04)
       > ISDN4: too much voice to send for NCCI=0x61a04
    -- ISDN3: received CONNECT_CONF PLCI = 0x303
    -- ISDN3: info element CHANNEL IDENTIFICATION 89
    -- ISDN3: info element CALL PROCEEDING
    -- CAPI/ISDN3/07218304493-3 is proceeding passing it to 
CAPI/ISDN4/07218304493-2
    -- ISDN3: info element Date/Time 06/08/06 12:42
    -- ISDN3: info element CONNECT
  == ISDN3: Setting up DTMF detector (PLCI=0x303, flag=1)
    -- CAPI/ISDN3/07218304493-3 answered CAPI/ISDN4/07218304493-2
  == ISDN4: Requested Indication-STOP for CAPI/ISDN4/07218304493-2
    -- Attempting native bridge of CAPI/ISDN4/07218304493-2 and 
CAPI/ISDN3/07218304493-3
  == ISDN4:ISDN3 Requested native bridge for CAPI/ISDN4/07218304493-2 and 
CAPI/ISDN3/07218304493-3
       > CAPI devicestate requested for ISDN3/07218304493
       > ISDN3: DTMF conf(PLCI=0x303)
       > ISDN4: too much voice to send for NCCI=0x61a04
    -- ISDN3: info element FACILITY
    -- ISDN3: info element CHARGE in UNITS
    -- ISDN3: info element FACILITY
       > ISDN3: c_dtmf = Yg
    -- Fax tone detected, but no fax extension for CAPI/ISDN3/07218304493-3
    -- ISDN3: info element DSP
    -- ISDN3: info element INFORMATION
       > CAPI INFO 0x3301: Protocol error layer 1 (broken line or B-channel 
removed by signalling protocol)
  == ISDN3: CAPI Hangingup
    -- ISDN3: activehangingup (cause=0)
  == ISDN4: CAPI Hangingup
  == ISDN4: Interface cleanup PLCI=0x1a04
       > CAPI devicestate requested for ISDN3/07218304493
    -- ISDN3: info element FACILITY
    -- ISDN3: info element DSP
    -- ISDN3: info element CHARGE in UNITS
    -- ISDN3: info element RELEASE
       > CAPI INFO 0x3490: Normal call clearing
  == ISDN3: Interface cleanup PLCI=0x303



I have set "faxdetect=off" in the [general] section of capi.conf and the 
[faxout]-context looks like this (as recommended by Avi):

[faxout]
exten => _X.,1,Answer
exten => _X.,2,DIAL(CAPI/g1/${EXTEN},10,r)
exten => _X.,3,Congestion
exten => fax,1,Dial(CAPI/g1/${EXTEN},10,r)

Thanks for your help,

Stefan

-- 

********************************************
in-put GbR - Das Linux-Systemhaus
Stefan-Michael Guenther
Moltkestrasse 49     D-76133 Karlsruhe
Tel./Fax : +49 (0)721 / 83044 - 98/93
http://www.in-put.de
********************************************
     Schulungen  Installationen  
         Beratung   Support
      Voice over IP - Lösungen
********************************************



More information about the asterisk-users mailing list