[asterisk-bugs] [JIRA] (ASTERISK-30362) res_pjsip_session: SDP o= header address changed in re-INVITE message

Asterisk Team (JIRA) noreply at issues.asterisk.org
Tue Dec 20 04:05:51 CST 2022


     [ https://issues.asterisk.org/jira/browse/ASTERISK-30362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asterisk Team updated ASTERISK-30362:
-------------------------------------

    Status: Waiting for Feedback  (was: Waiting for Feedback)

> res_pjsip_session: SDP o= header address changed in re-INVITE message
> ---------------------------------------------------------------------
>
>                 Key: ASTERISK-30362
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30362
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip_session
>    Affects Versions: 18.10.1
>         Environment: Debian 11
>            Reporter: Vitezslav Novy
>            Assignee: Asterisk Team
>         Attachments: origin-addr.pcap
>
>
> We noticed on one of our sites, that address in o= SDP header in re-INVITE message triggered by directmedia=ýes is different from address in first INVITE. It is violation of  RFC 3264 sec. 8 
> Analyzing create_local_sdp() it seems that in our case the o= address in re-INVITE SDP is total last resort get by ast_sip_get_host_ip_string(). Anyway I'm not sure if local->con, which is source of o= address when it is set, is stable enough to guarantee same address during whole session.
> I have created patch for us which uses address from ast_sip_get_host_ip_string() for o= header in all cases and guarantees same address during session. 



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



More information about the asterisk-bugs mailing list