]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_rtp: Accept hostname as well as ip address as destination
authorGeorge Joseph <gjoseph@digium.com>
Wed, 21 Aug 2019 18:29:57 +0000 (12:29 -0600)
committerGeorge Joseph <gjoseph@digium.com>
Thu, 22 Aug 2019 12:36:51 +0000 (06:36 -0600)
commitc00a010fe8e4cac63f09406a8c7ff97166f5f773
tree122662124ad0f029805fecc5b1babcc05eaf4c40
parent6407ccd2d9887754d51b38de6d635e42fd775611
chan_rtp:  Accept hostname as well as ip address as destination

The UnicastRTP channel driver provided by chan_rtp now accepts
"<hostname>:<port>" as an alternative to "<ip_address>:<port>"
in the destination. The first AAAA (preferred) or A record resolved
will be used as the destination. The lookup is synchronous so beware
of possible dialplan delays if you specify a hostname.

Change-Id: Ie6f95b983a8792bf0dacc64c7953a41032dba677
channels/chan_rtp.c
doc/CHANGES-staging/chan_rtp.txt [new file with mode: 0644]