On Thu, 17 Feb 2005 15:04:50 +0100 Stefan Gofferje <stefan@gofferje.homelinux.org> wrote:> Hi folks, > > I'm registered with sipgate, a German SIP provider. >Configs works fine so far. Trouble is, after a while, it >seems, my registration is dropped by sipgate. How do I >tell * the interval for * registering with a provider? I >suppose, the re-registration interval is to long... > > Regards, > Stefan > > > -- > (o_ Stefan Gofferje | Linux Systems >Specialist > //\ Reg'd Linux User #247167 | Network Security >Specialist > V_/_ Linux is like a Wigwam - No gates, no windows, >Apache insidedefaultexpirey=120 :Default length of incoming/outoing registration I believe that is the correct option. This site is your friend. Try searching... http://www.voip-info.org/wiki-Asterisk+config+sip.conf
nathan@yorkukhosting.com
2005-Feb-17 08:30 UTC
[Asterisk-Users] SIP peer registration interval
> Hi folks, > > I'm registered with sipgate, a German SIP provider. Configs works fine> so far. Trouble is, after a while, it seems, my registration isdropped> by sipgate. How do I tell * the interval for * registering with a > provider? I suppose, the re-registration interval is to long... > > Regards, > StefanIf you're behind NAT try enabling qualify in sip.conf. Either qualify=yes or try a specific value, for example qualify=1000. More info on the wiki: http://www.voip-info.org/tiki-index.php?page=Asterisk%20sip%20qualify -nathan
Hi, I'm having the same problem with the same Provider running asterisk on an "open" server that is in a hosted environment. The Problem is definately not the defaultexpirey. I can watch asterisk refreshing the registration every few minutes when using sip debugging. After a while (days) asterisk stops refreshing the registration. "sip show registry" shows that asterisk thinks it has a valid registration that expires after 120sec, BUT it doesn't do anything about it. After a while the SIP Provider assumes that asterisk is offline .... My solution is to restart asterisk once a day which is not satisdying but works fine so far. Im using stable 1.0.2. The sipgate is using SER as proxy... greetings, Magnus Robert Webb wrote:> >> I'm registered with sipgate, a German SIP provider. Configs works >> fine so far. Trouble is, after a while, it seems, my registration is >> dropped by sipgate. How do I tell * the interval for * registering >> with a provider? I suppose, the re-registration interval is to long... >> > defaultexpirey=120 :Default length of incoming/outoing registration
On 16:48, Thu 17 Feb 05, Stefan Gofferje wrote:> nathan@yorkukhosting.com schrieb: > > >If you're behind NAT try enabling qualify in sip.conf. Either > >qualify=yes > >or try a specific value, for example qualify=1000. More info on the > >wiki: > > > >http://www.voip-info.org/tiki-index.php?page=Asterisk%20sip%20qualify > > As far as I understood, qualify has nothing to do with the registration > status but just checks if the peer is reachable. Actually, I am behind a > NAT but I have a firewall with a SIP ALG which does all the necessary > changes to the packets. >Dont know if this is related but I had the same problems with sip registration of a snom 190. Putting qualify=yes resolved it here. I know it should be just for checking, but it will also keep a state open on the firewall, so that might be the trick. -- Michiel van Baak http://lunteren.vanbaak.info michiel@vanbaak.info GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7E0B9A2D "Two of the most famous products of Berkeley are LSD and BSD. I don't think that this is a coincidence."
> >>>If you're behind NAT try enabling qualify in sip.conf. Either > >>>qualify=yes > >>>or try a specific value, for example qualify=1000. More info on the > >>>wiki: > >>> > >>>http://www.voip-info.org/tiki-index.php?page=Asterisk%20sip%20qualify > >> > >>As far as I understood, qualify has nothing to do with the registration > >>status but just checks if the peer is reachable. Actually, I am behind a > >>NAT but I have a firewall with a SIP ALG which does all the necessary > >>changes to the packets. > >> > > > > > > Dont know if this is related but I had the same problems > > with sip registration of a snom 190. > > Putting qualify=yes resolved it here. > > I know it should be just for checking, but it will also keep > > a state open on the firewall, so that might be the trick. > > I have read in another (German) forum that qualify might be the cause > for the registration drop. > Anyway, I'm behind a Cisco PIX which is completely SIP aware and does > all the NAT wizardry. sip debug also shows me the re-register any 45 > secs. At one point, it just stops re-registering... very very ugly...Somewhat off topic, but we just seen the same kind of issue with a pix passing vpn. After some period of time, the vpn link simply disappears. Moving the vpn box outside the pix fixed the problem.