From Fedora Project Wiki

(Not working yet)
(asterisk.conf change needed)
Line 31: Line 31:


== Asterisk Packages & Installation Instructions ==
== Asterisk Packages & Installation Instructions ==
I haven't testing the resulting set up yet, but this should be pretty good for getting things mostly there. At this point the server starts up but the sip.conf is not being read, and hence no sip service, when using Jeff's conf files. When using my much simpler set, it does get read. I have been playing with it for a while, but haven't found the key difference yet.
I still need to do more testing, but asterisk is running with the sip functions enabled.
* Base system should be F12
* Base system should be F12
* wget http://kojipkgs.fedoraproject.org/packages/asterisk/1.6.2.0/0.6.rc3.fc13/i686/asterisk-1.6.2.0-0.6.rc3.fc13.i686.rpm for i686 systems.
* wget http://kojipkgs.fedoraproject.org/packages/asterisk/1.6.2.0/0.6.rc3.fc13/i686/asterisk-1.6.2.0-0.6.rc3.fc13.i686.rpm for i686 systems.
Line 47: Line 47:
* If you want to test connecting with a sip client you can edit /etc/asterisk/users.conf to replace the modified md5secret with a correct md5secret or just secret.
* If you want to test connecting with a sip client you can edit /etc/asterisk/users.conf to replace the modified md5secret with a correct md5secret or just secret.
* /etc/asterisk/sip.conf has a fixed ip address in several commands. I think you can comment these out.
* /etc/asterisk/sip.conf has a fixed ip address in several commands. I think you can comment these out.
* /etc/asterisk/asterisk.conf has a [directories] section that causes problems for sip. Probably something needed by sip is in a missing directory. Since we are keeping stuff in the standard places, this can just be commented out by adding (!) to the end of the line. So it should look like: [directories](!)
* chkconfig asterisk on
* chkconfig asterisk on
* service asterisk restart
* service asterisk restart

Revision as of 14:31, 18 October 2009

Page description
This page is to lay out and plan the specifics the work we will complete at the FAD. The FAD Fedora Talk 2009 page explains the original goals and planning done for this event.

Participants

Travel days
Travel days are Thursday and Sunday. On-site participants are leaving early and no on-site hacking will take place on Sunday.
Name Remote? Fri Sat Sun Core Tasks
John X X Travel Project Management + Documentation + Requirements
Paul X X Hosting, chauffeuring, hacking when no one's looking
Ian X X Travel
Jon X X Travel Testing, puppetizing, general hacking, learn Asterisk, moral support, etc :D
Jared X X Be the Asterisk guru + Bring lots of VoIP equipment + Documentation
Jeff X X Travel Asterisk hacking
Mike X puppetizing and testing
Clint X X X X puppetizing and testing (shadowing Mike)
Darren X X testing
Bruno X X X AM testing, possibly some asterisk config hacking

Asterisk Packages & Installation Instructions

I still need to do more testing, but asterisk is running with the sip functions enabled.

  • Base system should be F12
  • wget http://kojipkgs.fedoraproject.org/packages/asterisk/1.6.2.0/0.6.rc3.fc13/i686/asterisk-1.6.2.0-0.6.rc3.fc13.i686.rpm for i686 systems.
  • yum install --nogpgcheck asterisk-1.6.2.0-0.6.rc3.fc13.i686.rpm asterisk-sounds-core-en-wav
    • This will pull in some other packages, including tex stuff (presumably for documentation).
    • I think we can use the F12 asterisk-sounds-core until there is an F13 version available, but I haven't got that far in my testing.
    • I am not sure which codecs we need and what issues installing multiple languages causes.
  • git clone git://fedorapeople.org/~jcollie/ftalk-asterisk-configs.git ftalk-asterisk-configs
  • cp -f ftalk-asterisk-configs/* /etc/asterisk
  • Open ports 5060/udp 5060/tcp for inbound SIP. Allowing related connections should take care of RTP.
    • For example if you aren't using a firewall tool you can add the following to /etc/sysconfig/iptables and service iptables restart:
      • -A INPUT -m state --state NEW -m tcp -p tcp --dport 5060 -j ACCEPT
      • -A INPUT -m state --state NEW -m udp -p udp --dport 5060 -j ACCEPT
  • Open port 4569/udp for iax2, if we play with that.
  • If you want to test connecting with a sip client you can edit /etc/asterisk/users.conf to replace the modified md5secret with a correct md5secret or just secret.
  • /etc/asterisk/sip.conf has a fixed ip address in several commands. I think you can comment these out.
  • /etc/asterisk/asterisk.conf has a [directories] section that causes problems for sip. Probably something needed by sip is in a missing directory. Since we are keeping stuff in the standard places, this can just be commented out by adding (!) to the end of the line. So it should look like: [directories](!)
  • chkconfig asterisk on
  • service asterisk restart

Targeted Trac Tickets

  • Primary targets:
    • #309 -- Asterisk recording
    • #395 -- Audio streaming of Fedora Board conf-calls
    • #453 -- Asterisk/gstreamer solution for town hall meetings
    • #1160 -- streaming and recording moderated conf-calls
  • Secondary targets (as time allows):

Use Cases

Explanations and proposed usage of different FedoraTalk functionality