News & Reviews
More How-To's & Tips More News
More Reviews Device Configuration Tools
No account yet? Create one
Forgot your Username or Password?

Welcome to the Voxilla VoIP Forum.

Voxilla has been a trusted source for accurate, up-to-date information on the IP Communications industry since 2002. A dedicated staff of reporters and engineers produce feature articles and product reviews to keep industry watchers abreast of the people, companies, and trends driving a fast moving market.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.





Closed Thread
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old July 30th, 2005, 12:26 AM
twntaipan twntaipan is offline
Junior Member
 
Join Date: Jul 2005
Posts: 8
twntaipan
Default Asterisk@home 1.1 dropping IAX2 registry

A@H on a 300mhz notebook. Network uses dyndns because I only have a pppoe internet connection.

My asterisk box has two IAX2 services--voxee and fwd.

For some reason after 24 hours or so asterisk drops both IAX2 registrations.

I have a linux based router (Coyote Linux) which uses ezipupdate to register with dyndns.

There seems to be a correlation with this dropping out when my pppoe connection drops and gets reestablished (that happens sometimes for whatever reason).

My sip VOIP providers (mpc and sipphone) never lose registration.

Any ideas?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2 (permalink)  
Old July 30th, 2005, 01:40 AM
mberlant's Avatar
mberlant mberlant is offline
Senior Member
 
Join Date: Aug 2004
Location: USA or Japan
Posts: 5,013
mberlant is an unknown quantity at this point
Default RE: Asterisk@home 1.1 dropping IAX2 registry

I had a similar problem and solved it this way:

1. In sip.conf, set "externip=my.dyndns.name". This causes the Asterisk service to look up your current IP address every time its sip.conf file is reloaded. Asterisk uses your external IP address for setting up registrations and calls, and when Asterisk cannot supply this number when required calls and/or registrations will fail.

2. In your Linux configuration, set up a cron job to reload your sip.conf file every X minutes. I have mine set to reload every ten minutes, and my crontab entry looks like " 01,11,21,31,41,51 * * * * /usr/sbin/asterisk -r -x 'sip reload' ". My sip.conf reloads at 01, 11, 21, 31, 41, and 51 minutes past every hour. This means that I will be out of service no more than ten minutes every time my IP address gets reset by the PPPoE server.

Try this out and let us know if it helps.
__________________
Please do not send technical questions via PM.
Please post all questions to the forum.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3 (permalink)  
Old July 30th, 2005, 02:28 PM
twntaipan twntaipan is offline
Junior Member
 
Join Date: Jul 2005
Posts: 8
twntaipan
Default Re: RE: Asterisk@home 1.1 dropping IAX2 registry

Quote:
Originally Posted by mberlant
I had a similar problem and solved it this way:

1. In sip.conf, set "externip=my.dyndns.name". This causes the Asterisk service to look up your current IP address every time its sip.conf file is reloaded. Asterisk uses your external IP address for setting up registrations and calls, and when Asterisk cannot supply this number when required calls and/or registrations will fail.

2. In your Linux configuration, set up a cron job to reload your sip.conf file every X minutes. I have mine set to reload every ten minutes, and my crontab entry looks like " 01,11,21,31,41,51 * * * * /usr/sbin/asterisk -r -x 'sip reload' ". My sip.conf reloads at 01, 11, 21, 31, 41, and 51 minutes past every hour. This means that I will be out of service no more than ten minutes every time my IP address gets reset by the PPPoE server.

Try this out and let us know if it helps.

I have the 'externip' in sip.conf, but I am confused as to why IAX needs that. I thought the whole point of the iax protocol was to be non-nat-dependent.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4 (permalink)  
Old July 30th, 2005, 03:26 PM
mberlant's Avatar
mberlant mberlant is offline
Senior Member
 
Join Date: Aug 2004
Location: USA or Japan
Posts: 5,013
mberlant is an unknown quantity at this point
Default RE: Re: RE: Asterisk@home 1.1 dropping IAX2 registry

I agree that it shouldn't be blinded by NAT, but the clue I took from your symptoms is that you seem to be losing IAX whenever your ISP's PPPoE server hiccups or resets and changes your IP address.

With no internal reason for your Asterisk to resync with the IAX servers and no way for the IAX servers to learn your new IP address, we need to introduce such a reset to your Asterisk. Since we are doing this anyway, it makes sense to synchronize your externip= to your FQDN at the same time, even though it should not be directly required by IAX.

By the way, did it work?
__________________
Please do not send technical questions via PM.
Please post all questions to the forum.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5 (permalink)  
Old July 31st, 2005, 12:05 AM
twntaipan twntaipan is offline
Junior Member
 
Join Date: Jul 2005
Posts: 8
twntaipan
Default Re: RE: Re: RE: Asterisk@home 1.1 dropping IAX2 registry

Quote:
Originally Posted by mberlant
By the way, did it work?
I just set the cron job. I'll let you know.

Thanks for the help!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old July 31st, 2005, 12:05 AM
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:



Similar Threads for: Asterisk@home 1.1 dropping IAX2 registry
Thread Thread Starter Forum Replies Last Post
IAX2 connecting two asterisk@home systems rotary500 Asterisk Support Forum 22 October 14th, 2006 08:59 PM
Trixbox IAX2 accounts quit when I add IAX2 trunk bbbeavis Asterisk Support Forum 2 July 26th, 2006 06:34 PM
Asterisk dropping incoming call joker625 Asterisk Support Forum 0 March 22nd, 2006 11:42 PM
Asterisk@home FTP home directory Gadget Asterisk Support Forum 2 November 11th, 2005 12:39 PM
ENUM Registry Launches PhoneBoy General VoIP Discussion 0 April 26th, 2004 08:39 PM



All times are GMT. The time now is 09:30 AM.


vBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc. Logos and trademarks are the property of Voxilla or their respective owner. All other content © 2003-2007 by Voxilla, Inc.