[asterisk-users] Invalid host name

leonimar cape leo_mac_ph at yahoo.com
Thu Jul 15 04:49:05 CDT 2010


Hi Gareth,

Thank you very much for the quick reply.

No, I haven't tried that one since all of the gateways are on public ip address 
so I didn't consider enabling the NAT. But if thats how asterisk behaves when 
nat is set to yes then it could work. 

I will try it and let you know what happens.

Regards,

Mac

 


----- Original Message ----
From: Gareth Blades <list-asterisk at skycomuk.com>
To: Asterisk Users Mailing List - Non-Commercial Discussion 
<asterisk-users at lists.digium.com>
Sent: Thursday, July 15, 2010 4:45:31 PM
Subject: Re: [asterisk-users] Invalid host name

leonimar cape wrote:
> Hi Group,
> 
> Is there anyway to force asterisk to use the ip address instead of the hostname 
>
> in the sip via header.
> 
> Our client's gateway is using a not FQDN as the hostname of their gateway. And 
>I 
>
> am suspecting that the asterisk is dropping the call because it could not 
> resolve the hostname. 
> 
> I am also thinking to assigned it in the hosts file of my asterisk server so 
> that in can resolve it internally but the problem is that, the clients has 3 
> gateways with the same hostname.
> 
> 
> I am really desperate to resolve this issue. Any suggestion will be much 
> appreciated.
> 
> By the way I am using asterisk 1.4.27.1
> 
> Regards,
> 
> Mac 
> 
> 
> 
> 

Have you tried setting NAT=yes as that should cause asterisk to send the 
reply back to the IP address it originated from.

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users






More information about the asterisk-users mailing list