[asterisk-bugs] [JIRA] (ASTERISK-28774) chan_pjsip's rtptimeout is erroneously triggered during direct-media (native_rtp) bridge
Friendly Automation (JIRA)
noreply at issues.asterisk.org
Fri Mar 20 10:19:26 CDT 2020
[ https://issues.asterisk.org/jira/browse/ASTERISK-28774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=250005#comment-250005 ]
Friendly Automation commented on ASTERISK-28774:
------------------------------------------------
Change 13977 merged by George Joseph:
chan_psip, res_pjsip_sdp_rtp: ignore rtptimeout if direct-media is active
[https://gerrit.asterisk.org/c/asterisk/+/13977|https://gerrit.asterisk.org/c/asterisk/+/13977]
> chan_pjsip's rtptimeout is erroneously triggered during direct-media (native_rtp) bridge
> ----------------------------------------------------------------------------------------
>
> Key: ASTERISK-28774
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-28774
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Channels/chan_pjsip, Resources/res_pjsip_sdp_rtp
> Affects Versions: 16.8.0
> Reporter: Michael Neuhauser
> Assignee: Michael Neuhauser
> Severity: Minor
>
> 2 PJSIP endpoints with identical configuration (codec, etc.) and
> direct_media=yes
> rtp_timeout=10
> rtp_timeout_hold=10
> When those two endpoints are bridged (via simple Dial()) the RTP is flowing directly between them, not through Asterisk. But the code that checks for a RTP timeout is still active and erroneously terminates the connection after same time.
> This happens because the function rtp_check_timeout() in res/res_pjsip_sdp_rtp.c ignores the direct-media state of the endpoint (can be checked via session_media->direct_media_addr).
> I have a small patch that fixes this bug and will add a gerrit code review for it.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list