Re: [asterisk-users] Backuping VoIP provider with PRI
Thx Steve! Steve Totaro wrote: Qualify=yes? Thanks, Steve Marc Patino Gómez wrote: Hi Adam, thanks for your quick answer, I try your tip but the problem persist, so... It seems not to be a dns problem Asterisk executes the Dial command and it tries to reach the VoIP provider until timeout, in * console appears: Called [EMAIL PROTECTED] Anybody knows howto make dial command don't wait until timeout when the provider host is unrechable? Cheers, Marc Adam KOSA wrote: Marc Patino Gómez wrote: in most cases it works well but, if my internet connection is down Asterisk tries to Dial voipprovider, but it can't resolve the dns name, so it waits 60 seconds to jump to the following priority... Any ideas to solve this problem? I can't use the IP of the provider (it has a pool of servers), I try to use dnsmgr without solving the isue Why don't you fill the ip addresses to your /etc/hosts file? In that way lookups won't need any dns resolving and still could keep the load balancing by having multiple ip addresses to the same SIP hostname. regards Adam ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Backuping VoIP provider with PRI
Hi list, My Asterisk config for outgoing calls is the following: exten = s,1,Dial(SIP/[EMAIL PROTECTED],60,g) exten = s,n,GotoIf($[\${ANSWEREDTIME}\ = \\]?pri:hang) exten = s,n(pri),NoOp(Problems with voip provider trying PRI) exten = s,n,Dial(Zap/g2/${MACRO_EXTEN},60,g) exten = s,n(hang),HangUp in most cases it works well but, if my internet connection is down Asterisk tries to Dial voipprovider, but it can't resolve the dns name, so it waits 60 seconds to jump to the following priority... Any ideas to solve this problem? I can't use the IP of the provider (it has a pool of servers), I try to use dnsmgr without solving the isue Thanks in advance, Marc PD: I have used more sophisticate configs using DIALSTATUS variable, but the problem persists ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Backuping VoIP provider with PRI
Marc Patino Gómez wrote: in most cases it works well but, if my internet connection is down Asterisk tries to Dial voipprovider, but it can't resolve the dns name, so it waits 60 seconds to jump to the following priority... Any ideas to solve this problem? I can't use the IP of the provider (it has a pool of servers), I try to use dnsmgr without solving the isue Why don't you fill the ip addresses to your /etc/hosts file? In that way lookups won't need any dns resolving and still could keep the load balancing by having multiple ip addresses to the same SIP hostname. regards Adam ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Backuping VoIP provider with PRI
Hi Adam, thanks for your quick answer, I try your tip but the problem persist, so... It seems not to be a dns problem Asterisk executes the Dial command and it tries to reach the VoIP provider until timeout, in * console appears: Called [EMAIL PROTECTED] Anybody knows howto make dial command don't wait until timeout when the provider host is unrechable? Cheers, Marc Adam KOSA wrote: Marc Patino Gómez wrote: in most cases it works well but, if my internet connection is down Asterisk tries to Dial voipprovider, but it can't resolve the dns name, so it waits 60 seconds to jump to the following priority... Any ideas to solve this problem? I can't use the IP of the provider (it has a pool of servers), I try to use dnsmgr without solving the isue Why don't you fill the ip addresses to your /etc/hosts file? In that way lookups won't need any dns resolving and still could keep the load balancing by having multiple ip addresses to the same SIP hostname. regards Adam ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Backuping VoIP provider with PRI
Qualify=yes? Thanks, Steve Marc Patino Gómez wrote: Hi Adam, thanks for your quick answer, I try your tip but the problem persist, so... It seems not to be a dns problem Asterisk executes the Dial command and it tries to reach the VoIP provider until timeout, in * console appears: Called [EMAIL PROTECTED] Anybody knows howto make dial command don't wait until timeout when the provider host is unrechable? Cheers, Marc Adam KOSA wrote: Marc Patino Gómez wrote: in most cases it works well but, if my internet connection is down Asterisk tries to Dial voipprovider, but it can't resolve the dns name, so it waits 60 seconds to jump to the following priority... Any ideas to solve this problem? I can't use the IP of the provider (it has a pool of servers), I try to use dnsmgr without solving the isue Why don't you fill the ip addresses to your /etc/hosts file? In that way lookups won't need any dns resolving and still could keep the load balancing by having multiple ip addresses to the same SIP hostname. regards Adam ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users