[asterisk-dev] Asterisk 16. PJSIP. INVITE. "Contact" field and FQDN
KoltogyanU2 SergeyU2
u2 at amintegrator.com
Tue Oct 30 13:57:43 CDT 2018
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 <jcolp at digium.com>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20181030/62e490f3/attachment-0001.html>
More information about the asterisk-dev
mailing list