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/[EMAIL PROTECTED]/${EXTEN}) exten => _20XX,2,Hangup ; exten => _21XX,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN}) exten => _21XX,2,Hangup ; exten => _22XX,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN}) exten => _22XX,2,Hangup ; exten => _23XX,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN}) exten => _23XX,2,Hangup ; exten => _24XX,1,Dial(IAX2/[EMAIL PROTECTED]/${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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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@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@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
Re: [Asterisk-Users] IAX dns lookups
thanks.. will give it try. cheers L - Original Message - From: "David J Carter" <[EMAIL PROTECTED]> To: "Asterisk Users Mailing List - Non-Commercial Discussion" 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/[EMAIL PROTECTED]/${EXTEN}) > exten => _20XX,2,Hangup > ; > exten => _21XX,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN}) > exten => _21XX,2,Hangup > ; > exten => _22XX,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN}) > exten => _22XX,2,Hangup > ; > exten => _23XX,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN}) > exten => _23XX,2,Hangup > ; > exten => _24XX,1,Dial(IAX2/[EMAIL PROTECTED]/${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: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] 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@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@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 ___ Asterisk-Users mailing list Asterisk-Users@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
Re: [Asterisk-Users] IAX dns lookups
On Wed, 2005-02-02 at 23:37 -0800, Liaan vd Merwe wrote: > 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 I have a system with 3 servers in various locations all on dynamic IPs, when their IP changes /etc/ppp/ip-up.local has the command to reload asterisk so that they re-register with all their peers. Works for me (tm). -- Dave Cotton <[EMAIL PROTECTED]> ___ Asterisk-Users mailing list Asterisk-Users@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