Solved

Softphone not able to register ( Asterisk)

Posted on 2010-09-08
2
522 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
(Open)LDAP V2.44  search proxy to AD (W2012R2) 37 174
bash file 10 50
SSL/TLS - openssl troubleshooting 3 42
NTPD Client Port Usage 12 20
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

828 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