title: how to make voip calls using siri-kit iOS10
body: <p>I have added extension to app(as per apple documentation) but intent handler class is not responding with my commands. what i am missing don't no.Please help me ,How can i add siri to my app.</p>
  
  <pre><code> // reslove
  - (void)resolveContactsForStartAudioCall:(INStartAudioCallIntent *)intent
                            withCompletion:(void (^)(NSArray&lt;INPersonResolutionResult *&gt; *resolutionResults))completion{
      NSArray *contacts;
      NSArray * contacts1;
      INPersonResolutionResult* result = nil;
      if (contacts == intent.contacts) {
          for (INPerson *contact in contacts) {
  
         contacts1 = [self contactsMatchingName:contact.displayName];
              switch (contacts1.count) {
                  case 1:
                      result = [contacts objectAtIndex:0];
                      [INPersonResolutionResult successWithResolvedPerson:[contacts1 objectAtIndex:0]];
                      break;
                  case 0:
                      result = [INPersonResolutionResult unsupported];
                      break;
                  default:
                      result  = [ INPersonResolutionResult disambiguationWithPeopleToDisambiguate:contacts1];
                      break;
              }
          }
          completion(contacts1);
      }else{
          result =  [INPersonResolutionResult needsValue];
      }
  
  
  }
  
  // confirmation method
  - (void)confirmStartAudioCall:(INStartAudioCallIntent *)intent
                     completion:(void (^)(INStartAudioCallIntentResponse *response))completion{
  
      INStartAudioCallIntentResponse *result = nil;
      if (![[NSUserDefaults standardUserDefaults]objectForKey:@"isSignedIn"]) {
          result = [[INStartAudioCallIntentResponse alloc]initWithCode:INStartAudioCallIntentResponseCodeReady userActivity:nil];
          completion(result);
      }else{
          NSUserActivity  *activity = [[NSUserActivity alloc]initWithActivityType:@"reLogin"];
          result = [[INStartAudioCallIntentResponse  alloc]initWithCode:INStartAudioCallIntentResponseCodeFailure userActivity:activity];
          completion(result);
      }
  }
  </code></pre>