[asterisk-dev] [Code Review] SIP: for an INVITE transaction, treat all 2XX responses the same as a 200

David Vossel dvossel at digium.com
Wed Sep 22 17:03:18 CDT 2010


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

Review request for Asterisk Developers.


Summary
-------

Currently if Asterisk receives any 2XX response to an outgoing INVITE other than a 200 it is ignored.  I have changed this behavior to treat all 2XX responses the same as a 200.  RFC3261 section 13.2.2.4 which outlines how a 2XX response should be handled in response to an INVITE request seems to treat all 2XX responses the same.  I don't see any reason why our implementation should be specific to only 200 Ok responses. 


Diffs
-----

  /trunk/channels/chan_sip.c 288419 

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


Testing
-------


Thanks,

David




More information about the asterisk-dev mailing list