On Thu, 22 Dec 2005, Daniel Swarbrick wrote:
> Armin Schindler wrote:
> > > > Sorry, but I don't see any CAPI debug messages. Did you set 'capi
> > > > debug'
> > > > ?
> 
> Ok, I've attached two CAPI debug captures. One shows the debug of when a CAPI
> call is transferred from one SIP phone to another. The other one shows the
> debug of when a SIP phone tries to do a call-pickup of a CAPI call that is
> ringing another SIP phone.

Okay, lets have a look at the first case:

...
    -- ISDN2: Error setting up echo canceller (PLCI=0x102)
Dec 22 11:53:50 WARNING[3056647088]: chan_capi.c:3270 show_capi_conf_error: 
ISDN2: conf_error 0x300b PLCI=0x102
Command=FACILITY_CON
F,0x8497
       > CAPI INFO 0x300b: Facility not supported
...

when a connection is established the echo-cancel will be activated. But in 
this case the driver rejects this. Maybe the card does not support it, or
the wrong facility-selector is used (for older eicon driver you must set 
echocancelold=yes).
Anyway, this is just a warning and the call goes on....

...
Dec 22 11:53:51 ERROR[3052743600]: chan_capi.c:1173 capi_write: dont know 
how to write subclass 64
...

Now this is the problem why the call is disconnected. It is exactly the 
problem I described: openpbx tries to send subclass 64 voice (slin) to
capi which supports alaw only !

Now the second case:
...
       > CAPI INFO 0x300b: Facility not supported
    -- Started music on hold, class 'default', on CAPI/ISDN2/5251713-11
    -- Stopped music on hold on CAPI/ISDN2/5251713-11
  == Spawn extension (all-users, 578, 0) exited non-zero on 
'CAPI/ISDN2/5251713-11'
    -- Executing Macro("CAPI/ISDN2/5251713-11", "pbx-extn-vmail|578|578") in 
new stack
    -- Executing Set("CAPI/ISDN2/5251713-11", "CFIM=") in new stack
    -- Executing GotoIf("CAPI/ISDN2/5251713-11", "1?3:20") in new stack
    -- Goto (macro-pbx-extn-vmail,s,3)
    -- Executing Dial("CAPI/ISDN2/5251713-11", "SIP/578|20|Tt") in new stack
    -- Called 578
    -- SIP/578-132d is ringing
  == ISDN2: Requested RINGING-Indication for CAPI/ISDN2/5251713-11
    -- ISDN2: attempting ALERT in state 2
    -- SIP/578-132d answered CAPI/ISDN2/5251713-11
  == ISDN2: Requested Indication-STOP for CAPI/ISDN2/5251713-11
  == Spawn extension (macro-pbx-extn-vmail, s, 3) exited non-zero on 
'CAPI/ISDN2/5251713-11' in macro 'pbx-extn-vmail'
  == Spawn extension (all-users, 578, 1) exited non-zero on 
'CAPI/ISDN2/5251713-11'
  == ISDN2: CAPI Hangingup
    -- ISDN2: activehangingup (cause=16)
...

I cannot find any error in this log. It looks like a perfect connection 
(except the echo-cancel warning again). The call is connected and then just
hung up with cause 'normal call clearing'.


Armin

_______________________________________________
Openpbx-dev mailing list
[email protected]
http://lists.openpbx.org/mailman/listinfo/openpbx-dev

Reply via email to