Solved

Change TCP for registration for SIP traffic

Posted on 2011-03-20
3
417 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

There are no good configuration guides for HP-H3C router to LYNC on the web. :( Big statement, but we havent been able to find one yet. We did find the following document useful, but the information was not enough to use H3C router for use as a L…
I recently purchased a Bluetooth headset called the Music Jogger (model BSH10). The control buttons on it look like this: One of my goals is to use it as the microphone and speakers for Skype calls. In that respect, it works well. However, I …
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

728 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now