i added extra_hdrs param to imc module (not committed yet) and when
tried a test with request
MESSAGE sip:room@test.fi SIP/2.0
From: "Juha Heinanen" <sip:jh@test.fi>;tag=vubpq
To: <sip:room@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@test.fi a message with body
*** <sip:jh@test.fi> has joined the room
BUT it never replies with 200 ok to the message that sip:jh@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