[Kamailio-Users] sip_resolvehost: NATPR query timed out

Daniel-Constantin Mierla miconda at gmail.com
Wed Sep 16 17:50:49 CEST 2009


Hello,

On 16.09.2009 16:56 Uhr, Joao Gomes Pereira wrote:
> Hello
> Im getting this error in my Kamailio-1.5.2:
>
> Sep 16 15:43:08 sip kamailio[25298]: ERROR:core:sip_resolvehost: NATPR 
> query timed out, no server could be reached, stop resolving 
> (Connection timed out)
> Sep 16 15:43:08 sip kamailio[25298]: CRITICAL:core:mk_proxy: could not 
> resolve hostname: "sip.server.pt"
> Sep 16 15:43:08 sip kamailio[25298]: ERROR:tm:uri2proxy: bad host name 
> in URI <sip:sip.server.pt>
> Sep 16 15:43:08 sip kamailio[25298]: ERROR:tm:t_forward_nonack: 
> failure to add branches
>
> Why cant Kamailio resolve the name?
> Could this be causing my clients SIP registrations to fail?
dns configuration in the server is broken. As message says, no DNS 
server could be reached while attempting to get the IP address of 
destination, therefore forwarding fails.

You can check it using dns tools on the system.

Not sure how is your architecture, but registers should be handled 
locally without forwarding -- you can set alias in config file to match 
hostnames as local domains.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
* http://www.asipto.com/




More information about the Users mailing list