[Asterisk-Users] IAX Registration being lost

Wiley Siler wsiler at education2020.com
Fri Mar 18 07:38:24 MST 2005


I would assume this is an issue of port forwarding too.  Without having
a statically mapped port forward from your firewalls external to the *
internal IP, the port can shift.  The answer I gave below should resolve
your problem as well.

Cheers,
Wiley


-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Anton
Krall
Sent: Thursday, March 17, 2005 4:17 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: RE: [Asterisk-Users] IAX Registration being lost

Speaking of this. Why is it that sometimes the port is shown as
something differente than 4569 on some hosts? For ex.

Host                  Username    Perceived             Refresh
State
210.80.176.12:22110    8990608214  1.2.3.4:4569             60
Registered  

And why that host changes port each time it reboots?
This is happening to one IAX box I connect to.. And it's a pain cause I
have to put the port on my dial and registry entries in order to
register on it or dial to it.

Why is that?

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Wiley
Siler
Sent: Jueves, 17 de Marzo de 2005 03:08 p.m.
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [Asterisk-Users] IAX Registration being lost

Tony,

Do you have port 4569 on your external firewall IP port-forwarded to
your internal IP on the * box?

You should create a port forward of the external eth1:4569 -->
192.168.100.183:4569

Assuming that you exxternal IP were something like 1.2.3.4, you should
see this when you run iax2 show registry.

Host                  Username    Perceived             Refresh
State
210.80.176.12:4569    8990608214  1.2.3.4:4569             60
Registered 

Thanks,
Wiley



-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Tony
Davidson
Sent: Thursday, March 17, 2005 1:35 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: RE: [Asterisk-Users] IAX Registration being lost

Well, this is getting more interesting.  I started looking at this this
morning and realised that Asterisk had lost registration, yet my ADSL
connection has been up for almost 2 days - and it was working fine
yesterday.  Therefore it doesn't appear to be related to the IP address
changing.

I'm thinking it's more that the registration is lost for any reason
(such as an ADSL reconnect or the registration needing to be refreshed)
and it won't come back.  Get this message as before:

Host                  Username    Perceived             Refresh  State
210.80.176.12:4569    8990608214  <Unregistered>             60  Request
Sent

I tried a ping and a traceroute and both working fine.  An ifconfig just
shows the internal address (192.168.100.183).

------------------------
Tony Davidson CNA CA (IT) DCE
Director, Zero Effort Networking Pty Ltd
Ph: 0411 478 004, Fax: (02) 8569 2012
http://www.zeroeffortnetworking.com.au
 

> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Wiley 
> Siler
> Sent: Thursday, 17 March 2005 9:19 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: RE: [Asterisk-Users] IAX Registration being lost
> 
> What doesn't make sense about that is that if you are setup like 
> this...
> 
> DSL Router ---> Your Firewall/Router ---> Asterisk Box
> 
> Then the issue of being dynamic will not matter to the * box. 
>  IP storing is mute since the end point and start point are not 
> changing.
> All that is changing is the IP on the outside of your Firewall/Router 
> and thus a momentary loss of connectivity.
> AAH would not care about that in relation to what it has stored.  It 
> will just attempt the registration and pass data to the gateway 
> (inside interface of your
> FW/Router) just like before.  As far as it is concerned, nothing has 
> changed except now the attempt to communicate outward dies on the 
> first hop until the new IP is assigned to the external interface of 
> your FW.
> 
> Try this.  Start some IAX debug in the CLI the next time it happens.
> Tracert your IAX target and see if you can get to it.
> Ifconfig the interface to see what is setup.
> 
> Report back.
> 
> Thanks,
> Wiley
> 
> 

--------------------------------------------
My mailbox is spam-free with ChoiceMail, the leader in personal and
corporate anti-spam solutions. Download your free copy of ChoiceMail
from www.choicemailfree.com


_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at 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 at 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 at 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



More information about the asterisk-users mailing list