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

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Mon Dec 19 08:18:51 CST 2022


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

Joshua C. Colp commented on ASTERISK-30362:
-------------------------------------------

I have removed the patch. Attached patches must be done with a signed contributor license agreement.

> 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
>
> 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