[asterisk-dev] Asterisk 16. PJSIP. INVITE. "Contact" field and FQDN

Joshua C. Colp jcolp at digium.com
Tue Oct 30 07:19:42 CDT 2018


On Tue, Oct 30, 2018, at 9:12 AM, Mani Kanta Gadde wrote:
> I think you can also set the DNS instead of IP itself. Try it
> Thanks & Regards
> Manikanta

A hostname is not supported with the external_* options, for placement into the messages. It gets resolved down to the IP address. Placing a hostname into the Contact header URI host is not currently supported out of the box. The Contact stuff is handled within res_pjsip.c, the easiest option being to look for use of "contact_user" as that already modifies the user portion and using that as a base for any modification.

-- 
Joshua C. Colp
Digium - A Sangoma Company | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org



More information about the asterisk-dev mailing list