Top

Small Asterisk-Addons 1.4 Chan OOH323 compilation howto

June 24, 2007

Today I was trying to upgrade to the latest Asterisk-Addons on my Asterisk server. I am using the 1.4 series (as you all should be by now)
and the most current release of Gentoo Linux. Because Gentoo uses somewhat "unstable" software I have differing versions of libtool.m4 and ltmain.sh. In order to get around this I had to do the following

# cd asterisk-addons-1.4.2
# cd asterisk-ooh323c
# nano configure


and then I had to hit control-w, and search for libtool.m4, once I found the section that it checked for this problem of the software being differing versions I commented it all out. Basically the whole section starting with the beginning if statement of the libtool check all the way to the bottom fi statement.

Next you'll need to compile the Asterisk-Addons package by doing the following:

# cd ..
# make

Notice that you will be presented with yet another error that it can't find the library file to copy for you when you try to issue the make install after compiling. This is a simple fix for now, just do this.

# cd asterisk-addons-1.4.2
# cd asterisk-ooh323c
# cd .libs
# cp libchan_h323.1.0.1 libchan_h323.so.1.0.1

Now you can continue with the installation by running this

# cd ..
# make install


That's it, you should now have chanooh323 available for your asterisk installation. If you have any difficulty let me know in the comments and I'll try and help.

Asterisk, Cacti, SNMP howto updated for slackware and translated to portugese!

May 9, 2007

Thanks to my good buddy Everton from Brazil, we've updated the SNMP Howto for Asterisk 1.4 with updated instructions for slackware. He's also been so kind to provide a pdf that's in portugese so all our non english speaking friends can read along as well.

*NOTE* UPDATED VERSION OF THE SNMP HOWTO FOR ASTERISK 1.6 IS HERE IF YOU NEED IT *NOTE*

Download the slackware + snmp + asterisk howto in english here

Download the slackware + snmp + asterisk howto in portugese here

Leave us any comments if you find omissions or errors.

*NOTE* UPDATED VERSION OF THE SNMP HOWTO FOR ASTERISK 1.6 IS HERE IF YOU NEED IT *NOTE*

PfSense on a soekris instead of monowall notes

April 23, 2007

Requirements:

  • 1 - Soekris NET4801
  • 1 - PfSense Embedded Image
  • 1 - CF Reader
  • 1 - Serial Cable for the soekris
  • 1 - CF Card 256 MB

The Steps I took:

  1. Backup your old Soekris / Monowall configuration xml file
  2. Buy a new CF card so we can keep the old configuration sane so it's plug and play "back to working" incase pfsense doesn't work
  3. Plug your cf reader into one of your linux boxes, and do this with the image
    
    # zcat pfSense-1.0.1-Embedded.img.gz | dd of=/dev/sda bs=16k
    

    where /dev/sda is your cf card as seen by the OS. If you are not using a linux box, you can check out the howto's available at the following URL

  4. Remove the CF card by unplugging the usb cable then the cf card.
  5. Shutdown the Soekris, Remove the case and remove current CF Card, place aside
  6. Place the new image card inside and then plug in your cables.
  7. Connect serial cable to your linux box and set term to 9600 8N1. I use minicom.
  8. Start up minicom on your linux box.
  9. Plug in the Soekris
  10. If it doesn't boot, you may have to set the bios to have the CF Card as primary.
    This note is thanks to the pfsense digest

    
    To do this enter the bios by pressing ctrl-p on boot and:
    
    set flash=primary
    
    reboot
    
  11. Watch as it boots to make sure nothing is funky
  12. Now you should see the configuration interface on your pfsense box, through minicom (the serial connection)
  13. Setup the LAN and WAN interfaces
  14. Connect to the LAN interface via a laptop, and configure the web interface
  15. Remove laptop, plug into your switch, and you're good to go.

I like pfsense. It's got a lot more options than m0n0wall, and while it's a little slower on my soekris 4801, it's still a great addition to my network :)

