Solved

Change TCP for registration for SIP traffic

Posted on 2011-03-20
3
438 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Implementing Avaya's One-X portal is pretty painless, until you want to deploy this to the Android and iPhone clients when these clients are outside of your network. The clients will also work within your local network. Here is our experience and so…
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…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

713 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