[Asterisk-Users] Re: IAX Registration being lost

Aldo Bergamini aab.lists at nb-a.com
Thu Mar 17 04:58:09 MST 2005


asterisk-users-request at lists.digium.com is believed to have said: 

> I've posted this question twice without a single reply.  Does that mean no
> one knows the answer, or no one cares to answer?
> 
> I've been having an issue with an IAX2 trunk setup in Asterisk.  Setup the
> trunk fine and it registers and works fine.  I'm able to make outgoing calls
> from any extension and I'm happy :).
> 
> Then my Internet disconnects and it won't register anymore.  Simply says
> "Request Sent" forever.  
> 
> I can reinstate the trunk by removing it, rebooting the server (maybe a
> reload would also work) and then setting it up again.  It then registers
> fine again.
> 
> I'm imagining it has something to do with the fact that my home has a
> dynamic IP address and it's changing when the connection drops out.  Of
> course it may also be nothing to do with it.
> 
> I'd appreciate any help anyone can give.


Hi there,

while I can't help with the aboc problem in the scenario of dynamic IPs.
I have whatI think a similar question when using static IP addresses.

I have now disabled the registration to my iaxtel number from the
production asterisk I am using at work, as it was regularly loosing the
registration and thus trying to reregister.

The * box is running the stock (aka old!) Asterisk that comes on the SUSE
9.2 cds (Asterisk CVS-HEAD-08/13/04-12:00:00-BRI-stuffed-0.1.0-RC4a). My
first hypothesis was that the iax2 instability could be a problem in an
old release.

But I was quite surprised to see the same behaviour on a different test
machine (older PowerMac, running Yellow Dog Linux/Asterisk 1.0.6,
compiled from sources).

After starting asterisk the registration to iaxtel is ok, at first. But
if I check at the CLI with iax2 show registry at random after a few
minutes, most of the time asterisk is trying to re-register.

I am planning to test the same process on the next machine (the mytical
mini-ITX/Suse 9.2 for which I pestered the list asking for compilation
and zaptel startup help in the past week).

BTW: I have the PowerMac at home on a fast link (10 mbit/s) with slowly
changning dynamic IPs; the pbx at work is on a slower ADSL link (128/
640kbit/s) but with static IP address.

So, I add the question: who is having no registration problems on a
iaxtel link?

Thanks,
Aldo





More information about the asterisk-users mailing list