Remote aastra unregistering ?

Speedy2k

Member
Joined
Oct 11, 2008
Messages
387
Reaction score
0
I have a Remote 57i phone that is unregistering alot, i don't know why! here is what i got in the log file!
[2010-02-15 14:15:19] NOTICE[3582] chan_sip.c: Peer '751' is now UNREACHABLE! Last qualify: 93
[2010-02-15 14:15:30] VERBOSE[3582] logger.c: -- Registered SIP '751' at 207.164.192.154 port 44012 expires 120
[2010-02-15 14:15:30] NOTICE[3582] chan_sip.c: Peer '751' is now Reachable. (150ms / 2000ms)
[2010-02-15 14:16:34] NOTICE[3582] chan_sip.c: Peer '751' is now UNREACHABLE! Last qualify: 150
[2010-02-15 14:17:16] VERBOSE[3582] logger.c: -- Registered SIP '751' at 207.164.192.154 port 31607 expires 120
[2010-02-15 14:17:16] NOTICE[3582] chan_sip.c: Peer '751' is now Reachable. (70ms / 2000ms)
[2010-02-15 14:18:20] NOTICE[3582] chan_sip.c: Peer '751' is now UNREACHABLE! Last qualify: 70
[2010-02-15 14:19:01] VERBOSE[3582] logger.c: -- Registered SIP '751' at 207.164.192.154 port 24485 expires 120
[2010-02-15 14:19:01] NOTICE[3582] chan_sip.c: Peer '751' is now Reachable. (81ms / 2000ms)
[2010-02-15 14:20:05] NOTICE[3582] chan_sip.c: Peer '751' is now UNREACHABLE! Last qualify: 81
[2010-02-15 14:20:46] VERBOSE[3582] logger.c: -- Registered SIP '751' at 207.164.192.154 port 60881 expires 120

It does that in loop all the time??
Does someone have any idea why this is happening ?
 

kenn10

Well-Known Member
Joined
Dec 16, 2007
Messages
3,780
Reaction score
2,192
OK. You've got it set to re-register every two minutes (120 seconds) and it seems to be doing that. Not sure you need it to do the qaulify=yes since at most, if it does not re-register within two minutes, Asterisk will know it is down. I generally set my remotes for register=3600.

As to the qualification portion, I don't understand what is happening with how often qualify is running.

Does the phone actually un-register at the far end? Have you tried setting qualify=no and seeing what it does?
 

Speedy2k

Member
Joined
Oct 11, 2008
Messages
387
Reaction score
0
Yes and it does nothing, it seems that asterisk is waiting for a registration every 120 seconds, i have set the register in the aastra to 60 seconds and it seems to keep the phone to unregister.
 

kenn10

Well-Known Member
Joined
Dec 16, 2007
Messages
3,780
Reaction score
2,192
Then I suspect the answer lies in one of the sip*.conf files in /etc/asterisk. I'm running FreePBX 2.7 which has further subdivided the sip.conf files but you should look for your maxexpiry, minexpiry and defaultexpiry and lines in whichever file they live in on your system.

Here are some settings from my file:
Code:
alwaysauthreject=yes
jbenable=no
rtptimeout=30
maxexpiry=3600
allowguest=yes
defaultexpiry=120
minexpiry=60
srvlookup=no
registerattempts=0
registertimeout=20
notifyhold=no
g726nonstandard=no
t38pt_udptl=yes
videosupport=yes
maxcallbitrate=768
canreinvite=update
rtpholdtimeout=300
rtpkeepalive=0
checkmwi=2
notifyringing=yes
 

Speedy2k

Member
Joined
Oct 11, 2008
Messages
387
Reaction score
0
i got the min max and default expiry set as your file. but it seems to be a remote firewall issue, since i got another remote extension with the exact same config file and it is working just perfect, is there any setting into a firewall we should adjust to let the aastra phone send is registration as it should be ?
 

jmullinix

Guru
Joined
Oct 21, 2007
Messages
1,263
Reaction score
7
I have noticed this issue with remote Aastra phones only. I shorten the registration period for the phone on both FreePBX and on the phone. Also, make sure the port is set to 5060. That field is blank by default, I believe.

