Jabber Click to Dial via Cisco IP Phone not enabled - How to ?
After installing Jabber for WIN i would like to know how i can enable "click to dial" for my desktop Cisco IP Phone ? With Webex connect this is working well but not with jabber currently and i can´t find the place to configure...please help...
Hi Tom,
Are you not able to click to dial from contact list? When you hover over a contact, do you see phone icon?
Thanks,
Maqsood
Similar Messages
-
CME SIP issue - Cisco 7821 phone not registering
Hi
I am having issues with getting a Cisco 7821 phone to register.
Current deployment is with Cisco 6921 phones SCCP registration
SIP integration with CUE
SIP integration with Mitel system
c2951-universalk9-mz.SPA.154-3.M1.bin (CME 10.5)
In flash:
rootfs78xx.10-1-1SR1-4.sbn
kern78xx.10-1-1SR1-4.sbn
sboot78xx.10-1-1SR1-4.sbn
sip78xx.10-1-1SR1-4.loads
The 7821 phone gets IP address but fails to register. Please could somebody let me know why phone is not registering.
Configuration below (10.245.226.132 is CME address) .
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 pass-through g711ulaw
modem passthrough nse codec g711ulaw redundancy maximum-sessions 5
h323
sip
registrar server expires max 600 min 60
options-ping 90
voice class codec 1
codec preference 1 g711alaw
codec preference 2 g711ulaw
codec preference 3 g729r8
voice register global
mode cme
source-address 10.245.226.132 port 5060
max-dn 30
max-pool 10
load 7821 sip78xx.10-1-1SR1-4
authenticate register
authenticate realm all
timezone 22
date-format D/M/Y
voicemail 590
tftp-path flash:
create profile sync 0061443538560005
network-locale GB
voice register dn 1
number 1010
name user1
label user1
mwi
voice register pool 1
busy-trigger-per-button 2
id mac F09E.636E.63F2
type 7821
number 1 dn 1
presence call-list
dtmf-relay rtp-nte
username 1010 password 123
codec g711ulaw
no vad
dial-peer voice 391 voip
description *** Auto Attendant ***
destination-pattern 399
session protocol sipv2
session target ipv4:10.245.226.131
dtmf-relay sip-notify
codec g711ulaw
no vad
dial-peer voice 392 voip
description *** Administration Via Telephone ***
destination-pattern 392
session protocol sipv2
session target ipv4:10.245.226.131
dtmf-relay sip-notify
codec g711ulaw
no vad
dial-peer voice 393 voip
description *** Extension Assigner ***
service ea out-bound
destination-pattern 393
session target ipv4:10.245.226.132
dial-peer voice 590 voip
description *** Voice Mail Pilot ***
destination-pattern 590
b2bua
session protocol sipv2
session target ipv4:10.245.226.131
dtmf-relay sip-notify
codec g711ulaw
no vad
dial-peer voice 1 pots
description ** Match all incoming POTS calls **
translation-profile incoming IncomingPSTNcalls
incoming called-number .
direct-inward-dial
dial-peer voice 899 voip
description Call to Mitel
translation-profile incoming Prefix9
translation-profile outgoing rem44
destination-pattern [23]..
session protocol sipv2
session target ipv4:192.168.114.2
voice-class codec 1
dtmf-relay rtp-nte
no vad
interface GigabitEthernet0/0
description *** Connection to Mitel Phone System ***
ip address 192.168.114.5 255.255.255.248
duplex auto
speed auto
interface ISM0/0
description *** Connection to Cisco Unity Express ***
ip unnumbered GigabitEthernet0/1
service-module ip address 10.245.226.131 255.255.255.128
!Application: CUE Running on ISM
service-module ip default-gateway 10.245.226.132
interface GigabitEthernet0/1
description *** Connection to IP Phone LAN ***
ip address 10.245.226.132 255.255.255.128
duplex auto
speed auto
ip http server
ip http authentication local
ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
ip http path flash:
ip route 0.0.0.0 0.0.0.0 10.245.226.129
ip route 10.245.226.131 255.255.2
tftp-server flash:apps37sccp.1-4-4-0.bin
tftp-server flash:sip78xx.10-1-1SR1-4.loads
tftp-server flash:rootfs78xx.10-1-1SR1-4.sbn
tftp-server flash:sboot78xx.10-1-1SR1-4.sbn
sip-ua
mwi-server ipv4:10.245.226.131 expires 3600 port 5060 transport udp
registrar ipv4:10.245.226.132 expires 600
gatekeeper
shutdown
telephony-service
authentication credential cmeadmin c4p1ta2012
xml user xmladmin password xmladmin 15
extension-assigner tag-type provision-tag
max-ephones 104
max-dn 299
ip source-address 10.245.226.132 port 2000
auto assign 101 to 105
no service directed-pickup
timeouts interdigit 5
system message CFGS
url services http://10.245.226.131/voiceview/common/login.do
url authentication http://10.245.226.132/CCMCIP/authenticate.asp
cnf-file location flash:
cnf-file perphone
load 7931 SCCP31.9-2-1S
load 6921 SCCP69xx.9-2-1-0
time-zone 22
date-format dd-mm-yy
voicemail 590
max-conferences 8 gain -6
call-forward pattern .T
moh enable-g711 "music-on-hold.au"
web admin system name cmeadmin secret 5 $1$QmIK$46fDKVSudMxzI2bRp/Ef7/
time-webedit
transfer-system full-consult
transfer-pattern .T
secondary-dialtone 9
create cnf-files version-stamp Jan 01 2002 00:00:00
ephone-dn 298
number 598...
mwi on
ephone-dn 299
number 599...
mwi offPage 7 of the following link recommends that you use option 150 with the Cisco 7800 series phones and use option 66 if you cannot use option 150
http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cuipph/7821_7841_7861/10_1/english/admin_guide/PA2D_BK_AB3F74DA_00_admin-7821-7841-7861-10_0/PA2D_BK_AB3F74DA_00_admin-7821-7841-7861-10_0_chapter_01.pdf
Dynamic Host Configuration Protocol (DHCP)
DHCP dynamically allocates and assigns an IP address to network devices.
DHCP enables you to connect an IP phone into the network and have the phone become operational without your needing to manually assign an IP address or to configure additional network parameters.
DHCP is enabled by default. If disabled, you must manually configure the IP address, subnet mask, gateway, and a TFTP server on each phone locally.
Cisco recommends that you use DHCP custom option 150. With this method, you configure the TFTP server IP address as the option value. For additional supported DHCP configurations, go to the "Dynamic Host Configuration Protocol" chapter and the "Cisco TFTP" chapter in the Cisco Unified Communications Manager System Guide.
Note
If you cannot use option 150, you may try using DHCP option 66. -
Connect via RDP option is not enabled for some VM's on the same Hyper-V Host
Hi. I have many virtual machines on a Hyper-V host being managed via System Center Virtual Machine Manager 2012. When you right click on a virtual machine - Connect or View - Connect via Console is enabled, but Connect via RDP is not enabled for
most but not all of the machines. Is there a setting on the Hyper-V host that I need to modify to enable Connect via RDP for all of my VM's? All of the virtual machines have the same configuration meaning that Remote Desktop is enabled for all
of them on the OS itself.Hi Debabrata,
In App Controller the console access is provided by an ActiveX control and this requires the client (web browser) to connect directly to the Hyper-V server. As you note, for this to work over the internet would require the Hyper-V host to be accessible from
the internet, and this is not a recommended security practice.
Publishing App Controller as a Remote App avoids needing to make the Hyper-V host accessible to the internet. I'm not an expert in setting up Remote App and don't have an answer about how to avoid doing 2 lots of authentication. The
Remote Desktop Services forum is likely to be a better place to ask a question on setting up Remote Apps.
Let me know what you need help with for the Remote Console in Windows Azure Pack option. There is also a forum for
Azure Pack and two of our MVPs who do have console connect working have both written articles that describe their experience.
http://kristiannese.blogspot.com/2014/02/configuring-remote-console-for-windows.html
http://www.hyper-v.nu/archives/mvaneijk/2014/01/windows-azure-pack-remote-console-with-the-rd-gateway-in-a-dmz/
Regards,
Richard
This posting is provided "AS IS" with no warranties, and confers no rights. -
802.1x problem with non-Cisco IP Phone, VVID enabled.
I am testing with a 3750 PoE switch running 12.2(25)SEE1 and trying to configure 802.1x to work with Mitel IP phones.
I have voice and data vlans configured on each port. Turning on 802.1x causes the phone to hang and timeout in DHCP Discovery. The port status from the switch is "Unauthorized".
interface FastEthernet1/0/2
switchport access vlan 1
switchport mode access
switchport voice vlan 2
dot1x pae authenticator
dot1x port-control auto
no mdix auto
spanning-tree portfast
end
Should anything be configured besides the Voice VLAN to let phones onto the network? There is no computer behind the phone right now. The only information I can find says I need a VVID, and any clients behind it will cross the PVID.
Thanks.Yes it does.
Apparently the Mitel phones (testing a 5215 dual-mode) we have support EAP-MD5, but we have a primarily PEAP/EAP-TTLS environment. Apparently the phones need to use a username/password entered on each phone before they will send that to a Radius server doing EAP-MD5. Our PEAP clients authenticate to a Microsoft Radius server, and our EAP-TTLS to a Funk box. Hopefully the Microsoft can support both EAP-MD5 phones and PEAP on the laptops, I'll have to find out.
I was hoping this was a quick and easy Cisco configuration error... oh well. -
i have an iPhone 4S 64GB. The screen went blank. Screenshots done manually then accessed from the
filesystem are found to be 768x576. New screen - still blank. Can't unlock the phone - can only access
filesystem on computers that previously synced with it.
iOS has done quite a good job of adapting to the 'new' resolution, but my phone is now useless. I can't
unlock it because i guess iOS is strectching the screen beyond the touchscreen sensor.
Any ideas what might be wrong - I could get an iphone repair shop to put a new screen connector in if
that could be the problem (the could reball the sound DSP chip at the same time as that has failed;
nothing some tape over the top mic can't fix but would rather not have to do that. I won't return to apple
as they would just replace the motherboard (more likely the whole phone) and I would lose all my text
messages, apps, and so on. Some apps are no longer on the app store either.
Thank you for any advice - particularly as to why iOS is detecting a screen size that doesn't exist on
any iOS device, and presumably this is at least one reason for the 'blank' screen (backlight works
but screen is black). All the usual tricks like hard reset make no difference.
Thank you!Thank you for your useful reply - it has solved the problem that my phone was running in
an unsupported display mode that no iOS device ever made has run in!
My laptop is also not user serviceable, but it seems to be running an nVidia card two
generations ahead of the one it was made for, due to a BIOS modification.
My MacBook Pro on the other hand definitely hasn't been taken apart, but at least it
is the non-Retina one (I had the choice of both), and has the latest specs, and yet in
the future will be user-servicable (e.g. replace battery on a Retina MacBook, or even
replace the touchpad - will be an (impossible) nightmare! -
Upgraded phone not delviered, how do I contact you?
I upgraded my phone with you online yesterday and received a text message advising my phone would be delivered today betweed 10.19 and 11.19 to my work address. So far nothing has turned up and I cannot see anywhere on your website to track my order or any contact number to call you...please advise
See my signature or click on contact us.
-
HT1212 Phone not enabled but I forgot my pass code
I forgot I four digit passcode on one of my iPhones need to figure out how to clear Pascode
The phone is not totally disabled yet just keeps saying entered passcode I know if I enter it more then 10 times it will disable my device
I need to know what to do to on lock my other iPhoneLocked Out, Forgot Lock or Restrictions Passcode, or Need to Restore Your Device
1. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
2. iOS- Forgotten passcode or device disabled after entering wrong passcode
3. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
4. iOS- Understanding passcodes
5. What to Do If You've Forgotten Your iPhone's Passcode
6. How to Recover Forgotten iPhone Restrictions Passcode | The iPhone and iPad
7. Restoring iPod touch after forgotten passcode
8. RecBoot: Easy Way to Put iPhone into Recovery Mode - if all else fails.
Forgotten Restrictions Passcode Help
1. How to Recover Forgotten iPhone, iPad Restrictions Passcode
If this method does not work, then you will need to fully Restore your
device as New
Also, see iTunes- Restoring iOS software. -
new tab is not working properly.ie.,i can not open new tabs in firefox.
Uninstall the Ask toolbar and it should work again. There is a compatibility issue with the Ask toolbar and Firefox that prevents new tabs from being opened.
-
Cisco 877 router - Cisco IP phone won't register with SIP provider
Hi all,
I'm having a problem with a Cisco SPA504G phone not registering with the SIP carrier over the Internet. We've recently rolled out a Cisco 877 router onto a new NBN business connection and can't get the pre-configured IP phone to register.
When we tested the phone with the NBN-provided Netgear router, it worked fine, as it did with the previous Cisco 1841 router we were using on a different link.
The way it's setup is using VLANs to define the internal subnets, which are then assigned to the physical interfaces (since the 887 doesn't allow IP assignments to the interfaces directly).
VLAN 100 is the internal network and has a SBS2011 server – assigned to F0 – IP range is 192.168.1.0
VLAN 200 is the guest network and has Internet access only – assigned to F1 – IP range is 10.1.1.0
VLAN 500 is the WAN network and connects to the NBN upstream box – assigned to F3 – external IP address assigned by DHCP
I've been playing around with access lists, nat rules, basically everything in my limited Cisco knowledge to try and figure this out, but to no avail. I have even configured what I believe is unrestricted access to IP, UDP and TCP outbound and inbound to all VLANs and still can't get it to register.
Tried isolating the issue by creating a new VLAN and assigning it to the spare interface and basically allowing everything in and out, but still no luck.
The problem has to be something on the router – probably some small line of config I haven’t removed or added.
I am going to pull my hair out soon, so would really appreciate some assistance from the Cisco gurus out there.
My client has just purchased about 10 of these handsets from their provider so I need to fix this ASAP. The guy who provided them wasn't very helpful, and basically said I'm on my own once we tested using the NBN-provided Netgear router.
Happy to post my config as well.
Please help!!!!Current configuration : 4912 bytes
version 15.1
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
hostname Router1
boot-start-marker
boot-end-marker
no aaa new-model
memory-size iomem 10
crypto pki token default removal timeout 0
no ip source-route
ip dhcp excluded-address 10.1.1.1
ip dhcp pool GUEST
network 10.1.1.0 255.255.255.0
dns-server 10.1.1.1 203.50.2.71 139.130.4.4
default-router 10.1.1.1
ip cef
no ip domain lookup
ip domain name network.local
ip name-server 192.168.1.123
ip name-server 203.23.53.12
ip name-server 197.12.32.86
ip name-server 8.8.8.8
no ipv6 cef
license udi pid CISCO887VA-K9 sn FGL171220XY
username admin privilege 15 secret 5 $1$aNsm$N1BCQYkoi8gnURyvloYEX/
controller VDSL 0
interface Ethernet0
no ip address
shutdown
interface ATM0
no ip address
no atm ilmi-keepalive
bridge-group 10
pvc 8/35
interface FastEthernet0
description NAC - Internal network
switchport access vlan 100
no ip address
interface FastEthernet1
description NAC - Guest network
switchport access vlan 200
no ip address
interface FastEthernet2
no ip address
shutdown
interface FastEthernet3
description **** WAN Port ****
switchport access vlan 500
no ip address
interface Vlan1
no ip address
bridge-group 10
hold-queue 100 out
interface Vlan100
description NAC - Internal Vlan
ip address 192.168.1.1 255.255.255.0
ip access-group IN-100 in
ip access-group OUT-100 out
ip nat inside
ip virtual-reassembly in
interface Vlan200
description NAC - Guest Vlan
ip address 10.1.1.1 255.255.255.0
ip access-group IN-200 in
ip access-group OUT-200 out
ip nat inside
ip virtual-reassembly in
interface Vlan500
description **** WAN Vlan ****
ip address dhcp
ip nat outside
no ip virtual-reassembly in
no ip forward-protocol nd
ip http server
ip http access-class 23
ip http secure-server
ip dns server
ip nat inside source list NAT-100 interface Vlan500 overload
ip nat inside source list NAT-200 interface Vlan500 overload
ip nat inside source static tcp 192.168.1.123 25 interface Vlan500 25
ip nat inside source static tcp 192.168.1.123 443 interface Vlan500 443
ip nat inside source static tcp 192.168.1.123 3389 interface Vlan500 3399
ip nat inside source static tcp 192.168.1.123 80 interface Vlan500 80
ip nat inside source static tcp 192.168.1.123 4125 interface Vlan500 4125
ip nat inside source static tcp 192.168.1.124 3389 interface Vlan500 3390
ip nat inside source static tcp 192.168.1.123 987 interface Vlan500 987
ip nat inside source static tcp 192.168.1.123 1723 interface Vlan500 1723
ip route 0.0.0.0 0.0.0.0 55.234.52.43
ip access-list extended IN-100
permit udp any any range bootps bootpc
deny ip 10.1.1.0 0.0.0.255 any
permit ip 192.168.1.0 0.0.0.255 any
ip access-list extended IN-200
permit udp any any range bootps bootpc
permit ip 10.1.1.0 0.0.0.255 any
ip access-list extended NAT-100
deny ip 192.168.0.0 0.0.255.255 192.168.0.0 0.0.255.255
permit ip 192.168.1.0 0.0.0.255 any
ip access-list extended NAT-200
deny ip 10.1.0.0 0.0.255.255 10.1.0.0 0.0.255.255
permit ip 10.1.1.0 0.0.0.255 any
ip access-list extended OUT-100
permit udp any range bootps bootpc any
deny ip 10.1.1.0 0.0.0.255 any
permit ip any 192.168.1.0 0.0.0.255
ip access-list extended OUT-200
permit udp any range bootps bootpc any
deny ip 10.1.1.0 0.0.0.255 192.168.1.0 0.0.0.255
permit ip any 10.1.1.0 0.0.0.255
access-list 23 permit 59.23.164.52
access-list 23 permit 192.168.1.0 0.0.0.255
access-list 23 permit 10.1.1.0 0.0.0.255
access-list 23 permit 120.146.0.0 0.0.255.255
access-list 23 permit 149.185.12.0 0.0.0.255
access-list 23 permit 110.44.28.0 0.0.0.255
access-list 23 permit 110.44.26.0 0.0.0.255
access-list 23 permit 103.25.212.0 0.0.0.255
access-list 23 permit any
bridge 10 protocol ieee
banner motd ^C
* Authorized personnel only! *
^C
line con 0
login local
no modem enable
line aux 0
line vty 0 4
password password01
login local
transport input all
end -
AnyConnect for Cisco VPN Phone demo license
I want to test VPN Phone in the ASA5520,but "show ver" find the "AnyConnect for Cisco VPN Phone : Disabled", www.cisco.com/go/license i didn't find register AnyConnect for Cisco VPN Phone demo license, how to apply for the demo license??
Licensed features for this platform:
Maximum Physical Interfaces : Unlimited
Maximum VLANs : 150
Inside Hosts : Unlimited
Failover : Active/Active
VPN-DES : Enabled
VPN-3DES-AES : Enabled
Security Contexts : 2
GTP/GPRS : Disabled
SSL VPN Peers : 2
Total VPN Peers : 750
Shared License : Disabled
AnyConnect for Mobile : Disabled
AnyConnect for Cisco VPN Phone : Disabled
AnyConnect Essentials : Disabled
Advanced Endpoint Assessment : Disabled
UC Phone Proxy Sessions : 2
Total UC Proxy Sessions : 2
Botnet Traffic Filter : Disabled
This platform has an ASA 5520 VPN Plus license.Hi there,
Did you try
https://tools.cisco.com/SWIFT/LicensingUI/loadDemoLicensee?FormId=717
Cheers!
Rob
"Why not help one another on the way" - Bob Marley -
Transfer VOIP Calls Between Cisco Desk Phone and Cisco Jabber For IPhone 9.5
Does anyone know how to transfer an active voip call from a Cisco IP Desk Phone to Cisco Jabber for IPhone? I can transfer a call from Cisco Jabber for IPhone to my Cisco IP Desk Phone no problem. I put the call on hold and then click "Resume" on my Cisco IP Desk Phone. However I cannot do the same but the other way around. If I put the call on hold on my Cisco IP Desk Phone, I see "no active call" on my Jabber client. The only information I could find slighlty relevant was using the Mobility Key/Remote Destination Profile feature however this defeats the object as this will forward to an external number, e.g. mobile and I just want to transfer the call within the VOIP environment between the two devices that are using the same directory number.
I am using Cisco Call Manager 9.1(2), Cisco Presence 9.1 and Cisco Jabber for IPhone 9.5.
Any help would be greatly appreciated.
Kind Regards,
Paul Parker.Did you ever find an answer to this ?
I am seeing the same behavior and trying so see if I can put calls on hold and pick them up both ways also.
The only answer I seem to have found is to use park instead
That would/should work but I would just prefer to hold/unhold
Just not sure why we would not be able to hold/unhold on what is essentially a "shared" line
Does anyone have this working for them ? -
How can I connect a Cisco 7940 phone to a trixbox via SIP
how can I connect a Cisco 7940 phone and CIsco 7970 to a trixbox via SIP
...by configuring the trixbox according to the required configuration and changing your firmware on the phones to SIP{
=============================
Please remember to rate useful posts, by clicking on the stars below.
============================= -
Jabber client's click to dial feature is not working for Windows 7 Proffessional OS
Hi,
Currently running UCM 9.x and CUP 9.x. There is no AD intigration for UCM.
Problem i am facing is that the Jabber client is working properly for Click to dial feature on Windows 7 enterprise OS and it is not on Windows 7
Professional OS.
The Jabber client which is logged on to Windows 7 enterprise OS, works
fine but if same user can logged on to the Windows 7 Professional OS will
not work click to dial.
Please help us to resolve it.
Thanks & Regards,
KrishnaHi John,
Thanks for your reply but I can't see the option to reach the "deployment" perspective. Its not available for me.
Btw, I'm using SAP NetWeaver 7.1 Composition Environment SP12 PAT0000 Build id: 201105061501.
Also, I have checked a few SDN posts about using the "undeploy" tool after connecting using telnet, but I can't use that method too as telnet ports are blocked by firewall. We use different method to connect to the OS, if required.
Any other suggestions?
Thanks,
Deoraj. -
You can configure Speed Dial using your Cisco IP Phone
You can configure Speed Dial using your Cisco IP Phone
Please check the video: http://youtu.be/ue7gyRj8n9w
For more information please mail to [email protected]I think that eventually these darn things just break - at least that's my experience. Does anyone know of a cool quick fix for a stand that won't stand.
Thanks!
This topic first appeared in the Spiceworks Community -
Speed dial migration of each phone from cisco callmanager 4.1 to cisco callmanager 7.1
Can anyone enlighten me how to backup all the speed dial list of each phone from 4.1 callmanager to 7.1 callmanager ?
Hi Alan,
The only other way that I can think of would be to use a BAT Export from 4.x
and then BAT Import into 7.x. The header fields won't match exactly between
the old/new versions of BAT, so some re-jigging will be required
http://www.cisco.com/en/US/docs/voice_ip_comm/cucm/bat/5_0_4/t03phexp.html
Cheers!
Rob
Maybe you are looking for
-
Error processing in non BPM sync process
I've created a sync non BPM process which is working fine. Data comes from several terminals via HTTP. My scenario is HTTP=>XI=>RFC On the sending side, I use ABAP mapping or parser. I'm using this since I have to check some table data based on plant
-
Different between LEAVE SCREEN & SET SCREEN 0
Hi there, I have a program where I have the main screen and another one. to call the secondary screen I used CALL SCREEN 0200. However I have doubt when I'm executing the BACK. I don't know the different between SET SCREEN 0. and LEAVE SCREEN 0100. w
-
Display foreign currency valuation run
Hi, We had executed the foreign currency valuation run (Tcode FAGL_FC_VAL) for the previous month. How can i see the display of the log/ report for that run again? I want to see if some GL were picked up for valuation or not Thanks
-
Need to upgrade service providers of Moss 2007 to SharePoint 2013
I have upgraded the Moss 2007 Content database via native approach into SharePoint 2013. I am wondering how we can upgrade the service providers of Moss 2007 to SharePoint 2013 service applications. Regards Restless Spirit
-
StringIndexOutOfBoundsException error while convering char to string
I am getting the following error could someone please help. thanks. java.lang.StringIndexOutOfBoundsException: String index out of range: 0 the error is on line : char a = middleinitial.trim().charAt(0); following is my code: if (!fname.equals("") &&