]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_session: Rewrite o= with external_media_address.
authorAlexander Traud <pabstraud@compuserve.com>
Fri, 13 Oct 2017 14:43:12 +0000 (16:43 +0200)
committerAlexander Traud <pabstraud@compuserve.com>
Sat, 14 Oct 2017 11:13:55 +0000 (06:13 -0500)
commitdcbf61a31e5a86452e6dd05948b10a024c6069af
tree13858404223152e12cf802f4797ad22ef6e05253
parent6fc88e80e88502015082e175d8b5735c3cd84267
res_pjsip_session: Rewrite o= with external_media_address.

PJSIP allows a domain name as external_media_address. This allows chan_pjsip to
be used behind a NAT with changing IP addresses. The IP address of that domain
is resolved to the c= line already. This change sets also the o= line to that
domain.

ASTERISK-27341 #close

Change-Id: I690163b6e762042ec38b3995aa5c9bea909d8ec4
res/res_pjsip_session.c