Solved

Asterisk: Sip phone losing registration after a couple minutes

Posted on 2008-10-17
3
1,888 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
ID: 22746924
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
ID: 22810846
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 Malmstead
Ron Malmstead earned 100 total points
ID: 22813402
is this a softphone ?..ie. X-lite ?
or a hardware phone ?
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How To Create Custom / Distinctive Ring Tones on Polycom Phones Purpose and Overview When creating a custom ring tone, you have simple aspirations: to make your phone cooler than everyone else's. Perhaps you need a louder ringer. Perhaps you w…
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…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

815 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

10 Experts available now in Live!

Get 1:1 Help Now