I don't have this problem on remote Snom phones, by the way.
 

mag

Guru
Joined
Jul 27, 2008
Messages
74
Reaction score
1
I've also seen the same issues with remote Aastra phones and discovered it had to do with the firewall used.
Can't remember the exact solution, but I may have had to disable some firewall "feature" to allow gaming or voip calls.

I suspect it has something to do with a NAT timeout somewhere.
 

Linetux

Guru
Joined
Oct 5, 2008
Messages
541
Reaction score
1
This is, most likely, a firewall problem.

I have an application that has remote Aastra's in many other people's networks - ones I don't have control over. I've had to work with a number of the less-experienced IT staff in order to educate them on how to work their firewall to allow for the phones to stay online.

I too am having difficultly in remembering the exact setting - it's always a little different if it's a Checkpoint, or Watchdog, or SonicWall.... whatever the case might be.

FWIW, ASA's don't seem to have this problem.

One other cause can be latency causing the phone to lose its registration, but that doesn't seem to be the case for you.

FYI, one other issue I've seen with another less-popular firewall was the blocking of the UDP ACK's during a SIP call. The symptoms are the call dropping after about 30 secs - basically the firewall was blocking the ACK when Asterisk was sending "200 OK" to the device - and since the ACK was blocked, it wasn't getting back to Asterisk - which in turn destroyed the call because it didn't think the endpoint was online anymore.
 

kenn10

Well-Known Member
Joined
Dec 16, 2007
Messages
3,780
Reaction score
2,192
UDP Port

The prior comment just jogged my memory. You need to make sure that if your Aastra phones are using UDP port 3000 that the firewal will accept UDP 3000. My 9133i phones need that port open on the firewall.
 

carlosmp

Member
Joined
Jan 20, 2008
Messages
120
Reaction score
1
Firewall UDP Settings

Check your firewall at both ends. Many firewall will close UDP tunnels after 30 seconds of no activity. If you have your phone set to register every 120, it will by default try every 60.

NOtice that your logs have 64 second gap between reachable and unreachable.

I've got many Aastras for clients outside the main location and don't have these issues once the firewalls are set to have UDP timeouts over 120 to allow the phone to register.
 

talltrees

New Member
Joined
Oct 22, 2008
Messages
48
Reaction score
0
Solution - ….

I have noticed this issue with remote Aastra phones only. I shorten the registration period for the phone on both FreePBX and on the phone. Also, make sure the port is set to 5060. That field is blank by default, I believe.

I don't have this problem on remote Snom phones, by the way.

I had this issue, with a server behind NAT and the remote phone behind another NAT.
Also call quality broke up badly, I traced it to a bug in the current 57i / 6757i firmware…
I have reported this bug to Aastra who were unaware of it but are now working on it.
This does not affect any other Aastra phone as far as I can tell.
The solution….
Roll back to Firmware version 2.3.1.26
Which will work on the latest 6757i as I have rolled back new phones to this old firmware to avoid this issue.
I hope that helps, let me know if that sorts it out, I am certain it will.
 

talltrees

New Member
Joined
Oct 22, 2008
Messages
48
Reaction score
0
I have a Remote 57i phone that is unregistering alot, i don't know why! here is what i got in the log file!


It does that in loop all the time??
Does someone have any idea why this is happening ?

I had this issue, with a server behind NAT and the remote phone behind another NAT.
Also call quality broke up badly, I traced it to a bug in the current 57i / 6757i firmware…
I have reported this bug to Aastra who were unaware of it but are now working on it.
This does not affect any other Aastra phone as far as I can tell.
The solution….
Roll back to Firmware version 2.3.1.26
Which will work on the latest 6757i as I have rolled back new phones to this old firmware to avoid this issue.
I hope that helps, let me know if that sorts it out, I am certain it will.
 

Members online

Forum statistics

Threads
25,812
Messages
167,764
Members
19,241
Latest member
bellabos
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top