[asterisk-bugs] [JIRA] (ASTERISK-28261) PJSIP: SDP in 180 Ringing is ignored

Michael Maier (JIRA) noreply at issues.asterisk.org
Wed Jan 30 13:56:47 CST 2019


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

Michael Maier updated ASTERISK-28261:
-------------------------------------

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

To be honest, I'm a bit surprised, that the submitted patch should be used as a final solution. I primarily aimed to show by a small - for myself working - code example, how this problem could be fixed quickly.

I really don't know (and can't say at all at this moment) if this patch is the correct way to achieve the desired behavior and I can't say at all, if this patch would work with other asterisk versions, too, because I don't use them and can't test them (I don't have a complete development and test environment handy here at the moment).

Therefore I would be happy, if you could do the process for me. Regardless of that, I'm happy to further support you wherever possible if there are any more questions.

It's fine for me if it takes some more time as I'm anyway compiling each version of asterisk myself on base of a RPM spec file, which applies this patch automatically.

> PJSIP: SDP in 180 Ringing is ignored
> ------------------------------------
>
>                 Key: ASTERISK-28261
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28261
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: pjproject/pjsip
>    Affects Versions: 13.24.1
>         Environment: CentOS
>            Reporter: Michael Maier
>            Assignee: Michael Maier
>              Labels: patch, pjsip
>         Attachments: 180-ignored-sdp.pcapng, aor.txt, endpoint.txt, no-sdp-with-180.txt, res_pjsip_session-neu-3.c.diff
>
>
> Given is an outbound call to a callee via asterisk to the ISP. 
> After INVITE, the ISP sends 100 Trying and some time later 180 Ringing *w/* SDP and the header "P-Early-Media: sendonly" (no 183 or any other thing until callee responds). 
> SDP in 180 contains media attribute *sendrecv* (contradicting to the P-Early-Media header).
> Asterisk 13.24.1 sends PRACK to the ISP (w/o SDP) and the 180 to the caller - but SDP is dropped and therefor no early media is possible!



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



More information about the asterisk-bugs mailing list