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





Closed Thread
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old October 2nd, 2006, 07:09 AM
Junior Member
 
Join Date: Oct 2006
Posts: 2
Jemson is on a distinguished road
Default Strange Asterisk Behaviour on Remote Registration Timeout

Hi all,

Have encountered a strange issue that perhaps you may be able to help me with.

Basically what I have setup, in an Asterisk box in my office that registers SIP accounts with an upstream provider, and office users also register with the server for internal and external communications. (Although there is only 1 interface in the machine on a Real-World IP)

The issue seems to be, when the upstream provider is down or un-contactable the Asterisk server, while trying to re-register with the ITSP "freezes". Basically when in the Asterisk console, you can see the re-tries at remote registration, but while this is happening, you cannot issue a reload, or any other command for that matter. It just defaults to the next line of the console.

In addition to this, office phones become unable to call one another, as they timeout trying to contact the asterisk server.

This is a pain, as I wish to be able to use office-office communications in the event the ITSP is down.

Any Ideas? I am very keen to rectify this asap.

- Jemson
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2 (permalink)  
Old October 4th, 2006, 05:44 AM
Junior Member
 
Join Date: Oct 2006
Posts: 3
funman1 is on a distinguished road
Default Re: Strange Asterisk Behaviour on Remote Registration Timeout

To my understanding, which is limited. If the phones can not contact a server, they have no clue who else is on the network to contact. The server is like main hub for ALL communications.

Like if the phone company went down, you could not call your neighbor next door. Even though you are both on the same switch at the end of the street. If it can't authenticate it won't work.

This is not gospel, and if I'm off I hope someone will correct me, but this is my understanding of how it works.

~Steve~
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3 (permalink)  
Old October 5th, 2006, 06:10 AM
Junior Member
 
Join Date: Oct 2006
Posts: 2
Jemson is on a distinguished road
Default Re: Strange Asterisk Behaviour on Remote Registration Timeout

I dont see how that can be correct, as if the registration line is commented out, internal communications are fine.

In addition to this, the CONSOLE SESSION locks up also. This should be COMPLETELY independent of any registration issues.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4 (permalink)  
Old October 5th, 2006, 01:02 PM
Senior Member
 
Join Date: Jul 2005
Posts: 362
chandave is an unknown quantity at this point
Send a message via MSN to chandave
Default Re: Strange Asterisk Behaviour on Remote Registration Timeout

Asterisk will appear to hang if it cannot retrieve DNS information. It might just be that your Asterisk server is stuck waiting for a DNS SRV (Service) record or a DNS A (address) record.

The next time it hangs, try and see if you can resolve any IP addresses (i.e. at the command line issue:

nslookup -q=srv _sip._udp.incoming.vtnoc.net (MS-Windows)
dig _sip._udp.incoming.vtnoc.net srv (Linux/Unix)

If it times out, then the problem is the DNS server you are using. In that case, you might want to run a caching DNS server on your Asterisk box.

See ya...

d.c.

Last edited by chandave; October 5th, 2006 at 01:07 PM.. Reason: Added WinTel/Unix version of the SRV query
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5 (permalink)  
Old October 6th, 2006, 02:51 AM
Senior Member
 
Join Date: Jun 2005
Posts: 137
Cybertoy
Default Re: Strange Asterisk Behaviour on Remote Registration Timeout

I suspect the last poster is spot-on ... I had a similar problem a while ago. Make sure you never use any host-names in your asterisk configuration but only IP addresses unless you run your own DNS server. I decided to run my own DNS server as I think it's bad practice to hardcode IP addresses. However you depend on your DNS service.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old October 6th, 2006, 02:51 AM
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:


Similar Threads for: Strange Asterisk Behaviour on Remote Registration Timeout
Thread Thread Starter Forum Replies Last Post
SPA9000 Wizard Fails on Step #6 & Registration of remote Bodydrop Linksys SPA9000/SPA400 Support Forum 0 May 18th, 2006 09:43 PM
Strange Behaviour SPA 1001 alexdds Linksys (Sipura) VoIP Support Forum 3 February 6th, 2006 04:10 AM
Broadvoice SIP Timeout in Asterisk ssnacks Asterisk Support Forum 2 July 19th, 2005 03:50 AM
SPA 3000 configuration: Strange behaviour danilo Linksys (Sipura) VoIP Support Forum 3 August 30th, 2004 10:17 AM
Strange timeout problem with SPA3000 jverb Linksys (Sipura) VoIP Support Forum 1 July 24th, 2004 01:52 AM



All times are GMT. The time now is 09:25 PM.


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