[asterisk-bugs] [JIRA] (ASTERISK-28070) testsuite: Sniffer assumes pjmedia will use ports below 10000
Joshua C. Colp (JIRA)
noreply at issues.asterisk.org
Mon Sep 24 12:41:54 CDT 2018
Joshua C. Colp created ASTERISK-28070:
-----------------------------------------
Summary: 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
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