You might want to pass that one by the asterisk-dev list.
Bob...
On Mon, 2006-12-11 at 15:18 -0800, je . wrote:
> My mistake, I misread it. So if a hostname is provided
> (e.g. [EMAIL PROTECTED]) instead of an IP (e.g.
> 123.123.123.123) and the recipient of the INVITE is
> not using NAT then
My mistake, I misread it. So if a hostname is provided
(e.g. [EMAIL PROTECTED]) instead of an IP (e.g.
123.123.123.123) and the recipient of the INVITE is
not using NAT then ast_gethostbyname will be run - is
that correct? In this case, why the distinction
between a NATted and non_NATted implementa
It looks to me that if the test clause is false then
ast_gethostbyname is called. Presumably not needed when NAT is enabled.
Bob...
je . wrote:
In chan_sip.c, line 5876 (Asterisk-1.2.13), the
function parse_ok_contact returns whether the host
that requested an invite is a valid or invalid
In chan_sip.c, line 5876 (Asterisk-1.2.13), the
function parse_ok_contact returns whether the host
that requested an invite is a valid or invalid host.
In line 5925 the following clause is tested:
if (!(ast_test_flag(pvt, SIP_NAT) & SIP_NAT_ROUTE))
hp = ast_gethostbyname(n, &ahp);
If this cl