Re: [Asterisk-Users] SIP Registration --Giving up forever after very short network outage.

2005-08-25 Thread Olle E. Johansson
Steve Gladden wrote:
You also want to look at the registertimeout and registerattempts
 
 
 Yes!!!, thank you VERY much this is what I needed.
 Where are these options documented at?
 I'm guessing the source code?
 Or is there a better place to find this stuff?
 
 A search on the wiki for registertimeout or registerattempts
 reveals absolutely nothing.
 
 I had been searching ealier for things like SIP register timeout
 and Giving up forever all to no avail.
 
You should always check configs/sip.conf.sample in your source code
directory. We update docs/ and configs/ very often.

We recently updated the behaviour on authentication for INVITEs as well
in CVS head, the base for 1.2. We will now give up if we can't
authenticate, so the call goes back to the dialplan with CONGESTION
instead of trying forever and ever.

/Olle

---
Astricon 2005 - wanna speak? Check http://www.astricon.net/2005/speakers
Looking for call center, business and service providers business cases!
___
--Bandwidth and Colocation sponsored by Easynews.com --

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] SIP Registration --Giving up forever after very short network outage.

2005-08-25 Thread steve


On Wed, 24 Aug 2005, Steve Gladden wrote:

 I'm looking for some help in how to keep asterisk from doing this.
 If we loose Internet or routing to our upstream provider even for only a
 few short minutes asterisk quickly gives up  never tries again.
 I have to do a manual reload to get it to register with my
 sip provider(s) again before incoming calls are accepted.
 
 This is really bad as it causes us to loose the ability to get incoming
 calls now  then.
 Not at all what we want in a phone system.


Won't you just start by updating your Asterisk  IIRC, we patched a bug a 
couple of weeks back.

If it still times out too quick, drop another line and we'll look further.

Steve

___
--Bandwidth and Colocation sponsored by Easynews.com --

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] SIP Registration --Giving up forever after very short network outage.

2005-08-25 Thread Steve Gladden
I updated 2 weeks ago and am due to update again...
So Yes I will update

It seems that the giving up forever feature is by design,
As I had seen a post about it awhile back...
But I would rather not have asterisk give up (forever) if it can't
see a sip server.


I feel retries should certainly back off in fact back way off
like to once per some configurable time figure
But not give up forever!

In a single (non-redundant) phone system one wants it to come back and
register back in unattended even if the Internet were down for
several hours. :-)

Actually I just needed the two settings that were mentioned
previously...

Not sure if the mentioned bug was of our concern, as my problem was
not just with the fact that it timed out fast, but the fact that it could
time out period and never try to re-register.

I also would like to know where I could have found documentation
of those two settings (registertimeout or registerattempts)
As I had not been able to find those on my own or in the wiki.

Thanks!

Steve




)





 On Wed, 24 Aug 2005, Steve Gladden wrote:

 I'm looking for some help in how to keep asterisk from doing this.
 If we loose Internet or routing to our upstream provider even for only a
 few short minutes asterisk quickly gives up  never tries again.
 I have to do a manual reload to get it to register with my
 sip provider(s) again before incoming calls are accepted.

 This is really bad as it causes us to loose the ability to get incoming
 calls now  then.
 Not at all what we want in a phone system.


 Won't you just start by updating your Asterisk  IIRC, we patched a bug a
 couple of weeks back.

 If it still times out too quick, drop another line and we'll look further.

 Steve

 ___
 --Bandwidth and Colocation sponsored by Easynews.com --

 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


___
--Bandwidth and Colocation sponsored by Easynews.com --

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] SIP Registration --Giving up forever after very short network outage.

2005-08-24 Thread Steve Gladden
I'm looking for some help in how to keep asterisk from doing this.
If we loose Internet or routing to our upstream provider even for only a
few short minutes asterisk quickly gives up  never tries again.
I have to do a manual reload to get it to register with my
sip provider(s) again before incoming calls are accepted.

This is really bad as it causes us to loose the ability to get incoming
calls now  then.
Not at all what we want in a phone system.


