[sr-dev] [tracker] Comment added: Kamailio does not handle HTTP Via: headers in requests and responses

sip-router bugtracker at sip-router.org
Wed Jun 20 12:09:47 CEST 2012


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#237 - Kamailio does not handle HTTP Via: headers in requests and responses
User who did this - Daniel-Constantin Mierla (miconda)

----------
OK, so if there is no special handling required, avoiding the parsing error should be easy. Search for '\nVia:' and if found, replace it with something that won't break the buffer, like '\nXia:', before going to the parser - I think this part is all in the xhttp module.

Not generating Via header has some existing mechanism, used by msg_apply_changes(), but it is for requests. Perhaps same approach can be used for replies to say the via should not be added. I guess, there has to be added a new kind of reply function to be used internally between modules, iirc, xhttp_reply() binds to sl module.
----------

More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=237#comment696

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list