]> 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:39:50 +0000 (07:39 -0500)
commit19045db39296dfb2ed2dc42814b0199f0bc45b54
tree6a81614c17807c960a92fe7b426a52987234b0a2
parent9e015713cc7e17428528db80716923658a22e62c
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]