Solved

Change TCP for registration for SIP traffic

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

The Zaptel people (www.zaptel.com) got kind of annoyed with the fact that they were getting bombarded with searches for the zaptel driver system for Asterisk (not to mention they own the trademark on zaptel). So, they kindly requested that Digium ch…
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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

839 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