[sr-dev] extra_hdrs param to imc module

Juha Heinanen jh at tutpro.com
Thu Sep 3 20:14:24 CEST 2009


i added extra_hdrs param to imc module (not committed yet) and when
tried a test with request

MESSAGE sip:room at test.fi SIP/2.0
From: "Juha Heinanen" <sip:jh at test.fi>;tag=vubpq
To: <sip:room at test.fi>
...
Content-Length: 5

with body

#join

i see in syslog an error:

Sep  3 20:45:22 localhost /usr/sbin/sip-router[24817]: ERROR: imc [imc_cmd.c:146]: command: [join]

wireshark shows that in spite of the error imc server is sending to
sip:jh at test.fi a message with body

*** <sip:jh at test.fi> has joined the room

BUT it never replies with 200 ok to the message that sip:jh at test.fi
sent.

when i look at the code, where the error message comes, it seems that
perhaps imc_parse_cmd does not like body terminating without crlf or
something. i don't know what the rfcs say about that.

-- juha



More information about the sr-dev mailing list