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

Joshua C. Colp jcolp at digium.com
Tue Oct 30 09:33:46 CDT 2018


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 at 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:+380770081 at 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:6001 at ast.firma.org>;tag=afd3b600-886a-45fb-a120-5faac8220cec
> To: <sip:+380770081 at sip.pstnhub.microsoft.com>
> Contact: <sip:asterisk654 at 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: www.digium.com & www.asterisk.org



More information about the asterisk-dev mailing list