Solved

Softphone not able to register ( Asterisk)

Posted on 2010-09-08
2
520 Views
Last Modified: 2012-05-10
i want to communicate between exten 2000 and exten 2001, so for this i installed asterisk,chan-dahdi,libpri  and compiled. here r my config files


vi /etc/asterisk/sip.conf
[general]
port=5060
bindaddr=0.0.0.0
context=others

[2000]
type=friend
context=outside
secret=1234
host=dynamic

[2001]
type=friend
context=outside
secret=1234
host=dynamic

###############################################################

vi /etc/asterisk/extensions.conf

[outside]
exten => _X.,1,Dial(sip/2000)
exten => _X.,n,Dial(sip/2001)

############################################################################

softphone are not even able to register plz guide me
thx
0
Comment
Question by:pawanopensource
2 Comments
 
LVL 6

Expert Comment

by:nasirbest
ID: 33632983
First replace your dial plan with

[outside]
exten => _X.,1,Dial(sip/${EXTEN})

second line not needed

and regarding registration in Asterisk CLI (asterisk -rvvv) issue following command (asterisk 1.6)

SIP SET DEBUG ON

try to register and dial and watch logs in Asterisk and let us know
0
 
LVL 32

Accepted Solution

by:
DrDamnit earned 500 total points
ID: 33637036
To better assist you, I need to see what is going on. Please use the following procedure to create a log file of the Asterisk CLI:

1. Open the CLI using this:

       asterisk -rvvvvvv | tee /var/log/asterisk.log

This puts the a debug log into the file /var/log/asterisk.log

2. Reproduce the problem.
3. Make calls
4. Exit the CLI after you get the error.
5. Post the log here (as "code" or as an attachment.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Linux Mint 18 31 76
CentOS/RHEL 7 Linux maillog worldwide readable 2 40
mcrypt_create_iv() is deprecated 4 69
installing LSI MegaRAID Storage Manager on CentOS 7 22 76
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
As companies replace their old PBX phone systems with Unified IP Communications, many are finding out that legacy applications such as fax do not work well with VoIP. Fortunately, Cloud Faxing provides a cost-effective alternative that works over an…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

912 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

15 Experts available now in Live!

Get 1:1 Help Now