Using sipp to stress test your asterisk 1.4 pbx system

April 17, 2007

In addition to yesterday's post about SNMP and Asterisk 1.4, here is how I tested the graphs to ensure the calls were showing up as I expected. Here is what I did tonight to test mine. I used the information I found in this post to write most of this, but I changed it around slightly..

*NOTE* UPDATED VERSION OF THE SNMP HOWTO FOR ASTERISK 1.6 IS HERE IF YOU NEED IT *NOTE*


1. Compile SIPp from here

2. Create this in your asterisk extensions file


[sipp]
exten => 2005,1,Answer
exten => 2005,2,SetMusicOnHold(default)
exten => 2005,3,WaitMusicOnHold(20)
exten => 2005,4,Hangup

exten => 2002,1,Answer
exten => 2002,2,Goto(MENUCONTEXTORSIMILARCONTEXT,s,1)
exten => 2002,3,Hangup

3. Create this in your sip.conf file

[sipp]
type=friend
context=sipp
host=dynamic
port=6000
user=sipp
canreinvite=no
disallow=all
allow=ulaw

5. Reload Asterisk (in debug mode if you want to verify it's all working the first time around)

# /etc/init.d/asterisk stop
# /usr/sbin/asterisk -vvvvvvvvvvvvvvvvvvgc

6. Run this sipp command

# ./sipp -sn uac -d 20000 -s 2005 IP.OF.YOUR.BOX -l 30

This command will connect as a client, and give the duration of the call 20K miliseconds (or 20 seconds), will dial the server at ip IP.OF.YOUR.BOX, and try to reach the extension 2005, with a limit of 30 simultaneous calls.

If you want to instead test the actual calls per second isntead of just calling in waiting and hanging up, then make it do something more fasionable. Use this command instead.

# ./sipp -sn uac -d 10000 -s 2002 HOSTNAME.OF.YOUR.BOX -l 10 -mp 5606

OUTPUT:

SIPP:

------------------------------ Scenario Screen -------- [1-9]: Change Screen --
  Call-rate(length)     Port   Total-time  Total-calls  Remote-host
10.0(20000 ms)/1.000s   5061       6.01 s           59  10.0.2.10:5060(UDP)

  10 new calls during 1.000 s period     14 ms scheduler resolution
  46 calls (limit 161)                   Peak was 47 calls, after 5 s
  0 Running, 46 Paused, 0 Woken up
  244 out-of-call msg (discarded)
  1 open sockets

                                 Messages  Retrans   Timeout   Unexpected-Msg
      INVITE ---------->         59        0         0
         100 <----------         57        0                   2
         180 <----------         0         0                   0
         183 <----------         0         0                   0
         200 <----------  E-RTD1 57        0                   0
         ACK ---------->         57        0
       Pause [      0ms]         57                            11
         BYE ---------->         0         0         0
         200 <----------         0         0                   0

------ [+|-|*|/]: Adjust rate ---- [q]: Soft exit ---- [p]: Pause traffic -----

ASTERISK (DEBUG):

-- Executing [2005@sipp:1] Answer("SIP/sipp-085759b8", "") in new stack
-- Executing [2005@sipp:2] SetMusicOnHold("SIP/sipp-085759b8", "default") in new stack
-- Executing [2005@sipp:3] WaitMusicOnHold("SIP/sipp-085759b8", "20") in new stack
-- Started music on hold, class 'default', on channel 'SIP/sipp-085759b8'
-- Executing [2005@sipp:1] Answer("SIP/sipp-0858ff38", "") in new stack
-- Executing [2005@sipp:2] SetMusicOnHold("SIP/sipp-0858ff38", "default") in new stack
-- Executing [2005@sipp:3] WaitMusicOnHold("SIP/sipp-0858ff38", "20") in new stack
-- Started music on hold, class 'default', on channel 'SIP/sipp-0858ff38'

RAW SNMP DATA:

mythbox ~ # snmpwalk -On -c YOUR.COMMUNITY.NAME -v 2c YOUR.IP.GOES.HERE .1.3.6.1.4.1.22736.1.5.1.0
.1.3.6.1.4.1.22736.1.5.1.0 = INTEGER: 30

Graph Output after running the script for 20 minutes:

All the Channels:
All Graphs during the tests

The Sip Channel Zoomed In:

Closeup of the SIP channels

And that's it. Let me know if you have any questions or comments, oddly enough, in the comments section! :)

*NOTE* UPDATED VERSION OF THE SNMP HOWTO FOR ASTERISK 1.6 IS HERE IF YOU NEED IT *NOTE*

Monitoring Asterisk 1.4 with SNMP and CACTI for pretty graphs!

April 16, 2007

This, wasn't too easy to actually get going. Though I don't have very much experience with SNMP, which may have been part of my problems. The whole SNMP / RES_SNMP with Asterisk is all very beta too from what I've been reading, and since the only other document really that I can find on setting this up, is by Mark Spencer himself, I hope this might help some other users out there too.

So, with the aide of Mark Spencers' Howto over at VOIP Magazine I will be venturing forth and trying to get this going, but even better, because I will be using a remote CACTI server, instead of a local one.

*NOTE* UPDATED VERSION OF THE SNMP HOWTO FOR ASTERISK 1.6 IS HERE IF YOU NEED IT *NOTE*

REQUIREMENTS:

  • Asterisk Server (we'll call it ASTERISK-BOX)
  • Cacti Web Server (we'll call it CACTI-BOX)
  • Gentoo or equivalent Linux dist installed
  • Some Time

REQUIREMENTS - ASTERISK-BOX:

These are not in the scope of this document and assume you have already done this.

  1. install net-snmp
  2. install asterisk, and then enable the net-snmp module
  3. bring asterisk to a functioning state

REQUIREMENTS - CACTI-BOX:

  1. install apache/php/cacti/mysql
  2. setup apache/mysql/cacti

Now, lets get our hands dirty.

STEP 1 - SETUP ON ASTERISK-BOX:

Turn on SNMP in asterisk

# nano /etc/asterisk/res_snmp.conf

should look like this

[general]
subagent = yes
enabled = yes

Now we configure snmp on the box so it will generate two communities, one for the actual box, and one using the sub-agent, agentx as it's known (agent 13 actually). So we setup our /etc/snmp/snmpd.conf as per this:

# cat /etc/snmp/snmpd.conf
rocommunity YOUR.COMMUNITY.NAME
master agentx
#agentXSocket tcp:YOUR.ASTERISK.IP.ADDY:705
agentXperms 0660 0550 nobody asterisk
com2sec local localhost COMMUNITY.NAME
com2sec mynetwork0 YOUR.NETWORK/24 YOUR.COMMUNITY.NAME
com2sec mynetwork1 YOUR.NETWORK/24 YOUR.COMMUNITY.NAME
com2sec mynetwork2 YOUR.NETWORK/24 YOUR.COMMUNITY.NAME
com2sec mynetwork3 YOUR.NETWORK/24 YOUR.COMMUNITY.NAME
group MyROGroup any local
group MyROGroup any mynetwork0
group MyROGroup any mynetwork1
group MyROGroup any mynetwork2
group MyROGroup any mynetwork3
view all included .1
access MyROGroup "" any noauth 0 all none none

*Note in the above script the permissions, and the nobody, asterisk. This is because I am running asterisk as asterisk:asterisk, so this is where agentX needs to connect. The username doesn't matter apparently, but the group does.

Now we have to modify some init scripts. I am using Gentoo. this may be different for your distribution.

First we edit /etc/conf.d/snmpd to look something like the following

SNMPD_FLAGS="${SNMPD_FLAGS} -x /var/agentx/master"

Then we have to edit /etc/conf.d/snmptrapd to something looking like the following

SNMPTRAPD_FLAGS=""
SNMPTRAPD_FLAGS="${SNMPTRAPD_FLAGS} -a"
SNMPTRAPD_FLAGS="${SNMPTRAPD_FLAGS} -Lf /var/log/snmptrapd.log"

Now we should stop asterisk and net-snmp (if they are running)

# /etc/init.d/asterisk stop
# /etc/init.d/snmpd stop

Now we should start both back up. I use screen so I can do all of this.


# screen
screen#asterisk -vvvvvvvvvvvvvvvvvvvvgc
screen#
# /etc/init.d/snmpd start
# /etc/init.d/snmptrapd start
# screen -r

You should see Asterisk spit out a message that it's connected to the SNMP data source.

If asterisk looks to be working, then you can continue, otherwise debug to find out why it's not connecting. Next we should setup snmpd and snmptrapd to start on boot of the box. Again, I am using Gentoo. This may be different for your OS.

# rc-update add snmpd default
# rc-update add snmptrapd default

Now we are done on this, we can copy the MIB's from asterisk over to both boxes so they have them.

# cp //doc/asterisk-mib.txt /usr/share/snmp/mibs
# cp //doc/digium-mib.txt /usr/share/snmp/mibs
# scp //doc/digium-mib.txt admin@CACTI-BOX:
# scp //doc/asterisk-mib.txt admin@CACTI-BOX:

Now, we can test to make sure we see the output of the SNMP MIB's at least locally on our box. So, we perform the following

# export MIBS=+ASTERISK-MIB
# snmpwalk -c YOUR.COMMUNITY.NAME -v 1 localhost asterisk

If all worked out well, then we are ready to move over to the Cacti box and get things setup there.

STEP 2 - SETUP ON CACTI-BOX:

First lets copy those files we scp'd over to the proper location

# mv /home/admin/digium-mib.txt /usr/share/snmp/mibs/
# mv /home/admin/asterisk-mib.txt /usr/share/snmp/mibs/

Now lets create the polling script in /usr/local/bin

# cat /usr/local/bin/snmp_poller.sh

#!/bin/bash
# filename: snmp_poller.sh
# created this to make the polling process easier
# Can make updates to it and such to add functionality
MIBS=+ASTERISK-MIB
export MIBS
/usr/bin/php /usr/share/cacti/poller.php

# chmod 755 /usr/local/bin/snmp_poller.sh

Now, edit your crontab file so we can enable the polling script we just created.

# crontab -e

Then add this line, which will run the script every 5 minutes

*/5 * * * * /usr/local/bin/snmp_poller.sh > /dev/null 2>&1

Exit and save the file, and now we are done on the console and can go into Cacti's web interface for the rest of this tutorial.

STEP 3 - CACTI WEB INTERFACE:

First, I'll quote from Marks' original post instead of re-writing it...


The first step is to add the server to the Cacti database. First, click Create devices on the front page. Click the Add link on the right side of the screen.

Clicking add reveals a new screen where you will input basic information about connecting to the server. Fill out the fields, making sure to set the community name to COMMUNITY_NAME (what you put in snmpd.conf) Also, make sure the template is set to None, unless you know for sure you want another set of services automatically setup to be monitored. After clicking create, you'll come to a screen with the systems in cacti, click the one you just created. Select "SNMP � Generic OID Template" from the drop down menu under "Associated Graph Templates" and click add. Add more services if you like, but this is the one we will use to connect to the Asterisk SNMP module.
Advertisment

Now that the server is setup, we need some graphs. Click the create graphs for this host link at the top. On this page, select the "SNMP � Generic OID Template" by clicking the checkbox next to it. Select "SNMP � Generic OID template" from the drop down menu and click "create". Fill in the form with your basic information about the particular graph you're looking at. The vertical label will basically be the number of current calls in use.



To elaborate on the above, here's a sample of one of my entries into Cacti

Go to your device, create a new graph, generic OID template, and enter your values like the following example:

Title: |host_description| - GTALK Channels in use
Vertical Label: Current Google Talk Channels
Legend Color: your choice
Legend Text: Google Talk Channels
Name: |host_description| - GTALK Channels
Maximum Value: 100
Data Source: GUAGE
OID: .1.3.6.1.4.1.22736.1.5.4.1.7.9

Now, This is where things have changed since he wrote his article in April 2006. Now we have new OID's to deal with which I will provide a listing of below...

Here are all the possible ones to use:
Channel.1 = The NuFone Network's Open H.323 Channel Driver
Channel.2 = Skinny Client Control Protocol (Skinny)
Channel.3 = Zapata Telephony Driver
Channel.4 = Session Initiation Protocol (SIP)
Channel.5 = Standard Linux Telephony API Driver
Channel.6 = OSS Console Channel Driver
Channel.7 = Local Proxy Channel Driver
Channel.8 = Inter Asterisk eXchange Driver (Ver 2)
Channel.9 = Gtalk Channel Driver
Channel.10 = Feature Proxy Channel Driver
Channel.11 = Call Agent Proxy Channel

Here is what I am using:
overall channels in use (all types):
.1.3.6.1.4.1.22736.1.5.1.0
ASTERISK-MIB::astNumChannels.0

Session Initiation Protocol (SIP):
.1.3.6.1.4.1.22736.1.5.4.1.7.4
ASTERISK-MIB::astChanTypeChannels.4

Inter Asterisk eXchange Driver (Ver 2):
ASTERISK-MIB::astChanTypeChannels.8
.1.3.6.1.4.1.22736.1.5.4.1.7.8

zap channels in use:
ASTERISK-MIB::astChanTypeChannels.3
.1.3.6.1.4.1.22736.1.5.4.1.7.3

google talk in use:
ASTERISK-MIB::astChanTypeChannels.9
.1.3.6.1.4.1.22736.1.5.4.1.7.9

h323 channels in use:
ASTERISK-MIB::astChanTypeChannels.1
.1.3.6.1.4.1.22736.1.5.4.1.7.1

Here are the commands used to translate between numerical and alphabetic:

To convert from Alphabetic just do this for example:

# snmpwalk -On -c YOUR.COMMUNITY.NAME -v 2c YOUR.ASTERISK.IP.ADDY ASTERISK-MIB::astChanTypeChannels.9

and it will spit out the numerical version of the OID, to see the alpha one just do this instead

# snmpwalk -c YOUR.COMMUNITY.NAME -v 2c YOUR.ASTERISK.IP.ADDY .1.3.6.1.4.1.22736.1.5.4.1.7.9

And now after we have that all sorted out and you have what you want to graph all figured out, we can go back to marks' original howto again.


When you are sure everything is right, continue on by clicking create.

Click Graph Management on the left. Select the newly created graph on the right (servername � SIP Users in the picture), and choose "Place on a Tree (Default Tree)" so that it'll show up on the graphs page. Click go when ready. Just click yes on the next page that comes up.

After a few minutes, the graph will have populated from the polling thread, and you can click the graphs tab at the top. This will take you to a page with graphs on it, just select the Default Tree link, and look for the new graph.

You should end up with some graphs that look like this.

All Channels SIP Channels IAX2 Channels

and that should be it really.. let me know if you have problems in the comments..

Extras - Helpful Testing Commands:

ASTERISK-BOX:
Walk the snmp tree:
# snmpwalk -c YOUR.COMMUNITY.NAME -v 2c YOUR.ASTERISK.IP.ADDY asterisk

CACTI-BOX:
Walk the snmp tree, but show as OID's instead:
# snmpwalk -On -c YOUR.COMMUNITY.NAME -v 2c YOUR.ASTERISK.IP.ADDY asterisk

*NOTE* UPDATED VERSION OF THE SNMP HOWTO FOR ASTERISK 1.6 IS HERE IF YOU NEED IT *NOTE*

m0n0wall and cisco vlan howto for asterisk voip

April 15, 2007

Setting up Vlans on your Cisco Switch with Monowall

Requirements:

  • Cisco 2950
  • Soekris or similar w/ m0n0wall

Network Diagram:
Network Layout

Network Hardware Picture:

Hardware Shot Hardware Shot 2

 


The Howto
First, we telnet to the switch and perform the following:

cisco1>enable
Password:
cisco1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
cisco1(config)#int vlan10

Now we can configure our first vlan, in this case vlan10. Now, since we're doing the phones vlan, we'll give it a description

cisco1(config-if)#description Phones
cisco1(config-if)#exit
cisco1(config)#

Now we do the same thing for the Computers Network

cisco1(config)#int vlan20
cisco1(config-if)#Description Computers
cisco1(config-if)#exit
cisco1(config)#

Now we do the same thing for the WIFI Network

cisco1(config)#int vlan30
cisco1(config-if)#Description WIFI
cisco1(config-if)#exit
cisco1(config)#

Now we setup the vlans on the soekris

1. Login to Monowall
2. Go to Interfaces(assign)
3. Click on the Vlans Tab
4. Click the little + sign to create a new vlan

Now we have some settings

Parent Interface: sis1 (or whatever your LAN / plugged into cisco switch is)
VLAN Tag: 10 (remember, the tag for the phones was 10)
Description: Phones

Then Do it all again but adding for computers

Parent Interface: sis1 (or whatever your LAN / plugged into cisco switch is)
VLAN Tag: 20 (remember, the tag for the computers was 20)
Description: Computers

Then Do it all again but adding for WIFI

Parent Interface: sis1 (or whatever your LAN / plugged into cisco switch is)
VLAN Tag: 30 (remember, the tag for the WIFI was 30)
Description: WIFI

Now we hop back on the switch and type in

Password:
cisco1>enable
Password:
cisco1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
cisco1(config)#

Enter the switch port you are using for the uplink, in my case 0/1

cisco1(config)#int fastethernet0/1

Give it a description of what this is

cisco1(config-if)#description Uplink to Soekris (Router)

Set the gateway to vlans using this command

cisco1(config-if)#switchport mode trunk

Now return to monowall, and reboot it. Everything should work, we're just enabling the vlans.

Now login to the monowall/soekris again, go to interfaces(assign), go to interfaces tab, then click the + sign.

You should have:

LAN: sis1
WAN: sis0
OPT1: VLAN 10 on SIS1 (Phones)
LAN: sis1
WAN: sis0
OPT2: VLAN 20 on SIS1 (Computers)
LAN: sis1
WAN: sis0
OPT3: VLAN 30 on SIS1 (WIFI)

Click save. Reboot the soekris again.

Now login to the soekris again, and change the interface name from OPT1 to VLAN-Phones, and then assign it the ip range 10.0.2.1/24 and click save. Do the same for Computers (10.0.3.x) and WIFI (10.0.4.x)

Now go to the DHCP Server section on the soekris, and you'll see a new VLAN-Phones, VLAN-Computers and VLAN-WIFI tabs at the top, which you can configure.

If you know the MAC addresses of your devices, put them in for static address mapping, and Name them.

Make sure it is enabled, then click "Apply Changes"

Now go back to your cisco switch and enable the ports your phone and servers are on, in my case ports 17 and 24

Password:
cisco1>enable
Password:
cisco1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
cisco1(config)#int faste0/17
cisco1(config-if)#switchport access vlan 10
% Access VLAN does not exist. Creating vlan 10
cisco1(config)#end
cisco1(config)#conf t
cisco1(config)#int faste0/24
cisco1(config-if)#switchport access vlan 10
cisco1(config-if)#end

Now we'll set some descriptions

cisco1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
cisco1(config)#int faste0/24
cisco1(config-if)#switchport access vlan 10
cisco1(config-if)#end
cisco1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
cisco1(config)#int faste0/17
cisco1(config-if)#description Cisco 7970 at Matts Desk
cisco1(config-if)#end
cisco1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
cisco1(config)#int faste0/24
cisco1(config-if)#description Asterisk IP PBX Server
cisco1(config-if)#end
cisco1#

Now, repeat the above two steps for your Computers and WIFI networks.

After this is complete, you'll want to do the following on the switch to verify it's all correct.

cisco1#wr
cisco1#show config

cisco1#show vlan brief

This will write your configuration to memory, and then show you what your setup is, and what your vlan configuration is. Scroll down below my cisco commands to see the output of mine to verify against.

After you have done that you will want to configure your firewall rules on the Soekris/Monowall setup. What I did was enable * for VLAN-Phones, VLAN-Computers, VLAN-WIFI, and on the LAN. On the WAN side of things I have everything disabled, and only allow a few services in (ssh, and voip stuff in my case). I'm not going to paste screenshots because If you have this type of hardware I expect you know how to configure a basic firewall :)

That's it for now. Next step is the queing and all the l33t stuff.

FULL COMMAND LISTING ON THE CISCO SWITCH:

Initial Setup:

enable
conf t
int vlan10
description Phones
int vlan20
description Computers
int vlan30
description Wifi
int fa0/1
spanning-tree portfast
description Uplink to Soekris (Router)
switchport mode trunk
switchport trunk allowed vlan 10
switchport trunk allowed vlan 20
switchport trunk allowed vlan 30

SETUP VLAN10:

int fa0/17
switchport access vlan 10
description VOIP1-Matt-7970
int fa0/18
switchport access vlan 10
description VOIP2
int fa0/19
switchport access vlan 10
description VOIP3
int fa0/20
switchport access vlan 10
description VOIP4
int fa0/21
switchport access vlan 10
description VOIP5
int fa0/21
switchport access vlan 10
description VOIP6
int fa0/22
switchport access vlan 10
description VOIP7
int fa0/23
switchport access vlan 10
description VOIP8
int fa0/24
switchport access vlan 10
description VOIP-PBX
end

SETUP VLAN20:

int fa0/3
switchport access vlan 20
description PrintServer
int fa0/4
switchport access vlan 20
description Server1
int fa0/5
switchport access vlan 20
description Server2
int fa0/6
switchport access vlan 20
description Server3
int fa0/7
switchport access vlan 20
description Server4
int fa0/8
switchport access vlan 20
description Server5
int fa0/9
switchport access vlan 20
description Desktop1
int fa0/10
switchport access vlan 20
description Desktop2
int fa0/11
switchport access vlan 20
description Desktop3
int fa0/12
switchport access vlan 20
description Desktop4
int fa0/13
switchport access vlan 20
description Desktop5
int fa0/14
switchport access vlan 20
description Desktop6
int fa0/15
switchport access vlan 20
description Desktop7-Xbox360
int fa0/16
switchport access vlan 20
description Desktop8-Craig
end

SETUP VLAN30:

int fa0/2
switchport access vlan 30
description WIFI


OUTPUT OF "show config" on cisco 2950 switch

cisco1#show config
Using 3391 out of 32768 bytes
!
! Last configuration change at 23:37:22 EDT Sat Apr 14 2007
! NVRAM config last updated at 23:37:23 EDT Sat Apr 14 2007
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log datetime
no service password-encryption
service sequence-numbers
!
hostname cisco1
!
enable secret 5 $1$.aJp$eniLVaBSekYNQW/dmmGcH0
enable password 
!
clock timezone EST -5
clock summer-time EDT recurring
ip subnet-zero
!
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
!
!
interface FastEthernet0/1
 description Uplink to Soekris (Router)
 switchport mode trunk
 spanning-tree portfast
!
interface FastEthernet0/2
 description WIFI
 switchport access vlan 30
!
interface FastEthernet0/3
 description PrintServer
 switchport access vlan 20
!
interface FastEthernet0/4
 description Empty
 switchport access vlan 20
!
interface FastEthernet0/5
 description Empty
 switchport access vlan 20
!
interface FastEthernet0/6
 description Empty
 switchport access vlan 20
!
interface FastEthernet0/7
 description Empty
 switchport access vlan 20
!
interface FastEthernet0/8
 description Empty
 switchport access vlan 20
!
interface FastEthernet0/9
 description Desktop1
 switchport access vlan 20
!
interface FastEthernet0/10
 description desktop-mattport2
 switchport access vlan 20
!
interface FastEthernet0/11
 description Desktop3
 switchport access vlan 20
!
interface FastEthernet0/12
 description Desktop4
 switchport access vlan 20
!
interface FastEthernet0/13
 description desktop-matt-desktop1
 switchport access vlan 20
!
interface FastEthernet0/14
 description Empty
 switchport access vlan 20
!
interface FastEthernet0/15
 description computer-xbox360
 switchport access vlan 20
!
interface FastEthernet0/16
 description computer-craig-upstairs
 switchport access vlan 20
!
interface FastEthernet0/17
 description VOIP1-Matt-7970
 switchport access vlan 10
!
interface FastEthernet0/18
 description VOIP2
 switchport access vlan 10
!
interface FastEthernet0/19
 description VOIP3
 switchport access vlan 10
!
interface FastEthernet0/20
 description VOIP4
 switchport access vlan 10
!
interface FastEthernet0/21
 description VOIP6
 switchport access vlan 10
!
interface FastEthernet0/22
 description VOIP7
 switchport access vlan 10
!
interface FastEthernet0/23
 description VOIP8
 switchport access vlan 10
!
interface FastEthernet0/24
 description VOIP-PBX
 switchport access vlan 10
!
interface Vlan1
 ip address 10.0.1.20 255.255.255.0
 no ip route-cache
!
interface Vlan10
 description Phones
 no ip address
 no ip route-cache
 shutdown
!
interface Vlan20
 description Computers
 no ip address
 no ip route-cache
 shutdown
!
interface Vlan30
 description WIFI
 no ip address
 no ip route-cache
 shutdown
!
interface Vlan100
 no ip address
 no ip route-cache
!
ip default-gateway 10.0.1.1
ip http server
snmp-server community flewid.local.write RW
snmp-server community flewid.local RO
snmp-server location Downstairs
snmp-server contact Matt Gibson
banner login ^C
Access for authorized users only. Please enter your username and password.
^C
banner motd ^C
This is a secure site. Only authorized users are allowed.
For access, contact technical support.
^C
!
line con 0
line vty 0 4
 password 
 login
line vty 5 15
 password 
 login
!
ntp clock-period 17180357
ntp server 192.43.244.18 key 0
!
end

cisco1#

OUTPUT OF "show vlan brief" on cisco 2950 switch

cisco1#show vlan brief

VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active
10   VLAN0010                         active    Fa0/17, Fa0/18, Fa0/19, Fa0/20
                                                Fa0/21, Fa0/22, Fa0/23, Fa0/24
20   VLAN0020                         active    Fa0/3, Fa0/4, Fa0/5, Fa0/6
                                                Fa0/7, Fa0/8, Fa0/9, Fa0/10
                                                Fa0/11, Fa0/12, Fa0/13, Fa0/14
                                                Fa0/15, Fa0/16
30   VLAN0030                         active    Fa0/2
1002 fddi-default                     act/unsup
1003 token-ring-default               act/unsup
1004 fddinet-default                  act/unsup
1005 trnet-default                    act/unsup
cisco1#

Stargate Atlantis Cisco 7970 Ringtone

January 18, 2007

I was watching Stargate Atlantis the other night, and there was a small portion where a door opened and it played a neat sound. I thought hey, this would be a great ringtone for us fans.

I've captured the audio, converted it to pcm format, which can be used with your Cisco SIP phone. I'm sure it could also be used on Polycom, and other phones too.

Download the Stargate Atlantis Ringtone here {wav format}
Download the Stargate Atlantis Ringtone here {pcm format}

« Previous PageNext Page »

Bottom