See this thread, you can take the code snippet from there as is and use it
making a phone call w/o quitting an appication
Keep in mind that it's possible only from iOS 3.1. If you targeting iOS 3.0 there is no way not to quit the application.
NSString *callString = [NSString stringWithFormat:@"tel:%@", @"412-33-44-55"];
NSURL *url= [NSURL URLWithString:callString];
NSString *osVersion = [[UIDevice currentDevice] systemVersion];
if ([osVersion compare: @"3.1" options: NSNumericSearch] >= NSOrderedSame ) {
UIWebView *webview = [[UIWebView alloc] initWithFrame:[callButton frame]];
webview.alpha = 0.0;
[webview loadRequest:[NSURLRequest requestWithURL:url]];
// Assume we are in a view controller and have access to self.view
[self.view insertSubview:webview belowSubview:callButton];
[webview release];
}
else {
// On 3.0 and below, dial as usual
NSString * s = [NSString stringWithFormat:@"tel://%@",@"412-33-44-55"];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:s]];
}