Summary:ASTERISK-21074: Implement NAT settings in chan_gulp
Reporter:Matt Jordan (mjordan)Labels:Asterisk12
Date Opened:2013-02-13 15:34:42.000-0600Date Closed:2013-03-15 08:47:31
Versions:Frequency of
Description:{{chan_gulp}} needs NAT help (don't we all). While "IPv6 or die" may be necessary, it isn't quite sufficient, and so we have the following:

We need:
* Support for RFC 3581 (rport), as well as the ability to force rport even if the request didn't ask for it. Work will probably have to be done to force pjsip to send the responses/requests for that endpoint where we want them.
* comedia (or at least the ability to configure it). This is already supported as we are using Asterisk's RTP engine, but we need to make sure the settings can be propagated.
* Override the SDP media address for a given endpoint
* icesupport (again, just need to push the setting down to the RTP engine)
* localnet settings
* externaddr/externtcpport/externtlsport/externhost/externrefresh equivalents

Note that this does *not* mean we should replicate the existing settings, which are somewhat confusing at times. It just means we should provide facilities that replicate them in the appropriate manner.
Comments:By: Joshua C. Colp (jcolp) 2013-02-13 15:39:52.024-0600

icesupport does require minor SDP work

localnet/externaddr/etc functionality should be similar but not the same - now that we can logically bind multiple transports to different interfaces properly they might reflect different networks and different external addresses