[asterisk-bugs] [JIRA] (ASTERISK-28993) PJSIP picks wrong media IP address for listening RTP

Benjamin Keith Ford (JIRA) noreply at issues.asterisk.org
Fri Jul 17 09:29:25 CDT 2020


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

Benjamin Keith Ford updated ASTERISK-28993:
-------------------------------------------

    Assignee: Marin Odrljin  (was: Unassigned)
      Status: Waiting for Feedback  (was: Triage)

Can you attach logs with SIP debugging[1] enabled so we can see the flow through Asterisk? The start of a call where things are being set up might show how the transport is being set. Bumping up debug and verbose levels would also help.

[1]: https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information

> PJSIP picks wrong media IP address for listening RTP
> ----------------------------------------------------
>
>                 Key: ASTERISK-28993
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28993
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip, Resources/res_pjsip_sdp_rtp
>    Affects Versions: 16.11.0
>         Environment: Debian GNU/Linux 9
>            Reporter: Marin Odrljin
>            Assignee: Marin Odrljin
>            Severity: Minor
>         Attachments: http.conf, pjsip.conf, rtp.conf
>
>
> We are having multiple local IP addresses 10.5.20.42 ,.52, ,.62, ,.72 for multiple PJSIP trunks toward 2 different provider IP addresses. SIP INVITE sends SDP as following:
> {code}
> c=IN IP4 10.5.20.42
> m=audio 12442 RTP/AVP 8 3 101
> {code}
> but UDP listening address is the last one .72:
> {code}
> ss -na
> udp    UNCONN     0      0      10.5.20.72:12442                 *:*
> {code}
> So the result is no incoming RTP packets are comming into Asterisk - no IN audio.
> Intersting thing is that in Asterisk 13 we have had the same configuration and it worked because Asterisk was listening on all IPs 0.0.0.0



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



More information about the asterisk-bugs mailing list