Từ: Jean-Yves F. Barbier <12ukwn@gmail.com>
Đến: freeswitch-users@lists.freeswitch.org
Gửi ngày: 21:50:05, Thứ Năm, 1 tháng 4 2010
Chủ đề: Re: [Freeswitch-users] : need help on call to gateway
Le Thu, 1 Apr 2010 22:17:48 +0800 (SGT),
false <
cucku.cucku@yahoo.com.vn> a écrit :
> Thank you for you recommend
>
> from your recommendation, i add the host name : sip.yeah.com into the
> /etc/hosts
>
> but i am still getting error on DNS
> Failed with status DNS Error [503]
This is because /etc/host.conf isn't configured to first pick a name
into /etc/hosts before a DNS resolution occurs (man host.conf)
But it is usually better to create a specific DNS zone, such as:
; Zone for *.fusionpbx.set
$TTL 1D
$ORIGIN fusionpbx.set.
;
@ IN SOA fusionpbx.set. hostmaster.fusionpbx.set. (
2010030401 ; serial
8H ; refresh
4H ; retry
4W ; expire
1D);
; DNS names
IN NS ns1.fusionpbx.set.
IN NS ns2.fusionpbx.set.
; MX
IN MX 10 mail.fusionpbx.set.
; Virtual Machines & Hosts
IN A 192.168.1.25
ns1 IN A 192.168.1.1
ns2 IN A 192.168.1.2
mail
IN A 192.168.1.50
*.fusionpbx.set. IN A 192.168.1.25
This way, you can address any subdomain (but may be that's not what you're
looking for?)
--
"Take that, you hostile sons-of-bitches!"
-- James Coburn, in the finale of _The_President's_Analyst_
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-usersUNSUBSCRIBE:
http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org