[Asterisk-Users] iax2 registry - auto reconnect ?

Rich Adamson radamson at routers.com
Thu Jun 16 12:21:51 MST 2005


> I use the Teliax service with the IAX2 protocol.  I noticed 2 days ago
> that I was not registered with the Teliax server.  I used the "iax2 show
> registry" command and found I was not registered with Teliax.  I issued
> a reload command in asterisk in order to connect again.
> 
> I went to the Teliax website and noticed a message which stated clients
> may need to reboot due to changes made with their dns servers.
> 
> My question is ... If an iax2 entry is not registered, will I fail to
> get inbound calls?  Is there any way to have * automatically detect and
> re-register periodically?

I noticed the same thing and rebooting isn't necessaryily going to fix
the issue unless the asterisk box is "also" the dns server. (In our case,
another linux box is the dns server and it cached the voip.teliax.com
so asterisk was always getting back one of their IP's that no longer
functions.)

I ended up changing the register statement (etc) to 208.139.204.228
as a temp bypass.

Yes, if register fails, you will not receive inbound calls. Essentially,
the teliax server does not have a clue where you are located (IP wise)
and doesn't know you are even alive unless a register happens.

I didn't look, but I'd guess the /var/log/asterisk log probably has an
entry for the registration failing.





More information about the asterisk-users mailing list