[asterisk-bugs] [JIRA] (ASTERISK-28070) testsuite: Sniffer assumes pjmedia will use ports below 10000

Asterisk Team (JIRA) noreply at issues.asterisk.org
Mon Dec 3 17:16:51 CST 2018


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

Asterisk Team updated ASTERISK-28070:
-------------------------------------

    Target Release Version/s: 15.7.0

> 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
>      Target Release: 13.24.0, 15.7.0
>
>
> 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