[Asterisk-Users] CAPI

Sergio Serrano Revuelto sergio.serrano at avanzada7.com
Mon Mar 22 10:02:45 MST 2004


Hi,
    I have a problem with a Eicon Diva Server 4 BRI. I have 4 BRI ISDN and
11 number for these 4 ISDN. At first I have connected one of these 4 ISDN.
When I try to call I receive the next trace:

 -- Executing ChanIsAvail("SIP/716-b0cd",
"CAPI/971844367&CAPI/971846015&CAPI/971846034&CAPI/971846036&CAPI/971846094&
CAPI/971846141&CAPI/971846142&CAPI/971846143&CAPI/971846146&CAPI/971846147&C
API/971846148") in new stack
    -- data = 971844367
    -- capi request omsn = 971844367
  == found capi with omsn = 971844367
    -- CAPI Hangingup
    -- Executing SubString("SIP/716-b0cd",
"CANAL=CAPI[contr1/971844367]/0|12|9") in new stack
Mar 22 17:51:00 WARNING[262161]: app_substring.c:63 substring_exec: The use
of Substring application is deprecated. Please use ${variable:a:b} instead
    -- Executing Dial("SIP/716-b0cd", "CAPI/@971844367:687754642|17") in new
stack
    -- data = @971844367:687754642
    -- capi request omsn = @971844367
  == found capi with omsn = 971844367
  == CAPI Call CAPI[contr1/971844367]/1   == CAPI Call
CAPI[contr1/971844367]/1     -- creating pipe for PLCI=-1
       > sent CONNECT_REQ MN =0x7
    -- Called @971844367:687754642
    -- CONNECT_CONF ID=001 #0x0007 LEN=0014
  Controller/PLCI/NCCI            = 0x301
  Info                            = 0x0

  == received CONNECT_CONF PLCI = 0x301 INFO = 0
  == DISCONNECT_IND PLCI=0x301 REASON=0x3301
       > sent DISCONNECT_RESP PLCI=0x301
    -- CAPI Hangingup
    -- removed pipe for PLCI = 0x301
  == No one is available to answer at this time



My extensions.conf is the next:


exten=>_XXXXXXXXX,1,ChanIsAvail(CAPI/971844367&CAPI/971846015&CAPI/971846034
&CAPI/971846036&CAPI/971846094&CAPI/971846141&CAPI/971846142&CAPI/
971846143&CAPI/971846146&CAPI/971846147&CAPI/971846148)
;exten=>_XXXXXXXXX,1,ChanIsAvail(CAPI/971844367)
exten=>_XXXXXXXXX,2,SubString,CANAL=${AVAILCHAN}|12|9
exten=>_XXXXXXXXX,3,Dial(CAPI/@${CANAL}:${EXTEN}|17)
exten=>_XXXXXXXXX,104,Playback(invalid)
exten=>_XXXXXXXXX,105,Hangup()


and my capi.conf is the next:

[global]
mode=immediate
isdnmode=multipoint
txgain=0.8
rxgain=0.8
[interfaces]
msn=971844367,971846015,971846034,971846036,971846094,971846141,971846142,97
1846143,971846146,971846147,971846148
;msn=971844367
incomingmsn=*
controller=1
context=default
echocancel=1
echotail=64
devices=8



any idea?


srsergio




More information about the asterisk-users mailing list