[Freeswitch-users] Về: : need help on call to gateway

false cucku.cucku at yahoo.com.vn
Fri Apr 2 05:14:10 PDT 2010


Hi Jean

yeah, your way solves my issue

Thank you





________________________________
Từ: Jean-Yves F. Barbier <12ukwn at gmail.com>
Đến: freeswitch-users at 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 at 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 at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



      Yahoo! Mail nay NHANH HƠN - Thử ngay! http://vn.mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100402/a5f94108/attachment.html 


More information about the FreeSWITCH-users mailing list