[asterisk-dev] [Code Review] Ensure SIP responses only have one Via header

Terry Wilson reviewboard at asterisk.org
Thu Nov 18 14:34:42 CST 2010


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1019/
-----------------------------------------------------------

Review request for Asterisk Developers and David Vossel.


Summary
-------

8.1.3.3 Vias

   If more than one Via header field value is present in a response, the
   UAC SHOULD discard the message.

      The presence of additional Via header field values that precede
      the originator of the request suggests that the message was
      misrouted or possibly corrupted.


Diffs
-----

  /branches/1.4/channels/chan_sip.c 295442 

Diff: https://reviewboard.asterisk.org/r/1019/diff


Testing
-------

Used sipp to send a request with an extra via header; it was ignored. Valid responses still passed normally.


Thanks,

Terry

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20101118/d8bf917e/attachment.htm 


More information about the asterisk-dev mailing list