简体   繁体   中英

Setting up Sip call using Asterisk

I have to setup a secured sip session between android phones on 3G network. SIP signaling would be secured with TLS and media stream with SRTP. And I have never touched these protocols and components required to accomplish this.
I want to test it first with a LAN setup, for that I am trying to setup following with latest versions so that I don't miss on some security features:

  1. Asterisk (+ Dahdi + LibPre)
  2. Apache
  3. MySQL
  4. FreePBX
  5. Sipdroid on Android.


But for reducing variables I am going to test it on two PCs with some minimalistic SIP UAs and without any secure protocols. Just to make sure that asterisk is running fine.

I have Ubuntu 10.04 running on Parallels Desktop on MacBook Pro.

Problems

  1. What are the components needed to make this happen, meaning do I need FreePBX for Lan based call is Asterisk is not a PBX?
  2. I have read "asterisk to asterisk" calling. Is it a SIP UA as well, I have also read that it will act as a SIP Server.
  3. Some link where I can get myself educated to set up the environment.
  4. Is running that on virtual machine going to work. I have tested apache and its working from another PC in my LAN.

Thanking in advance for your support.

Such setup will be too complex for beginner to be stable.

Better option(and more secure) use openvpn.org tunnel and not use TLS.

1) Freepbx is just web for simpler control asterisk. I not recomend use freepbx for public systems(for internal use it ok if firewalled). You also need add fail2ban to your installation.

3) http://www.asteriskdocs.org/ , http://cdn.oreilly.com/books/9780596510480.pdf . But i am afraid you will need some REAL experience to got working what you requested.

4)Dahdi on virtual machine will not work. Conference will not work. Sound can have issues. All other would work ok.

  1. -
  2. -
  3. If it's your first expirience with Asterisk, I recommend you the Asterisk: The Future of Telephony, 2nd Edition http://www.amazon.com/Asterisk-Telephony-Jim-Van-Meggelen/dp/0596510489/ref=sr_1_7?s=books&ie=UTF8&qid=1381325796&sr=1-7&keywords=asterisk . If you are new to SIP at all I'll recomend you to read this article ( http://positivic.blogspot.com ) for some basic of SIP. It'll help you at the troubleshooting phase.
  4. My Asterisk is running on the Hyper-V virtual machine with no issues. I use CentOS.

I have listed the links I used to educate myself in the installation and configuration process for Asterisk and FreePBX.

I followed steps from 1st link which is for latest version of Asterisk and FreePBX but it didn't work and I ended up wrecking mysql and apache configuration files also. So I removed all of them and installed each of them from scratch. Then I followed 2nd link to install Asterisk and FreePBX to install it on a Lucid Ubuntu on Virtual Machine, but since it was for an older version of Asterisk and FreePBX I had to resort to the 1st link for some steps.

All the best.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM