[asterisk-dev] [Code Review] 3437: chan_sip: Add support for a few more 4xx error responses
Matt Jordan
reviewboard at asterisk.org
Mon Apr 14 07:24:45 CDT 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3437/#review11598
-----------------------------------------------------------
/trunk/channels/chan_sip.c
<https://reviewboard.asterisk.org/r/3437/#comment21363>
The 400/414 responses could occur for any request we send. How about moving them up to the 404 handling (line 24214)?
That would mean some additional handling would be needed in handle_response_register and handle_response_subscribe, but it shouldn't be too much.
/trunk/channels/chan_sip.c
<https://reviewboard.asterisk.org/r/3437/#comment21362>
Since a 493 occurs when an encrypted MIME body could not be unencrypted by the UAS, this should probably be handled by both the INVITE response handling as well as the SUBSCRIBE response handling.
I agree that this should go into 1.8+. We should handle valid response codes.
- Matt Jordan
On April 11, 2014, 2:29 a.m., Olle E Johansson wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/3437/
> -----------------------------------------------------------
>
> (Updated April 11, 2014, 2:29 a.m.)
>
>
> Review request for Asterisk Developers.
>
>
> Repository: Asterisk
>
>
> Description
> -------
>
> Adding improved support for 400, 414 and 493 response codes.
>
> I would like to add this as a bug fix to 1.8 and up.
>
>
> Diffs
> -----
>
> /trunk/channels/chan_sip.c 412166
>
> Diff: https://reviewboard.asterisk.org/r/3437/diff/
>
>
> Testing
> -------
>
> A lot during interoperability tests.
>
>
> Thanks,
>
> Olle E Johansson
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140414/8bfb2c4e/attachment.html>
More information about the asterisk-dev
mailing list