[asterisk-bugs] [JIRA] (ASTERISK-28502) chan_pjsip incorrectly re-writes REGISTER 200 Response Contact

George Joseph (JIRA) noreply at issues.asterisk.org
Tue Aug 13 08:36:47 CDT 2019


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=247757#comment-247757 ] 

George Joseph commented on ASTERISK-28502:
------------------------------------------

We had a chat about this on IRC #asterisk-dev and we _believe_ that the rewritten contact should only be used for outgoing requests, not responses to incoming requests and that responses should preserve the contact header.   We still need to make sure we send response packets to the incoming request source address.


> chan_pjsip incorrectly re-writes REGISTER 200 Response Contact
> --------------------------------------------------------------
>
>                 Key: ASTERISK-28502
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28502
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip
>    Affects Versions: 13.28.0, GIT
>         Environment: Centos 7
>            Reporter: Ross Beer
>              Labels: pjsip
>
> When rewrite_contact is set on an endpoint Asterisk is rewriting the contact on a 200 response to a REGISTER request.
> This causes some clients to fail registration locally as the contact header does not match that of the original request.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list