[Asterisk-Dev] skinny channel

Gustavo Garcia Bernardo ggb at tid.es
Mon Feb 23 10:23:47 MST 2004


I'm testing skinny channel with ipblue skinny softphone.  It fails to
register showing a log "chan_skinny.c:2275 get_input: Skinny Client sent
less data than expected.".

With ethereal i can see that the skinny messages are sent.  Somebody with
the same/similar problem?

Thank you very much.


The relevant code:

Ln.2267 channels/chan_skinny.c

static int get_input(struct skinnysession *s)
{
   ...........
   res = ast_select(s->fd + 1, &fds, NULL, NULL, NULL);

    if (res < 0) {
        ast_log(LOG_WARNING, "Select returned error: %s\n", strerror(er
    } else if (res > 0) {
        memset(s->inbuf,0,sizeof(s->inbuf));
        res = read(s->fd, s->inbuf, 4);        //<----- !!!!!!!!!!!!!!!!!
Returns 0
        if (res != 4) {
                ast_log(LOG_WARNING, "Skinny Client sent less data than
expected.\r\n");
         return -1;
        }
   ..............







More information about the asterisk-dev mailing list