Thursday, June 30, 2016

Facebook page

One more channel to share and engage:

https://www.facebook.com/Panda-Eats-Bamboo-1404693529544647/

Getting Surveillance Camera Snapshot with Spark Chatbot

Bear with me if it is just too much.  I am developing different use cases with Spark that might be useful for myself.  Yesterday I had posted these two use cases:

Device monitoring:
http://pandaeatsbamboo.blogspot.hk/2016/06/using-spark-to-monitor-device.html

Config backup:
http://pandaeatsbamboo.blogspot.hk/2016/06/using-spark-for-my-routers-and-switches.html

Another use case is I can ask the chatbot to send my home surveillance camera snapshot to me via Spark.  In a lot of time I don't need the live video as it consumes cellular bandwidth.  A snapshot is usually work to get a feeling what my children are doing at home.



Previous use cases:
Network monitoring - http://pandaeatsbamboo.blogspot.com/2016/06/using-spark-to-monitor-device.html
Config backup - http://pandaeatsbamboo.blogspot.com/2016/06/using-spark-for-my-routers-and-switches.html
Energywise demo with bot - http://pandaeatsbamboo.blogspot.com/2016/06/cisco-spark-bot-energywise-demo.html

Wednesday, June 29, 2016

Using Spark to monitor device availability

This is another use case I used Spark in my lab, to check the availability of my lab devices.  When there is outage, the chatbot will alert me proactively so that I can check and troubleshoot the issue earlier rather than later.

My DX70 is now on CE 8.2!



Conversion Doc:
http://pandaeatsbamboo.blogspot.hk/2016/06/migrate-dx7080-devices-from-android-to.html

CE 8.2 on DX is live now!



Conversion Doc:
http://pandaeatsbamboo.blogspot.com/2016/06/migrate-dx7080-devices-from-android-to.html

Migrate DX70/80 devices from Android to CE software

The guide is now posted:

http://www.cisco.com/c/dam/en/us/td/docs/telepresence/endpoint/ce82/dx80-dx70-convert-between-CE-android-based-software.pdf

Using Spark for my routers and switches config backup

Not the most innovative idea in the world, but it works for me.  In my home and lab there are quite a number of routers and switches.  This is what I've configured on the devices to periodically upload the config to the FTP server

ip ftp source-interface
ip ftp username nms
ip ftp password nms
file prompt quiet
!
kron policy-list backup
 cli copy running-config ftp://10.1.5.98
!
kron occurrence daily-backup at 0:30 recurring
 policy-list backup

There is another script running on my Linux host to post these config files to Spark using the Spark Message API.  Good thing for Spark is it is persistent, and I can store the config files there as long as I want.


I do it for my development source code too, similar concept.


A script will be executed every night using the linux box cron job to get this done.  Or do it manually, by asking my chatbot to do it.

Thursday, June 23, 2016

UDS API - Query User info

You can query the user information with the UDS API, it is a HTTP GET request and if the LDAP search UDS proxy feature is enabled on 11.5, you can use it to query the LDAP users with this API.

This is the HTTP GET request that I've used for the below screen capture:
https://10.1.90.11/cucm-uds/users?name=aeinstein

Read-only AXL in UCM 11.5

One of the improvements in UCM 11.5 is it has a new standard user roles that restrict users to have read-only AXL access.  It provides better security and reduce chance of human errors in accessing the UCM database.

User management > User settings > Role






Sunday, June 19, 2016

Field notice - old phones are not going to support on UCM 11.5

As per my previous post regarding old phone is no longer support on UCM 11.5:

http://pandaeatsbamboo.blogspot.hk/2016/06/old-phones-will-not-be-supported-in-ucm.html

There is an official field notice issued a few days ago, so make sure you plan ahead before upgrading your system if you are still using these old phones:

http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cucm/rel_notes/11_5_1/fieldNotice/cucm_b_fn-deprecated-phone-models-1151.html


  • Cisco IP Phone 12 SP+ and related models
  • Cisco IP Phone 30 VIP and related models
  • Cisco Unified IP Phone 7902
  • Cisco Unified IP Phone 7905
  • Cisco Unified IP Phone 7910
  • Cisco Unified IP Phone 7910SW
  • Cisco Unified IP Phone 7912
  • Cisco Unified Wireless IP Phone 7920
  • Cisco Unified IP Conference Station 7935