> Dont use modprobe, use "capiinit start"

Doing that :-)

> Get latest Firmware from:
> ftp://ftp.in-berlin.de/pub/capi4linux/firmware/b1/3-11-03/

Done that now. I've also put this link into the wiki.



> > With some debugging statements I found out that it hangs right here
> > in chan_capi.c:
> >
> >         if (Listen(ALL_SERVICES) != 0) {
> >             ast_log(LOG_NOTICE,"unable to listen!\n");
> >             return -1;
> >         }
> >

Unfortunately, it is still hanging. I traced it a little bit and it hangs 
in this loop after the //HS debug output:

unsigned ListenOnController(unsigned long CIPmask,unsigned controller) {
    MESSAGE_EXCHANGE_ERROR  error;
    _cmsg                   CMSG,CMSG2;

    LISTEN_REQ_HEADER(&CMSG, ast_capi_ApplID, ast_capi_MessageNumber++, 
controller);
#ifdef NEVER_EVER_EARLY_B3_CONNECTS
    LISTEN_REQ_INFOMASK(&CMSG) = 0x00ff; // lots of info ;)
#else
    LISTEN_REQ_INFOMASK(&CMSG) = 0x03ff; // lots of info ;) + early B3 
connect
#endif
    LISTEN_REQ_CIPMASK(&CMSG) = CIPmask;
    if ((error = _capi_put_cmsg(&CMSG)) != 0) {
        return error;
    }
ast_log(LOG_NOTICE,"//HS\n");
    while (!IS_LISTEN_CONF(&CMSG2)) {
        error = check_wait_get_cmsg(&CMSG2);
    }
    return 0;
}

If it is of any interest: the variable CIPmask is 0x1fff03ff.

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to