<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=koi8-r">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span lang="en"><span>Thanks for the help.</span> <span>I found what I was looking for.</span></span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<font size="2"><span style="font-size:11pt">/res/res_pjsip_nat.c</span></font></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>cat /datadrive/src/asterisk-16.0.0/res/res_pjsip_nat.c | grep -ni ast.firma.org<br>
</span>
<div> pj_strdup2(tdata->pool, &uri->host, "ast.firma.org");<br>
</div>
<span> pj_strdup2(tdata->pool, &via->sent_by.host, "ast.firma.org");</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>this is in the function:</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><span>static pj_status_t nat_on_tx_message(pjsip_tx_data *tdata)<br>
</span>
<div>{<br>
</div>
<div> RAII_VAR(struct ao2_container *, transport_states, NULL, ao2_cleanup);<br>
</div>
<div> RAII_VAR(struct ast_sip_transport *, transport, NULL, ao2_cleanup);<br>
</div>
<div> RAII_VAR(struct ast_sip_transport_state *, transport_state, NULL, ao2_cleanup);<br>
</div>
<div> struct request_transport_details details = { 0, };<br>
</div>
.......</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>Serg<br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span></span><br>
</div>
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Joshua C. Colp <jcolp@digium.com><br>
<b>Sent:</b> Tuesday, October 30, 2018 19:52<br>
<b>To:</b> Колтогян Сергей Рубенович U2; Asterisk Developers Mailing List<br>
<b>Subject:</b> Re: [asterisk-dev] Asterisk 16. PJSIP. INVITE. "Contact" field and FQDN</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">On Tue, Oct 30, 2018, at 1:58 PM, KoltogyanU2 SergeyU2 wrote:<br>
> "NAT code" - it`s ./res/res_pjsip_nat.c ?<br>
<br>
Yes.<br>
<br>
> "multihomed code" - What is this ?<br>
<br>
That code is contained in res/res_pjsip/pjsip_message_filter.c<br>
<br>
-- <br>
Joshua C. Colp<br>
Digium - A Sangoma Company | Senior Software Developer<br>
445 Jan Davis Drive NW - Huntsville, AL 35806 - US<br>
Check us out at: <a href="https://emea01.safelinks.protection.outlook.com/?url=www.digium.com&data=02%7C01%7Cu2%40amintegrator.com%7C7b9ed3cce854492f73e708d63e907169%7C806bcdf8cdfb4595995e80fbcae20097%7C0%7C0%7C636765187443945780&sdata=mL%2F3EVTrDtbKZYpJbKX8zWzT5jjS2VpjuTE0hPrKbOI%3D&reserved=0">
https://emea01.safelinks.protection.outlook.com/?url=www.digium.com&data=02%7C01%7Cu2%40amintegrator.com%7C7b9ed3cce854492f73e708d63e907169%7C806bcdf8cdfb4595995e80fbcae20097%7C0%7C0%7C636765187443945780&sdata=mL%2F3EVTrDtbKZYpJbKX8zWzT5jjS2VpjuTE0hPrKbOI%3D&reserved=0</a>
& <a href="https://emea01.safelinks.protection.outlook.com/?url=www.asterisk.org&data=02%7C01%7Cu2%40amintegrator.com%7C7b9ed3cce854492f73e708d63e907169%7C806bcdf8cdfb4595995e80fbcae20097%7C0%7C0%7C636765187443945780&sdata=DWioncHIdkZzeLv99qlUEp0sl9X%2F%2BrMkOtOA%2F7mqyHk%3D&reserved=0">
https://emea01.safelinks.protection.outlook.com/?url=www.asterisk.org&data=02%7C01%7Cu2%40amintegrator.com%7C7b9ed3cce854492f73e708d63e907169%7C806bcdf8cdfb4595995e80fbcae20097%7C0%7C0%7C636765187443945780&sdata=DWioncHIdkZzeLv99qlUEp0sl9X%2F%2BrMkOtOA%2F7mqyHk%3D&reserved=0</a><br>
</div>
</span></font></div>
</div>
</body>
</html>