Friday, February 3, 2012

Using your MacBook as wireless access point

I am using a MBP and I don't want to setup a permanent wireless access point at home for some reason, so the easiest way for me to create a home wireless network occasionally is to using my MBP to share my wired connection with wifi.

To do it, first go to System Preferences, choose Sharing:


Then turn on the Internet Sharing.  Share your connection from:  "Ethernet", and To computers using "Wifi"



Your wireless icon on the top menu bar should change to:


You can optionally config security for your wireless network, however only WEP is supported  :(


My current OS Version when I write this post:  OS X Lion 10.7.3

Call Admission Control - Bandwidth Allocation

A quick summary table on how much bandwidth used in the CAC calculation for 1 call in different codecs


G.711
G.729
Gatekeeper CAC
128Kbps
16Kbps
Location CAC
80Kbps
24Kbps
RSVP CAC
96Kbps
40Kbps

Mobile Voice Access + Mobile Connect - Step by Step

To configure Mobile Voice Access + Mobile Connect:
1.  Make sure the MVA service is started on UCM


2.  Media Resource > Mobile Voice Access - to configure your MVA number, in my case my number is 3000


3. Change the Service Parameter > Cisco CallManager


4. Config your H323 gateway, where 192.168.20.20 is your UCM address in my case
application
dial-peer voice 3000 pots
 service mva
 incoming called-number 3000
 no digit-strip
 direct-inward-dial
!
dial-peer voice 3001 voip
 destination-pattern 3000
 session target ipv4:192.168.20.20
 dtmf-relay h245-alphanumeric
 codec g711ulaw
 no vad

5. Configure the CCM End User for MVA access

Also make sure that it is added to the appropriate User Group


6. Associate the user to the device, as well as the DN.  Also change the device "owner ID" to that user.

7. Create Remote Destination Profile + Remote Destination.  Make sure that the rerouting CSS can reach the route pattern for Mobile Connect.  Associate the DN on RDP to the user.

8. On the phone, add the mobile connect phone button


Test it by calling from PSTN to the MVA number.  If the PSTN number matches (partial match according to the above config) with your remote destination number, you are only required to enter the PIN without the key in the remote destination number when you call the MVA number.  Also try Mobile connect and make sure the re-routing CSS can reach the remote destination number.
Good luck!

Assigning Static IP address via Cisco IOS DHCP

For some cases that you want to assign a static IP address via a Cisco IOS DHCP server, to make sure for that particular MAC address will always get the same IP address, here is the example on how to get it done:


ip dhcp pool PandaPhone
   host 192.168.20.10 255.255.255.0
   client-identifier 01ee.ffaa.bbcc.dd
   default-router 192.168.20.254
   option 150 ip 192.168.20.200


Assuming the MAC address of the phone is EEFF.AABB.CCDD

Save energy with Energywise

I am using a 3560-8PC PoE switch in my home lab and in order to save my electric bill, energywise has been implemented on the switchport in order to turn off the PoE power in the hours that I don't need it.

Example:  To turn on the PoE power every morning at 8am and turn off at 10pm.

interface FastEthernet0/7

 energywise level 10 recurrence importance 100 at 0 8 * * *
 energywise level 0 recurrence importance 100 at 0 22 * * *

Also I have written a web page to override this behavior, by triggering the expect script on my Linux box, details can be referred by this old post:
http://pandaeatsbamboo.blogspot.com/2009/12/script-to-turn-off-poe-power-using.html


OSX 10.7.3 - Finder and other apps keep crashing after update

After updating to 10.7.3 through the Software Updater, the Finder and other apps keep crashing and the keyboard is not responsive after the Finder is forced close.  Problem solved after download the 10.7.3 Update Client Combo, install and reboot it.  It is quite stable for 30 minutes already, hopefully it will not crash after I publish this post.  :(

Download the client combo here:
http://support.apple.com/kb/DL1484


Wednesday, February 1, 2012

Provisioning Cisco Cius - which MAC address to use?

Cisco Cius uses two addresses: Ethernet MAC and Wireless LAN MAC. When adding Cisco Cius to the Cisco Unified Communications Manager, it must be provisioned using the Ethernet MAC address.

http://www.cisco.com/en/US/docs/voice_ip_comm/ccmcd/admin/9_2_2/english/CIUS_BK_C6A798E7_00_cisco-cius-administration-guide_chapter_01.html#CIUS_TK_C274B913_00

CUE - Configure Caller ID information for incoming voice mail messages

CUE supports caller ID information for incoming voice-mail messages from external caller that is not listed in the CUE subscriber directory.  Default it is disabled and the system will play "Unknown Caller" in the message envelop. Once you enable it, it will play the caller's number in the message envelop.  This is the command on how to enable this feature on CUE

CUE# config t
CUE(config)# voicemail callerid

An iPhone app for CME Config Generation:
http://itunes.apple.com/us/app/cme-config-generator/id453025819?ls=1&mt=8

Create Meetme conference on Cisco CME

Create a meetme conference on CME is quite similar to ad-hoc conference in terms of configuration, here is an example how to create a Meetme conference on CME:

1. Create DSP Farm Porfile
sccp local GigabitEthernet0/0
sccp ccm 1.1.1.1 identifier 1 priority 1 version 7.0
sccp
!
sccp ccm group 1
associate ccm 1 priority 1
associate profile 1 register CFB
!
dspfarm profile 1 conference
codec g711ulaw
codec g711alaw
codec g729ar8
codec g729abr8
codec g729r8
codec g729br8
maximum sessions 2
associate application SCCP

2. Config telephony service to use hardware conference and associate it with the DSP Farm
telephony-service
sdspfarm units 1
sdspfarm tag 1 CFB
no privacy
conference hardware
no auto-reg-ephone
max-ephones 20
max-dn 20
ip source-address 1.1.1.1 port 2000
cnf-file location flash:
max-conferences 8 gain -6
transfer-system full-consult

3. Create ephone template that has the meetme softkey in seized state
ephone-template  1
softkeys seized  Redial Endcall Cfwdall Pickup Gpickup Callback Meetme

4. Create meetme conference ephone-dn
ephone-dn  10  octo-line
number 1234 no-reg primary
conference meetme
no huntstop

An iPhone app for CME Config Generation:
http://itunes.apple.com/us/app/cme-config-generator/id453025819?ls=1&mt=8

Sample Frame Relay Switch Configuration for CCIE Voice Lab

In my CCIE voice lab, I am using a 2821 router with multiple VWIC-2MFT-G703 equipped in the PSTN router as the frame relay switch.  The other 2821 routers are also equip with VWIC-1MFT-G703 for data connection.  The advantage of this approach is you don't need to pay for the serial cable cost, it can be done using normal Cat5 cable, with the correct G.703 cross over cable pin out.  The crossover cable is 1-4, 2-5 inverse.  This is my cable pin out:

1. Orange-white - - - Blue
2. Orange - - - Blue-white
3. Green-white - - - Green-white
4. Blue - - - Orange-white
5. Blue- white - - - Orange
6. Green - - - Green
7. Brown-white - - - Brown-white
8. Brown - - - Brown

To create serial interface, channel-group command will be used under controller.  For each DS0 timeslot, the default bandwidth is 56Kbps for T1 card and 64Kbps for E1 card.

controller E1 0/0/0
 channel-group 1 timeslots 1-3

In the above configuration, a 192Kbps connection is created for the interface serial 0/0/0:1

Then the next step is to configure the interfaces that are created for frame relay switching, here is the sample configuration:

interface Serial0/0/0:1
description -- Data connection to HQ --
 no ip address
 encapsulation frame-relay
 frame-relay lmi-type ansi
 frame-relay intf-type dce
 frame-relay route 201 interface Serial0/0/1:1 101
 frame-relay route 202 interface Serial0/1/0:1 102
!
interface Serial0/0/1:1
 description -- Data connection to SB --
 no ip address
 encapsulation frame-relay
 no frame-relay inverse-arp
 frame-relay lmi-type ansi
 frame-relay intf-type dce
 frame-relay route 101 interface Serial0/0/0:1 201
!
interface Serial0/1/0:1
 description -- Data connection to SC --
 no ip address
 encapsulation frame-relay
 no frame-relay inverse-arp
 frame-relay lmi-type ansi
 frame-relay intf-type dce
 frame-relay route 102 interface Serial0/0/0:1 202

After it is created, and configuration on the frame relay routers are configured, in the "show frame-relay pvc" you should see "switched" PVC is in active state.  This is an example for interface s0/0/0:1.

PVC Statistics for interface Serial0/0/0:1 (Frame Relay DCE)

              Active     Inactive      Deleted       Static
  Local          0            0            0            0
  Switched       2            0            0            0
  Unused         0            0            0            0