Skip to content

Instantly share code, notes, and snippets.

@divyen
Created September 9, 2013 22:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save divyen/6502336 to your computer and use it in GitHub Desktop.
Save divyen/6502336 to your computer and use it in GitHub Desktop.
Cisco Jabber URI in iOS Apps
- (IBAction)jabberCall:(id)sender
{
BOOL installed = [[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@"ciscojabber://"]];
if(installed)
{
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"ciscojabber://call?address=DirectoryNumber@CUCM-Server&type=4"]];
}
else
{
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"itms-apps://itunes.apple.com/us/app/cisco-jabber-for-ipad/id540243083?mt=8&uo=4"]];
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment