[Asterisk-Users] IAX Registration being lost

Wiley Siler wsiler at education2020.com
Thu Mar 17 14:07:40 MST 2005


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



More information about the asterisk-users mailing list