RE: [Asterisk-Users] IAX losing registration

2005-05-23 Thread Joel Duffield
I have them all as IP's. I tried registering with myself and that stayed up
longer then the ones going out on the net, but when I did a reload then that
one died too. I had this problem when I was running 1.0.5 and still have it
with 1.0.7. does this function have any dependancies that I don't know
about.

P.S. they stup up for longer then 3 hours but sometime during the night they
died.

Joel

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Matt
Riddell
Sent: Sunday, May 22, 2005 11:50 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] IAX losing registration


Joel Duffield wrote:
 The problem is still occuring. it happens even if I register with myself,
it
 works for some time and then just dies. The qualify still shows up as 65ms
 on the outside server, but the registry just says Request Sent. and a
 reload doesn't help only restart.

Are you registering against a hostname or IP?

Try changing to an IP if possible.

Is it maybe caching DNS somewhere along the line for that Host (and
maybe the IP has changed)?

Strange that reload does not work as I thought that it cleared the dns
cache (as far as Asterisk is concerned).

--
Cheers,

Matt Riddell
___

http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)
___
Asterisk-Users mailing list
Asterisk-Users@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
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.322 / Virus Database: 266.11.15 - Release Date: 5/22/2005

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.322 / Virus Database: 266.11.15 - Release Date: 5/22/2005

___
Asterisk-Users mailing list
Asterisk-Users@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


RE: [Asterisk-Users] IAX losing registration

2005-05-22 Thread Joel Duffield
The problem is still occuring. it happens even if I register with myself, it
works for some time and then just dies. The qualify still shows up as 65ms
on the outside server, but the registry just says Request Sent. and a
reload doesn't help only restart.

Joel

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Matt
Riddell
Sent: Saturday, May 21, 2005 11:23 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] IAX losing registration


Joel Duffield wrote:
 The firewall I'm using is a Linksys BEFSR41 V3 it says that it uses The
 router uses NAT and TCP/IP port inspections not stateful inspections.

Make sure that your are using qualify=xxx for your IAX2 peers.

For example, if you set it to 400 (this is in iax.conf in the definition
for a particular account), it would send a request every 400ms (and mark
the peer as unreachable if it goes over this amount).

If you still get problems, lower the number.

--
Cheers,

Matt Riddell
___

http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)
___
Asterisk-Users mailing list
Asterisk-Users@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
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.322 / Virus Database: 266.11.15 - Release Date: 5/22/2005

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.322 / Virus Database: 266.11.15 - Release Date: 5/22/2005

___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] IAX losing registration

2005-05-22 Thread Matt Riddell

Joel Duffield wrote:

The problem is still occuring. it happens even if I register with myself, it
works for some time and then just dies. The qualify still shows up as 65ms
on the outside server, but the registry just says Request Sent. and a
reload doesn't help only restart.


Are you registering against a hostname or IP?

Try changing to an IP if possible.

Is it maybe caching DNS somewhere along the line for that Host (and 
maybe the IP has changed)?


Strange that reload does not work as I thought that it cleared the dns 
cache (as far as Asterisk is concerned).


--
Cheers,

Matt Riddell
___

http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)
___
Asterisk-Users mailing list
Asterisk-Users@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] IAX losing registration

2005-05-21 Thread Joel Duffield
My * box keeps losing its registration to all the servers it is registering
to, the only way to fix it is to restart asterisk and then it works fine for
another 2 hours or so. I'm on a static IP, but this happens like clockwork
every time. I have seen other people that have this problem but never an
answer. Please can any guru out there help me. This is the only problem with
this system that is keeping me from going live with it. Here is my IAX2 show
registry.

Host  UsernamePerceived Refresh  State
216.94.102.***:4569   **  Unregistered 60  Request
Sent
139.142.184.***:4569  **  Unregistered 60  Request
Sent

* them out just for security but these fields show up fine.

Thanks Joel
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.322 / Virus Database: 266.11.14 - Release Date: 5/20/2005

___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] IAX losing registration

2005-05-21 Thread Francisco A. Lozano
Maybe you connections pass through a stateful firewall , and these states 
die after some inactivity time... Check it.


- Original Message - 
From: Joel Duffield [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@lists.digium.com

Sent: Saturday, May 21, 2005 3:45 PM
Subject: [Asterisk-Users] IAX losing registration


My * box keeps losing its registration to all the servers it is 
registering
to, the only way to fix it is to restart asterisk and then it works fine 
for

another 2 hours or so. I'm on a static IP, but this happens like clockwork
every time. I have seen other people that have this problem but never an
answer. Please can any guru out there help me. This is the only problem 
with
this system that is keeping me from going live with it. Here is my IAX2 
show

registry.

Host  UsernamePerceived Refresh  State
216.94.102.***:4569   **  Unregistered 60  Request
Sent
139.142.184.***:4569  **  Unregistered 60  Request
Sent

* them out just for security but these fields show up fine.

Thanks Joel
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.322 / Virus Database: 266.11.14 - Release Date: 5/20/2005

___
Asterisk-Users mailing list
Asterisk-Users@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@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


RE: [Asterisk-Users] IAX losing registration

2005-05-21 Thread Joel Duffield
The firewall I'm using is a Linksys BEFSR41 V3 it says that it uses The
router uses NAT and TCP/IP port inspections not stateful inspections.

Joel

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Francisco
A. Lozano
Sent: Saturday, May 21, 2005 10:23 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] IAX losing registration


Maybe you connections pass through a stateful firewall , and these states
die after some inactivity time... Check it.

- Original Message -
From: Joel Duffield [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion
asterisk-users@lists.digium.com
Sent: Saturday, May 21, 2005 3:45 PM
Subject: [Asterisk-Users] IAX losing registration


 My * box keeps losing its registration to all the servers it is
 registering
 to, the only way to fix it is to restart asterisk and then it works fine
 for
 another 2 hours or so. I'm on a static IP, but this happens like clockwork
 every time. I have seen other people that have this problem but never an
 answer. Please can any guru out there help me. This is the only problem
 with
 this system that is keeping me from going live with it. Here is my IAX2
 show
 registry.

 Host  UsernamePerceived Refresh  State
 216.94.102.***:4569   **  Unregistered 60  Request
 Sent
 139.142.184.***:4569  **  Unregistered 60  Request
 Sent

 * them out just for security but these fields show up fine.

 Thanks Joel
 --
 No virus found in this outgoing message.
 Checked by AVG Anti-Virus.
 Version: 7.0.322 / Virus Database: 266.11.14 - Release Date: 5/20/2005

 ___
 Asterisk-Users mailing list
 Asterisk-Users@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@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
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.322 / Virus Database: 266.11.14 - Release Date: 5/20/2005

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.322 / Virus Database: 266.11.14 - Release Date: 5/20/2005

___
Asterisk-Users mailing list
Asterisk-Users@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


Re: [Asterisk-Users] IAX losing registration

2005-05-21 Thread Matt Riddell

Joel Duffield wrote:

The firewall I'm using is a Linksys BEFSR41 V3 it says that it uses The
router uses NAT and TCP/IP port inspections not stateful inspections.


Make sure that your are using qualify=xxx for your IAX2 peers.

For example, if you set it to 400 (this is in iax.conf in the definition 
for a particular account), it would send a request every 400ms (and mark 
the peer as unreachable if it goes over this amount).


If you still get problems, lower the number.

--
Cheers,

Matt Riddell
___

http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)
___
Asterisk-Users mailing list
Asterisk-Users@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