Hi guys, i am trying to get the IMSI of N6630. I've searched samples on how to get it, fortunately, i've found one. But this code gives me some errors. Could you look at it and tell whats possibly wrong with this code. Thanks!

Here's the code for getting the imsi:
Code:
RTelServer iServer;
RMobilePhone iPhone;
RMobilePhone::TMobilePhoneSubscriberId imsi;
TRequestStatus iImsiStatus;
RTelServer::TPhoneInfo info;
User::LeaveIfError(iServer.Connect());
CleanupClosePushL(iServer);
User::LeaveIfError(iServer.GetPhoneInfo(0, info));
User::LeaveIfError(iPhone.Open(iServer, info.iName));
CleanupClosePushL(iPhone);
iPhone.GetSubscriberId(iImsiStatus, imsi);
User::WaitForRequest(iImsiStatus);
iImsi.Copy(imsi);
iPhone.Close();
CleanupStack::PopAndDestroy(&iPhone);
iServer.Close();
CleanupStack::PopAndDestroy(&iServer);
The highlighted lines gives an error of:
`imsi undeclared(first use this function)
`TMobilePhoneSubriberId' is not a member of type `RMobilePhone'
confused by earlier errors, bailing out
parse error before `;'
Thanks guys for helping!