[asterisk-bugs] [JIRA] (ASTERISK-28070) testsuite: Sniffer assumes pjmedia will use ports below 10000
Friendly Automation (JIRA)
noreply at issues.asterisk.org
Thu Sep 27 09:21:54 CDT 2018
[ https://issues.asterisk.org/jira/browse/ASTERISK-28070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=244981#comment-244981 ]
Friendly Automation commented on ASTERISK-28070:
------------------------------------------------
Change 10259 merged by George Joseph:
res_rtp_asterisk: Raise event when RTP port is allocated
[https://gerrit.asterisk.org/10259|https://gerrit.asterisk.org/10259]
> testsuite: Sniffer assumes pjmedia will use ports below 10000
> -------------------------------------------------------------
>
> Key: ASTERISK-28070
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-28070
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Tests/General
> Affects Versions: 15.6.0, 16.0.0
> Reporter: Joshua C. Colp
> Assignee: Joshua C. Colp
> Labels: pjsip
>
> There is code currently present for attended transfer nominal tests which examines the port for media in the SDP:
> {noformat}
> if self.get_rtp_data(packet) > 10000:
> # The SDP has an RTP port within Asterisk's range (we know it uses
> # 10000-20000).
> {noformat}
> As of PJSIP 2.8 this is apparently no longer true as it is now using quite a bit higher ports. This breaks the logic and causes the tests to fail:
> channels.pjsip.transfers.attended_transfer.nominal.callee_local_direct_media
> channels.pjsip.transfers.attended_transfer.nominal.caller_local_direct_media
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list