Thanks for the help. I found what I was looking for.
/res/res_pjsip_nat.c
cat /datadrive/src/asterisk-16.0.0/res/res_pjsip_nat.c | grep -ni ast.firma.org
pj_strdup2(tdata->pool, &uri->host, "ast.firma.org");
pj_strdup2(tdata->pool, &via->sent_by.host, "ast.firma.org");
this is in the function:
static pj_status_t nat_on_tx_message(pjsip_tx_data *tdata)
{
RAII_VAR(struct ao2_container *, transport_states, NULL, ao2_cleanup);
RAII_VAR(struct ast_sip_transport *, transport, NULL, ao2_cleanup);
RAII_VAR(struct ast_sip_transport_state *, transport_state, NULL, ao2_cleanup);
struct request_transport_details details = { 0, };
.......
Serg
________________________________
From: Joshua C. Colp <[email protected]>
Sent: Tuesday, October 30, 2018 19:52
To: Колтогян Сергей Рубенович U2; Asterisk Developers Mailing List
Subject: Re: [asterisk-dev] Asterisk 16. PJSIP. INVITE. "Contact" field and FQDN
On Tue, Oct 30, 2018, at 1:58 PM, KoltogyanU2 SergeyU2 wrote:
> "NAT code" - it`s ./res/res_pjsip_nat.c ?
Yes.
> "multihomed code" - What is this ?
That code is contained in res/res_pjsip/pjsip_message_filter.c
--
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%7C7b9ed3cce854492f73e708d63e907169%7C806bcdf8cdfb4595995e80fbcae20097%7C0%7C0%7C636765187443945780&sdata=mL%2F3EVTrDtbKZYpJbKX8zWzT5jjS2VpjuTE0hPrKbOI%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
--
_____________________________________________________________________
-- 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