]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_sdp_rtp: RTP instance does not use same IP as explicit transport
authorRichard Begg <asterisk@meric.id.au>
Tue, 14 Mar 2017 21:22:42 +0000 (08:22 +1100)
committerRichard Begg <asterisk@meric.id.au>
Thu, 16 Mar 2017 19:13:47 +0000 (06:13 +1100)
commit139bc3495f8f46201b4aac6c84a5f0d04822f9da
treedf4c31b3b334d7e606b636af6cf8147c3bda10c0
parent071e6d971cb97df767b2c6c4c1fdcac17bf92038
res_pjsip_sdp_rtp: RTP instance does not use same IP as explicit transport

Currently a wildcard address is used for the local RTP socket, which
will not always result in the same address as used by the SIP socket
(e.g. if explicit transport addresses are configured).
Use the transport's host address when binding new local RTP sockets if
available.

ASTERISK-26851

Change-Id: I098c29c9d1f79a4f970d72ba894874ac75954f1a
res/res_pjsip_sdp_rtp.c