Wednesday, July 27, 2011

"com.apple.transporter.util.StreamUtil.readBytes" error while submitting iPhone apps from Xcode

My environment:  Xcode 4.1, iOS SDK 4.3, Lion


I am working on my first iPhone apps and when I tried to submit the iPhone apps after validation success, the following error is shown:


“com.apple.transporter.util.StreamUtil.readBytes(Ljava/io/InputStream;)[B”


Good thing is I am not alone, the workaround is uninstall Xcode and reinstall again, that works for me.


sudo /Developer/Library/uninstall-devtools –mode=all


Now I am waiting for the app review and approval, can't wait to see my first app in app store!

Monday, July 25, 2011

Taking Screenshot on Cisco IP Phone and Cius

Try to access this link from your browser:

http://your-ip-phone-address/CGI/Screenshot

Enter your end user username and password, you will see the phone screenshot in your browser.

It is working for both IP phone and Cius.

Wednesday, July 20, 2011

Enable Video for CIPC on CME

My environment:  CME 8.6, IOS 15.1(4)M, CIPC 8.6.1, CUVA 2.2.2

It takes me some time to make the "broken line" in CUVA becomes connected again.  Try this if you have similar issue.

telephony-service
   service phone videoCapability 1

Sunday, July 17, 2011

Using PVDM3 for Video Switching - CME

My environment:  IOS 15.1(4)M, CME 8.6 on 3945

The configuration of video switching DSP farm is similar to the voice conference DSP farm.  There are 2 different types of video conference, homogenous and heterogenous.  For homogenous, assuming the video codec and resolution for endpoints are the same.  For heterogenous, you can have different endpoints with different video codec and resolution.  In this post, I am trying to use 9971, 9951 with unified camera in a CME-only environment.

Since DSP farm can only registered to SCCP CME or UCM, telephony-service configuration needs to be done to allow the video conferencing dspfarm registered to it.  You need AT LEAST ONE SCCP PHONE to initiate the conference ad-hoc or meet-me conference.

1.  voice-card 0 configuration, the new dsp-reservation command reserves a certain portion of DSP for voice.  dsp-reservation 0 means all DSP will be used for video.


voice-card 0
 voice-service dsp-reservation 0
 dsp services dspfarm

2. voice-service voip configuration, allow sip and h323 interwork and enable sip registrar

voice service voip
 allow-connections h323 to h323
 allow-connections h323 to sip
 allow-connections sip to h323
 allow-connections sip to sip
 fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
 sip
  registrar server

3. SIP CME configuration, remember to enable unified camera and video, either globally or per phone.

voice register global
 mode cme
 source-address 192.168.24.11 port 5060
 bandwidth video tias-modifier 1024000 negotiate end-to-end
 max-dn 100
 max-pool 100
 tftp-path flash:
 create profile sync 0000519212952386
 camera
 video
!
voice register dn  1
 number 2001
!
voice register dn  2
 number 2002
!
voice register dn  3
 number 2003
!
voice register pool  1
 id mac ACA0.166F.D863
 type 9971
 number 1 dn 1
 camera
 video
!
voice register pool  2
 id mac ACA0.16FC.ED7F
 type 9971
 number 1 dn 2
 camera
 video
!
voice register pool  3
 id mac 9CAF.CAFF.9ABE
 type 9951
 number 1 dn 3
 camera
 video

4. Homogenous video conference DSP farm configuration

sccp local GigabitEthernet0/0

sccp ccm 192.168.24.11 identifier 1 priority 1 version 7.0 
sccp
!
sccp ccm group 1
 associate ccm 1 priority 1
 associate profile 2 register VBRIDGE

!
dspfarm profile 2 conference video homogeneous
 codec g722-64
 codec g711ulaw
 codec h264 vga frame-rate 30 bitrate 1mbps
 maximum sessions 3
 associate application SCCP

5. Telephony-service configuration

telephony-service
 sdspfarm units 10
 sdspfarm tag 2 VBRIDGE
 conference hardware
 video
  maximum bit-rate 1024000
 max-ephones 100
 max-dn 100
 ip source-address 192.168.24.11 port 2000
 cnf-file location flash:
 max-conferences 154 gain -6
 transfer-system full-consult
 create cnf-files version-stamp 7960 Jul 15 2011 15:25:15

6. Create ephone-template and apply it to the ephone who wants to initiate meetme conference

ephone-template  1
 conference admin
 softkeys hold  Join Newcall Resume Select
 softkeys idle  ConfList Gpickup Join Login Newcall Pickup Redial RmLstC
 softkeys seized  Redial Endcall Cfwdall Pickup Gpickup Callback Meetme
 softkeys connected  Hold Trnsfer Park Endcall Confrn ConfList Join Select RmLstC

7.  Create ad-hoc video and meetme video ephone-dn 

ephone-dn  10  octo-line
 number 3333
 conference ad-hoc video
 preference 1
 no huntstop
!
!
ephone-dn  11  octo-line
 number 3334
 conference meetme video
 preference 1
 no huntstop

8.  Try to initiate a meetme video conference from the SCCP phone, the let the 9971 phones call in the meetme number.  It will work.  I don't have enough PVDM3 for heterogenous video conference therefore I didn't try the ad-hoc video conference, if you have tried it and it works, feel free to share with me your result.  :)

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