From Fedora Project Wiki

(Add port for iax)
(Add link)
 
(21 intermediate revisions by 4 users not shown)
Line 12: Line 12:
| [[User:Stickster|Paul]]  ||        ||  X  ||  X  ||        || Hosting, chauffeuring, hacking when no one's looking
| [[User:Stickster|Paul]]  ||        ||  X  ||  X  ||        || Hosting, chauffeuring, hacking when no one's looking
|-
|-
| [[User:ianweller|Ian]]  ||        ||  X  ||  X  || Travel ||
| [[User:ianweller|Ian]]  ||        ||  X  ||  X  || Travel || Web page/app creation and hacking, design and misc. hackery
|-
|-
| [[User:Jstanley|Jon]]    ||        ||  X  ||  X  || Travel || Testing, puppetizing, general hacking, learn Asterisk, moral support, etc :D
| [[User:Jstanley|Jon]]    ||        ||  X  ||  X  || Travel || Testing, puppetizing, general hacking, learn Asterisk, moral support, etc :D
Line 24: Line 24:
| [[User:herlo|Clint]]    ||    X    ||  X  ||  X  ||    X  || puppetizing and testing (shadowing Mike)
| [[User:herlo|Clint]]    ||    X    ||  X  ||  X  ||    X  || puppetizing and testing (shadowing Mike)
|-
|-
| [[User:onekopaka|Darren]]||    X    ||     ||  X  ||        || testing
| [[User:onekopaka|Darren]]||    X    || .5  ||  X  ||        || testing
|-
|-
| [[User:Bruno|Bruno]]    ||    X    ||  X  ||  X  ||  AM  || testing, possibly some asterisk config hacking
| [[User:Bruno|Bruno]]    ||    X    ||  X  ||  X  ||  AM  || testing, possibly some asterisk config hacking
|-
|-
|}
|}
== Schedule ==
{|
! colspan=2 | Thursday, 2009-10-22
|-
! Time (EDT) !! Details
|-
| 1500 || Paul picks up Jon Stanley from bus station
|-
| 1515 || Paul and Jon trip to store to pick up a couple small hardware bits
|-
| 1700 || Paul and Jon to either hotel or Paul's house
|-
| 2000 || Paul (maybe Jon) to RIC airport to pick up arriving travelers
|-
| 2300 || (approximate) Travelers to hotel, Ian to Paul's house
|-
! colspan=2 | Friday, 2009-10-23
|-
| 0800 || Paul picks up travelers at hotel for breakfast (<strike>Waffle House</strike> [http://hosted.where2getit.com/crackerbarrel/locator.html?form=locator_search&addressline=22401&searchradius=20&search=Search Cracker Barrel] [loc. #1])
|-
| 0930 || Arrive at work site, greet owner, set up
|-
| 1000 || Sessions start
|-
| 1800 || Wrap up/depart for dinner (possible late-night hacking?)
|-
! colspan=2 | Saturday, 2009-10-24
|-
| 0930 || Paul picks up travelers at hotel
|-
| 1000 || Sessions start
|-
| 1800 || Wrap up/depart for dinner
|-
! colspan=2 | Sunday, 2009-10-25
|-
| 0830 || Paul picks up travelers at hotel
|-
| 0900 || Drop off Jon Stanley at bus terminal, depart for RIC airport
|-
| 1015 || Drop off travelers for flights (Ian ~1130, Jeff ~1210), then to Richmond/SM bus terminal (Poelstra)
|}
== Use Cases ==
Explanations and proposed usage of different FedoraTalk functionality
* [[ Fedora_Talk_User_Cases | Regular Users]]
* [[ Fedora Talk Facilitator Cases | Facilitators]]
* [[ Fedora_Talk_Admin_Cases | Administrators]]


== 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.
I think this is ready for review by the gurus as I have gone about as far as I can.
I am able to complete twinkle to twinkle calls through the server.
* 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 40: Line 91:
* git clone git://fedorapeople.org/~jcollie/ftalk-asterisk-configs.git ftalk-asterisk-configs
* git clone git://fedorapeople.org/~jcollie/ftalk-asterisk-configs.git ftalk-asterisk-configs
* cp -f ftalk-asterisk-configs/* /etc/asterisk
* cp -f ftalk-asterisk-configs/* /etc/asterisk
* chown asterisk.asterisk /etc/asterisk/*
** There are a couple of config files in Jeff's set that are new and get owned by root instead of asterisk. Depending on your umask setting this might be a problem.
* A line "type = peer" should get added into the [general] section of /etc/asterisk/users.conf . Without this registration as one of the users won't work.
* 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. If you comment them out (with ;) asterisk will listen on all interfaces (0.0.0.0).
* /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](!)
* Open ports 5060/udp 5060/tcp for inbound SIP. Allowing related connections should take care of RTP.
** The way things are configured, only udp is being used for 5060. Unless that changes 5060/tcp doesn't need to be opened up.
** 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.
* chkconfig asterisk on
* chkconfig asterisk on
* service asterisk restart
* service asterisk restart
* Open ports 5060/udp 5060/tcp for inbound SIP. Allowing related connections should take care of RTP.
* asterisk -r
* Open port 4569/udp for iax2, if we play with that.
** If you want to do some debugging you can run asterisk -r as root or asterisk.
** "core show help" will show you what commands are available.
** "sip set debug on" is one that might be particularly useful.
* Note with this setup authentication (domain and realm in twinkle) uses fedoraproject.org but for the server setup and host being called you want to use the real domain name of the server.
* If you edit system settings -> Network you can change the sip port and run an instance of twinkle on the same box as the server.


== Targeted Trac Tickets ==
== Targeted Trac Tickets ==
Line 54: Line 121:
** [https://fedorahosted.org/fedora-infrastructure/ticket/672 #672] -- improve VoIP page on FAS
** [https://fedorahosted.org/fedora-infrastructure/ticket/672 #672] -- improve VoIP page on FAS
** [https://fedorahosted.org/fedora-infrastructure/ticket/1723 #1723] -- improve [http://talk.fedoraproject.org talk.fp.o] page content
** [https://fedorahosted.org/fedora-infrastructure/ticket/1723 #1723] -- improve [http://talk.fedoraproject.org talk.fp.o] page content
== Use Cases ==
Explanations and proposed usage of different FedoraTalk functionality
* [[ Fedora_Talk_User_Cases | Regular Users]]
* [[ Fedora_Talk_Admin_Cases | Administrators]]

Latest revision as of 15:50, 24 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 Web page/app creation and hacking, design and misc. hackery
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 .5 X testing
Bruno X X X AM testing, possibly some asterisk config hacking

Schedule

Thursday, 2009-10-22
Time (EDT) Details
1500 Paul picks up Jon Stanley from bus station
1515 Paul and Jon trip to store to pick up a couple small hardware bits
1700 Paul and Jon to either hotel or Paul's house
2000 Paul (maybe Jon) to RIC airport to pick up arriving travelers
2300 (approximate) Travelers to hotel, Ian to Paul's house
Friday, 2009-10-23
0800 Paul picks up travelers at hotel for breakfast (Waffle House Cracker Barrel [loc. #1])
0930 Arrive at work site, greet owner, set up
1000 Sessions start
1800 Wrap up/depart for dinner (possible late-night hacking?)
Saturday, 2009-10-24
0930 Paul picks up travelers at hotel
1000 Sessions start
1800 Wrap up/depart for dinner
Sunday, 2009-10-25
0830 Paul picks up travelers at hotel
0900 Drop off Jon Stanley at bus terminal, depart for RIC airport
1015 Drop off travelers for flights (Ian ~1130, Jeff ~1210), then to Richmond/SM bus terminal (Poelstra)

Use Cases

Explanations and proposed usage of different FedoraTalk functionality

Asterisk Packages & Installation Instructions

I think this is ready for review by the gurus as I have gone about as far as I can. I am able to complete twinkle to twinkle calls through the server.

  • 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
  • chown asterisk.asterisk /etc/asterisk/*
    • There are a couple of config files in Jeff's set that are new and get owned by root instead of asterisk. Depending on your umask setting this might be a problem.
  • A line "type = peer" should get added into the [general] section of /etc/asterisk/users.conf . Without this registration as one of the users won't work.
  • 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. If you comment them out (with ;) asterisk will listen on all interfaces (0.0.0.0).
  • /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](!)
  • Open ports 5060/udp 5060/tcp for inbound SIP. Allowing related connections should take care of RTP.
    • The way things are configured, only udp is being used for 5060. Unless that changes 5060/tcp doesn't need to be opened up.
    • 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.
  • chkconfig asterisk on
  • service asterisk restart
  • asterisk -r
    • If you want to do some debugging you can run asterisk -r as root or asterisk.
    • "core show help" will show you what commands are available.
    • "sip set debug on" is one that might be particularly useful.
  • Note with this setup authentication (domain and realm in twinkle) uses fedoraproject.org but for the server setup and host being called you want to use the real domain name of the server.
  • If you edit system settings -> Network you can change the sip port and run an instance of twinkle on the same box as the server.

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):