I have asterisk 1.6 on ubuntu server 9.04.
When asterisk trys to parse the sip.config I get messages like this :
== Parsing ‘/etc/asterisk/sip_notify.conf’: == Found
> doing dnsmgr_lookup for ‘ippi.fr’
> doing dnsmgr_lookup for ‘ippi.fr’
[Jul 9 10:06:25] NOTICE[2388]: chan_sip.c:9923 sip_reg_timeout: – Registration for 'xxxxx@ippi.fr’ timed out, trying again (Attempt #1)
It is as if it couldn’t solve the ippi.fr. When I set IP-Adresses, than it works. Does anybody have an idea how to get this fixed ?
pagaille, yes, I am sure about the credentials (they work in xlite).
and mbruni, yes I may ping this name from the shell :
PING ippi.fr (213.215.45.230) 56(84) bytes of data.
64 bytes from 213.215.45.230: icmp_seq=1 ttl=55 time=24.9 ms
64 bytes from 213.215.45.230: icmp_seq=2 ttl=55 time=22.0 ms
^C64 bytes from 213.215.45.230: icmp_seq=3 ttl=55 time=22.0 ms
— ippi.fr ping statistics —
3 packets transmitted, 3 received, 0% packet loss, time 10266ms
rtt min/avg/max/mdev = 22.007/23.005/24.965/1.391 ms
hello pagaille, in fact I do not have any firewall and I have the same problem with other sip accounts : if I use IP-Adresse it works, but not if I use domain names …
If you are having the same problem with other hosts, it suggests you are having a dns problem. Do you see host lookup failure with the other applications, i.e. other than Asterisk?