Top posting to keep with the flow... I'd have to guess at a couple of things here. Its already been stated that asterisk _only_ uses the first of multiple dns A records when queried. It would appear the voip.teliax.com dns A records point to 208.139.204.232 and 208.139.204.228, so one would have to guess they are attempting to load balance their servers based on dns. But, asterisk will use the first one returned for the duration of asterisk's uptime.
However, what happens if you register with one of those two servers and the second server attempts to _complete_ a call to your asterisk box? If you're behind a nat box, the answer is likely to be dependent on how that box is set up. If you're not behind a nat box, one still might have an issue if using the "type=friend" and iax (eg, does iax find a matching context based on ip, username, last context in iax.conf, etc). I'd have to guess that by using a specific IP address, you've managed to find a work-around for that problem, but there is likely an underlying root-cause that has yet to be identified. Rich ------------------------ > Rich and anybody else on Teliax might want to check a couple of times. I > have seen a few people having the same issue in the last couple of weeks. > > We have been seeing this if we do random tests between 5-60 min. > > I have tried one other thing in combination with Rich's config is to use one > of the IP address(208.139.204.232)instead of the FQDN which has two > different address. > > So far this seems to be working. > > Teliax form > http://www.teliax.com/forum/viewtopic.php?p=438#438 > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Rich Adamson > Sent: Thursday, June 09, 2005 5:59 AM > To: [EMAIL PROTECTED]; Asterisk Users Mailing List - Non-Commercial > Discussion > Subject: Re: [Asterisk-Users] Incoming call stops at random with Teliax > > > > We are setting up asterisk with Teliax and having trouble getting the > incoming call to work > all the time, the outgoing does not seem to have a > > problem. > > > > Here's what I've been using for the last several months: > > [teliax] ; for incoming calls > context=teliax-incoming > type=user > auth=md5 > secret=mymd5secret > disallow=all > allow=gsm > trunk=no > > [teliaxout] ; for outgoing calls > type=peer > host=voip.teliax.com > username=myname > auth=md5 > secret=mymd5secret ; provided by teliax > disallow=all > allow=gsm > trunk=no > > Calls are then placed using something like: > ; Calls directed to Teliax.com > ; long distance calls completed via Teliax.com > exten => _1NXXXXXXXXX,1,SetCallerID(3035551212|a) > exten => _1NXXXXXXXXX,2,SetCIDName(MyName|a) > exten => _1NXXXXXXXXX,3,Dial(IAX2/teliaxout/${EXTEN}) > exten => _1NXXXXXXXXX,4,Congestion > > If I recall correctly, the majority of the above was provided in an > email from teliax when I signed up. > > > _______________________________________________ > Asterisk-Users mailing list > [email protected] > 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 > [email protected] > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > ---------------End of Original Message----------------- _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
