| | |
| | | // [NSNotificationCenter.defaultCenter remo]; |
| | | } |
| | | |
| | | -(void)login:(NSString*)username password:(NSString*)pwd domain:(NSString*) domain{ |
| | | [HDLLinphoneManager.instance login:username password:pwd domain:domain]; |
| | | //-(void)login:(NSString*)username password:(NSString*)pwd domain:(NSString*) domain{ |
| | | // [HDLLinphoneManager.instance login:username password:pwd domain:domain]; |
| | | //} |
| | | |
| | | -(void)login:(NSString*)username password:(NSString*)pwd domain:(NSString*) domain connectType:(NSString*)connectType{ |
| | | [HDLLinphoneManager.instance login:username password:pwd domain:domain connectType:connectType]; |
| | | } |
| | | |
| | | - (void)registrationUpdate:(NSNotification *)notif { |
| | |
| | | [self toLinphoneIntercomVC:titleName deviceType:HDLLPType_HDLSR userName:username]; |
| | | } |
| | | |
| | | -(void)hideIntercomeVC{ |
| | | if ([[HDLLinPhoneCommon topMostController] isKindOfClass:[HDLLinphoneIntercomVC class]]) { |
| | | [[HDLLinPhoneCommon topMostController] dismissViewControllerAnimated:YES completion:^{ |
| | | |
| | | }]; |
| | | } |
| | | } |
| | | |
| | | -(void)toLinphoneIntercomVC:(NSString*)titleName deviceType:(HDLLPType)deviceType userName:(NSString *)userName{ |
| | | HDLLinphoneIntercomVC *vc=[[HDLLinphoneIntercomVC alloc]init]; |
| | | // vc.CallId=callId; |