Solved

Softphone not able to register ( Asterisk)

Posted on 2010-09-08
2
523 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
cti route point to unity issue 2 86
SSH in linux 9 94
How to fix Dual Server Conflict GitLab vs Apache2 3 60
Bash script to include windows servers 13 41
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…
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…

752 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