"NAT code" - it`s ./res/res_pjsip_nat.c ? "multihomed code" - What is this ?
________________________________ From: Joshua C. Colp <jc...@digium.com> Sent: Tuesday, October 30, 2018 16:33 To: Колтогян Сергей Рубенович U2; Asterisk Developers Mailing List Subject: Re: [asterisk-dev] Asterisk 16. PJSIP. INVITE. "Contact" field and FQDN On Tue, Oct 30, 2018, at 11:31 AM, KoltogyanU2 SergeyU2 wrote: <snip> > Apparently sip_uri->host has already had the value "ast.firma.org", > but in the INVITE in the "Contact" field - ip address = 11.22.33.44: > Contact: <sip:asterisk654@11.22.33.44:5061;transport=TLS> > > Such INVITE sent asterisk: > <--- Transmitting SIP request (813 bytes) to TLS:52.114.76.76:5061 ---> > INVITE sip:+380770...@sip.pstnhub.microsoft.com:5061 SIP/2.0 > Via: SIP/2.0/TLS 11.22.33.44:5061;rport;branch=z9hG4bKPj70d53a0c-a0f3- > 479a-8917-00082632d069;alias > From: <sip:6...@ast.firma.org>;tag=afd3b600-886a-45fb-a120-5faac8220cec > To: <sip:+380770...@sip.pstnhub.microsoft.com> > Contact: <sip:asterisk654@11.22.33.44:5061;transport=TLS> > Call-ID: b0323db6-6e7f-4dc4-bfa9-309683031962 > CSeq: 20795 INVITE You would need to track down why that is, then. It may be that the NAT code or multihomed code is changing it. -- Joshua C. Colp Digium - A Sangoma Company | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: https://emea01.safelinks.protection.outlook.com/?url=www.digium.com&data=02%7C01%7Cu2%40amintegrator.com%7Cdebac7a77e244af4176608d63e74b5c6%7C806bcdf8cdfb4595995e80fbcae20097%7C0%7C0%7C636765068326808022&sdata=TGYAaYvOZ14iQlGdS%2BvWLvPEkxKBVsm4pjPq1CX41tY%3D&reserved=0 & https://emea01.safelinks.protection.outlook.com/?url=www.asterisk.org&data=02%7C01%7Cu2%40amintegrator.com%7Cdebac7a77e244af4176608d63e74b5c6%7C806bcdf8cdfb4595995e80fbcae20097%7C0%7C0%7C636765068326808022&sdata=X5u24UsJTIinAyFOBpz87aUuBbQ7o7k0NsNTEmOiC50%3D&reserved=0
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Astricon is coming up October 9-11! Signup is available at: https://www.asterisk.org/community/astricon-user-conference asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev