[Asterisk-Users] Asterisk on PPC & chan_capi issue

Patrick asterisk at puzzled.xs4all.nl
Mon Dec 5 18:40:28 MST 2005


Hi all,

I have a PPC box (IBM RS6000 43P-150, bigendian afaik) which runs Fedora
Core 5 Test1 and zaptel, libpri and asterisk 1.2.0. I also installed
chan_capi (0.6.1) so I can use my Eicon Diva Server BRI card. Asterisk
was compiled with DEBUG=-g and DEBUG_THREADS = -DDUMP_SCHEDULER
-DDEBUG_SCHEDULER-DDEBUG_THREADS -DDO_CRASH -DDETECT_DEADLOCKS. Next I
did make clean, make valgrind, make install. Asterisk runs as user/group
asterisk/asterisk.

SIP <--> SIP calls are fine, Calls from SIP out to the PSTN via
CAPI/ISDN are fine too. ISDN/CAPI --> SIP calls don't work. Example
output of the issue is below. Anyone have an idea how I fix this?

Thanks and regards,
Patrick


chan_capi registers fine:
**********************************************************************
 [chan_capi.so] => (Common ISDN API for Asterisk)
  == This box has 1 capi controller(s).
  == Reading config for BRI1
    -- ast_capi_pvt BRI1-pseudo-D (<MSN1>,<MSN2>,capi-in,0,2) (1,4,128)
    -- ast_capi_pvt BRI1 (<MSN1>,<MSN2>,capi-in,0,2) (1,4,128)
    -- ast_capi_pvt BRI1 (<MSN1>,<MSN2>,capi-in,0,2) (1,4,128)
    -- listening on contr1 CIPmask = 0x1fff03ff
  == Registered channel type 'CAPI' (Common ISDN API Driver ($Revision:
1.115 $) )
  == Registered application 'capiCommand'
  == Registered custom function VANITYNUMBER

Call from my GSM to a SIP phone (exten 1003) via ISDN/CAPI (MSN2):
**********************************************************************
  == BRI1: Incoming call '<my GSM>' -> '<MSN2>'

    -- Executing Macro("CAPI/BRI1/<MSN2>-0", "stdexten|1003|SIP/1003")
in new stack
    -- Executing Dial("CAPI/BRI1/<MSN2>-0", "SIP/1003|10|TtwW") in new
stack
Dec  6 02:30:47 WARNING[28889]: channel.c:2494 ast_request: No
translator path exists for channel type SIP (native 65535) to 0
Dec  6 02:30:47 NOTICE[28889]: app_dial.c:1011 dial_exec_full: Unable to
create channel of type 'SIP' (cause 0 - Unknown)
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing Goto("CAPI/BRI1/<MSN2>-0", "s-CHANUNAVAIL|1") in new
stack
    -- Goto (macro-stdexten,s-CHANUNAVAIL,1)
    -- Executing Goto("CAPI/BRI1/<MSN2>-0", "s-NOANSWER|1") in new stack
    -- Goto (macro-stdexten,s-NOANSWER,1)
    -- Executing Answer("CAPI/BRI1/<MSN2>-0", "") in new stack
  == BRI1: Answering for 703241494
    -- Executing Wait("CAPI/BRI1/<MSN2>-0", "1") in new stack
Dec  6 02:30:47 NOTICE[28889]: channel.c:1893 ast_read: Dropping
incompatible voice frame on CAPI/BRI1/<MSN2>-0 of format alaw since our
native format has changed to unknown
Dec  6 02:30:47 NOTICE[28889]: channel.c:1893 ast_read: Dropping
incompatible voice frame on CAPI/BRI1/<MSN2>-0 of format alaw since our
native format has changed to unknown

[snipped tons more of these]

Dec  6 02:30:48 NOTICE[28889]: channel.c:1893 ast_read: Dropping
incompatible voice frame on CAPI/BRI1/<MSN2>-0 of format alaw since our
native format has changed to unknown
    -- Executing VoiceMail("CAPI/BRI1/<MSN2>", "u1003") in new stack
Dec  6 02:30:48 WARNING[28889]: channel.c:2313 set_format: Unable to
find a codec translation path from unknown to gsm
Dec  6 02:30:48 WARNING[28889]: file.c:820 ast_streamfile: Unable to
open vm-theperson (format unknown): No such file or directory
  == BRI1: CAPI Hangingup
       > CAPI INFO 0x3490: Normal call clearing




More information about the asterisk-users mailing list