Solved

Change TCP for registration for SIP traffic

Posted on 2011-03-20
3
427 Views
Last Modified: 2013-11-12
How to configure Asterisk such that it will use TCP for registration for all sip traffic ?

Thanks
0
Comment
Question by:AXISHK
  • 2
3 Comments
 
LVL 7

Expert Comment

by:nauliv
ID: 35178164
Hello,

Assuming you are using the latest version of Asterisk, put the following in your sip.conf:

tcpenable=yes
tcpbindaddr=<ip_address_to_listen_on>


You can use tcpbindaddr=0.0.0.0 if you want to use all network interfaces to listen on TCP.

Good Luck !
0
 

Author Comment

by:AXISHK
ID: 35178241
After making change in SIP.conf, can I just connect to Asterisk daemon (asterisk -r) and reload the SIP (sip reload) for the change to take effect ?

Thanks
0
 
LVL 7

Accepted Solution

by:
nauliv earned 500 total points
ID: 35178383
Theoretically, this is all that's required:

shell~> asterisk -rvvv
asterisk*CLI> sip reload

To make sure you are now listening on TCP ports, you can issue the command:
shell~> netstat -an

You might want to try and restart the whole asterisk application if it doesn't seem to kick in.
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

The point of this post is to give you a copy/paste installation solution to setting up Asterisk 1.6 on Ubuntu 9.04 (or similar) server. # Setup the system apt-get install subversion apt-get install make apt-get install linux-source kernel-p…
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

777 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