Solved

Asterisk: Sip phone losing registration after a couple minutes

Posted on 2008-10-17
3
1,849 Views
Last Modified: 2013-11-12
I have a asterisk server and SIP phone. Recently i noticed that the phone cannot stay registered. I would have to restart the server and reset the phone and then it would register for a few minutes before its gone again. there is a sip peer monitor below. Any ideas?


4 sip peers [Monitored: 3 online, 0 offline Unmonitored: 1 online, 0 offline]
trixbox1*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status              
75/75                      192.168.50.1     D   N      47963    OK (66 ms)          
71/71                      192.168.50.5     D   N      5060     OK (4 ms)            
70/70                      192.168.50.8     D   N      5060     Unmonitored          
0/0                        192.168.50.3     D   N      47214    OK (3 ms)            
4 sip peers [Monitored: 3 online, 0 offline Unmonitored: 1 online, 0 offline]
trixbox1*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status              
75/75                      192.168.50.1     D   N      47963    OK (66 ms)          
71/71                      192.168.50.5     D   N      5060     OK (4 ms)            
70/70                      (Unspecified)    D   N      0        Unmonitored          
0/0                        192.168.50.3     D   N      47214    OK (3 ms)            
4 sip peers [Monitored: 3 online, 0 offline Unmonitored: 0 online, 1 offline]
trixbox1*CLI> sip show peers
Name/username              Host            Dyn Nat ACL Port     Status              
75/75                      192.168.50.1     D   N      47963    OK (66 ms)          
71/71                      192.168.50.5     D   N      5060     OK (4 ms)            
70/70                      (Unspecified)    D   N      0        Unmonitored          
0/0                        192.168.50.3     D   N      47214    OK (3 ms)            
4 sip peers [Monitored: 3 online, 0 offline Unmonitored: 0 online, 1 offline]
trixbox1*CLI>
0
Comment
Question by:jonnydollar
3 Comments
 
LVL 4

Assisted Solution

by:palner
palner earned 100 total points
Comment Utility
which phone is dying.... 70?

What type of phone is it. Is it connecting locally or over a wan?
0
 
LVL 19

Accepted Solution

by:
feptias earned 300 total points
Comment Utility
If there is a firewall or NAT router between the phone and the Asterisk server, then the "Monitor" option will help the phone to stay registered. You may therefore find that simply adding the monitor option to extension 70 will fix the problem. You do this by adding a line "qualify=yes" to the relevant section in sip.conf. Using the Trixbox interface, will be have to find the appropriate place in the GUI screens to configure monitoring of that SIP account (sorry, I am unfamiliar with Trixbox).

If that is not the solution, then you should take a look at the settings on the phone for the registration interval/expirey. IP phones re-register automatically every X minutes - you can configure the value for X. Typically the value is somewhere between 10 and 60 minutes. However, there are usually some settings for registration expirey in the server too. Your server is Asterisk and the settings are again stored in sip.conf. Look for defaultexpirey and maxexpirey. I suggest you match the settings on the server and the IP phone or make the interval set on the phone shorter than the interval set on Asterisk.
0
 
LVL 25

Assisted Solution

by:Ron M
Ron M earned 100 total points
Comment Utility
is this a softphone ?..ie. X-lite ?
or a hardware phone ?
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Implementing Avaya's One-X portal is pretty painless, until you want to deploy this to the Android and iPhone clients when these clients are outside of your network. The clients will also work within your local network. Here is our experience and so…
Almost all Internet protocol telephones have built-in switches at the back that allow you to connect your personal computer to one port and use the other port to connect your phone to to a Cisco switch.   Why we need to connect the PC to the pho…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now