[Asterisk-Users] IAX dns lookups

Liaan vd Merwe liaan at yahoo.com
Thu Feb 3 01:56:24 MST 2005


thanks.. will give it try.
cheers
L
----- Original Message ----- 
From: "David J Carter" <david.carter at codepipe.com>
To: "Asterisk Users Mailing List - Non-Commercial
Discussion" 
<asterisk-users at lists.digium.com>
Sent: Thursday, February 03, 2005 10:07 AM
Subject: RE: [Asterisk-Users] IAX dns lookups


> Hi,
>
> Try something like these, works for me.
>
> extensions.conf
>
> [general]
> ;
> static=yes
> ;
> writeprotect=no
> ;
> [globals]
> ;
> CONSOLE=Console/dsp ; Console interface for demo
> ;CONSOLE=Zap/1
> ;CONSOLE=Phone/phone0
> ;
> #include globals.conf ;This includes your conf file
with your fqdn's
> listed.
>
> exten => _20XX,1,Dial(IAX2/guest@${RMT1}/${EXTEN})
> exten => _20XX,2,Hangup
> ;
> exten => _21XX,1,Dial(IAX2/guest@${RMT2}/${EXTEN})
> exten => _21XX,2,Hangup
> ;
> exten => _22XX,1,Dial(IAX2/guest@${RMT3}/${EXTEN})
> exten => _22XX,2,Hangup
> ;
> exten => _23XX,1,Dial(IAX2/guest@${RMT4}/${EXTEN})
> exten => _23XX,2,Hangup
> ;
> exten => _24XX,1,Dial(IAX2/guest@${RMT5}/${EXTEN})
> exten => _24XX,2,Hangup
>
>
>
>
>
> globals.conf
>
> RMT1=www.domain1.zzz ;remote1
> RMT2=www.domain2.zzz ;remote2
> RMT3=www.domain3.zzz ;remote3
> RMT4=www.domain4.zzz ;remote4
> RMT5=www.domain5.zzz ;remote5
>
> I never reboot even when the DynDns changes.
>
> Regards
>
> Dave
>
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com]On
Behalf Of Liaan vd
> Merwe
> Sent: 03 February 2005 07:38
> To: Asterisk Users Mailing List - Non-Commercial
Discussion
> Subject: [Asterisk-Users] IAX dns lookups
>
>
> Hi all
>
> Do any of you know i can force asterisk to lookup ip
> addresses for peers and
> trunks everytime it tries to make a call.
>
> One of the peers has a dynamic ip and is using
DynDNS
> to register host. Now
> i need to reload asterisk everytime i want to call
it
>
> thanks
> liaan
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
protection around
> http://mail.yahoo.com
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
>
http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>  
http://lists.digium.com/mailman/listinfo/asterisk-users
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
>
http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>  
http://lists.digium.com/mailman/listinfo/asterisk-users
> 



		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com 



More information about the asterisk-users mailing list