How can I get asterisk to stop giving up so soon or better yet not give
up at all... this is after all a phone system... I would really like
it to register back in if the Internet goes down then comes back up 10
minutes later!

I'm running CVS-HEAD (about two weeks old)
Aug 24 19:08:13 NOTICE[7124]: chan_sip.c:4701 sip_reg_timeout:--
Registration for '[EMAIL PROTECTED]' timed out, trying
again (Attempt #8)
Aug 24 19:08:16 NOTICE[7124]: chan_sip.c:4701 sip_reg_timeout:--
Registration for '[EMAIL PROTECTED]' timed out, trying again
(Attempt #11)
Aug 24 19:08:16 NOTICE[7124]: chan_sip.c:4719 sip_reg_timeout:--
Giving up forever trying to register '[EMAIL PROTECTED]'


Thanks for your help !!!

Steve


___
--Bandwidth and Colocation sponsored by Easynews.com --

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] SIP Registration --Giving up forever after very short network outage.

2005-08-24 Thread Eric Wieling aka ManxPower

Steve Gladden wrote:

I'm looking for some help in how to keep asterisk from doing this.
If we loose Internet or routing to our upstream provider even for only a
few short minutes asterisk quickly gives up  never tries again.
I have to do a manual reload to get it to register with my
sip provider(s) again before incoming calls are accepted.


Try using IP addresses instead of hostnames in sip.conf.  Asterisk's DNS 
support is supposed to be improved in CVS-HEAD, but you should still try it.


However, using an IP address instread of a hostname in your host= line 
could have issues with some ways a provider might do failover and load 
balancing.

___
--Bandwidth and Colocation sponsored by Easynews.com --

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] SIP Registration --Giving up forever after very short network outage.

2005-08-24 Thread Kai-Uwe Jensen
On 8/24/05, Eric Wieling aka ManxPower [EMAIL PROTECTED] wrote:
 Try using IP addresses instead of hostnames in sip.conf.  Asterisk's DNS
 support is supposed to be improved in CVS-HEAD, but you should still try it.
 
 However, using an IP address instread of a hostname in your host= line
 could have issues with some ways a provider might do failover and load
 balancing.

You also want to look at the registertimeout and registerattempts
options for your sip.conf. I had lots of problem staying registered
with various providers, so now I'm running with registerattempts=0,
IOW try forever to (re-)register. In conjunction with the
registertimeout you have some control over how often you retry. (IIRC,
both options are CVS-HEAD only, not available in stable. But so is the
Giving up forever error. At least I think that's the case.)

-- 
I am Dyslexic of Borg. Fusistance is retile. Your ass will be lamitated!
___
--Bandwidth and Colocation sponsored by Easynews.com --

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] SIP Registration --Giving up forever after very short network outage.

2005-08-24 Thread Steve Gladden
You also want to look at the registertimeout and registerattempts

Yes!!!, thank you VERY much this is what I needed.
Where are these options documented at?
I'm guessing the source code?
Or is there a better place to find this stuff?

A search on the wiki for registertimeout or registerattempts
reveals absolutely nothing.

I had been searching ealier for things like SIP register timeout
and Giving up forever all to no avail.

Steve












 On 8/24/05, Eric Wieling aka ManxPower [EMAIL PROTECTED] wrote:
 Try using IP addresses instead of hostnames in sip.conf.  Asterisk's DNS
 support is supposed to be improved in CVS-HEAD, but you should still try
 it.

 However, using an IP address instread of a hostname in your host= line
 could have issues with some ways a provider might do failover and load
 balancing.

 You also want to look at the registertimeout and registerattempts
 options for your sip.conf. I had lots of problem staying registered
 with various providers, so now I'm running with registerattempts=0,
 IOW try forever to (re-)register. In conjunction with the
 registertimeout you have some control over how often you retry. (IIRC,
 both options are CVS-HEAD only, not available in stable. But so is the
 Giving up forever error. At least I think that's the case.)

 --
 I am Dyslexic of Borg. Fusistance is retile. Your ass will be lamitated!
 ___
 --Bandwidth and Colocation sponsored by Easynews.com --

 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


___
--Bandwidth and Colocation sponsored by Easynews.com --

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