ABTO Software VoIP SIP SDK for iphone Developer Manual



Similar documents
3COM VCX PBX Server VoIP Intercom Setup Guide

Manual. ABTO Software

1 VoIP/PBX Axxess Server

OpenTouch Conversation for iphone Release 2.1

Using Avaya Flare Experience for Windows

VoipSwitch softphones

SIP Trunking using Optimum Business SIP Trunk Adaptor and the Allworx 6x IP PBX

Direct IP Calls. Quick IP Call Mode

Mobile Softphone. Mobile softphones. iphone mobile softphone

OpenTouch Conversation for iphone Release 2.0.x

Contents. Cbeyond Communicator for Mobile (ios) extends TotalCloud Phone System (TCPS) calling capabilities to an iphone.

A Guide to Connecting to FreePBX

ipecs Communicator Installation and Operation Guide Please read this manual carefully before operating your set. Retain it for future reference.

Nokia E65 Internet calls

Fonality. Optimum Business Trunking and the Fonality Trixbox Pro IP PBX Standard Edition V p13 Configuration Guide

PortGo 6.0 for Wndows User Guide

8x8 Virtual Office Mobile User Guide for ios

VMobile Talk User Guide

Integrating a Hitachi IP5000 Wireless IP Phone

Digium Switchvox AA65 PBX Configuration

MTS Hosted Unified Business Mobile Communicator iphone User Guide

Release Notes for NeoGate TA410/TA X

To configure a Virtual SIP Server

Cisco Unified Communications Manager SIP Trunk Configuration Guide for the VIP-821, VIP-822 and VIP-824

Polycom RealPresence Mobile for Apple ipad

Intermedia Cloud Softphone. User Guide

IP Telephony. United Nations Office at Geneva

ADTVision (ios) Mobile Client Software User Manual (V1.6)

SIP Trunking using Optimum Business SIP Trunk Adaptor and the Cisco Call Manager Express Version 8.5

OfficeServ 7100 IP-PBX. SIP Trunking using the Optimum Business Sip Trunk Adaptor and the Samsung

Connecting with Vonage

VoIP Ceiling Speaker with Allworx 6x Server Setup Guide

Cloud Voice Service Cisco Unified IP Phone 6921 User Guide. (Version 1.0)

Q-Cam Professional V 1.1 User Manual

VoIP Intercom and Cisco Call Manager Server Setup Guide

RCS - Overview. Rich Communication Suite

Kerio Operator. User Guide. Kerio Technologies

Mobile i-phonenet User Guide iphone

Cisco Unified Communications Manager SIP Trunk Configuration Guide

P160S SIP Phone Quick User Guide

How To Use Cisco Jabber On Iphone Or Ipod

Polycom RealPresence Desktop for Windows

Configuring SIP Mobility for CounterPath Bria on the NetVanta 7100 and NetVanta UC Server Systems

Ultra-elegant Gigabit IP Phone

Wave 4.5. Wave ViewPoint Mobile 2.0. User Guide

Qsync Install Qsync utility Login the NAS The address is :8080 bfsteelinc.info:8080

Getting Started Guide for WebEx Hosts and Presenters. Scheduling a Meeting in Outlook

How to Configure the Avaya IP Office 6.1 for use with Integra Telecom SIP Solutions

IDIS Mobile ios. Operation Manual. Powered by

Fibaro Intercom for ipad

Optimum Business SIP Trunk Set-up Guide

Wireless VoIP Phone. Table of Contents. User s Manual

3CX PBX v12.5. SIP Trunking using the Optimum Business Sip Trunk Adaptor and the 3CX PBX v12.5

There are a couple of notes about this however: It is best to have the IP subnet that the VoIP device on be on the same subnet as the DXL Exchanges.

Avaya IP Office SIP Configuration Guide

Application Note. LifeSize Video Communications System and ShoreTel IP Phone System

Business VoIP Solution Training 04/2009

8x8 Virtual Office Mobile User Guide for ios

WorkTime UC Mobile Admin Guide

Acano Solution. Acano OS X Apps1.8 (build ) Release Notes. 19 November B

WE VoIP. User Manual

How to Config MTG1000B With T1 and Elastix

OpenTouch Conversation for Android Smartphone Release 2.1

ipad User Guide Release: 20 Document Revision: 01.01

ADITION ios Ad SDK Integration Guide for App Developers

VoIP Handset User Manual. Digital Voice Quality Business Grade Handset Easy Plug & Play

VoIPon Tel: +44 (0) Fax: +44 (0)

1. Open a web browser and navigate to:

Lync Quick Start Guide for MAC OS

EarthLink Business SIP Trunking. Switchvox SMB 5.5 & Adtran SIP Proxy Implementation Guide

FMC VoIP. User Manual. OfficeServ 7000

How to Configure MTG200 with FreePBX

VoIP Intercom with Allworx 6x Server Setup Guide

Customize Mobile Apps with MicroStrategy SDK: Custom Security, Plugins, and Extensions

DSX. AccessLine SIP Trunk Setup. February 27, 2013 Issue NEC Corporation of America 4 Forest Parkway, Shelton, CT 06484

Mobile i-phonenet User Guide Android

Avaya one-x Communicator User Reference

eggon SDK for ios 7 Integration Instructions

VoIP Services User Guide

Yealink VC Series Video Conferencing System Release Notes of Version 20

8x8 Virtual Office Mobile User Guide for iphone

UC Office for Smart Phone - iphone Edition

Motorola TEAM WS M Configuring Asterisk PBX Integration

Cisco WebEx Event Center on the Mac OS Getting Started. Join an Event. Schedule an Event. Start an Event. Connect to the Audio Conference

TEL 500. Voice Communications. Week 1 Write Up. Session Initiation Protocol Lab. Submitted To: Prof Ronny Bull. By: Sai Sharan Korvi

Voice over IP Phone Feature Guide

Cloud Voice Service. Cisco Unified IP Phone 7942G User Guide. (Version 1.0)

WE VoIP User Guide For OfficeServ 7000 Series

Polycom SoundPoint IP 650

IP PBX. SD Card Slot. FXO Ports. PBX WAN port. FXO Ports LED, RED means online

Hosted Phone System User Guide

IP Office 9.1. Avaya Radvision Installation Notes. Issue 07a - (02 July 2015)

Mobile VoIP Solution Development Proposal

Rev

DPH-140S SIP Phone Quick User Guide

OfficeSuite Simplicity Phone and System Features. General Settings. Phone status (Icon is i ) Time and date (The Settings icon is a wrench)

Cisco SPA302D Mobility Enhanced Cordless Handset

Transcription:

ABTO Software VoIP SIP SDK for iphone Developer Manual

Table of Contents INTRODUCTION... 3 RESTRICTIONS AND LIMITATIONS... 4 TECHNICAL BACKGROUND... 5 API 9 ABTO VOIP INTERFACE... 9 ABTO VOIP INTERFACE OBSERVER... 10 ABTO VOIP SESSION... 11 ABTO VOIP SESSION OBSERVER... 11 2013 ABTO Software VoIP SIP SDK www.voipsipsdk.com Skype: sales.abto.software 2

INTRODUCTION VoIP SIP SDK for iphone is a customizable solution to develop your own softphone for iphone and ipad devices. The softphone suits needs of most users and provides the following functionality: voice calls; video calls; several lines; switching between several cameras on the device; text chat; status update (presence); DTMF support; customizable; works good for ios 5 devices; works with most SIP servers, including ABTO Software s VoIP SIP Server and Asterisk; works great with most sip clients, including ABTO Software s VoIP SIP SDK for Windows. 2013 ABTO Software VoIP SIP SDK www.voipsipsdk.com Skype: sales.abto.software 3

RESTRICTIONS AND LIMITATIONS ios minimal version 5.0. Supported architectures: armv7 (ios Device) i386 (ios Device Simulator) The background mode does not work on ios Device Simulator. 2013 ABTO Software VoIP SIP SDK www.voipsipsdk.com Skype: sales.abto.software 4

TECHNICAL BACKGROUND ABTO Software s VoIP SIP SDK is provided as a framework. This means that it can be easily added into the X-code project by simply dragging AbtoSipClientWrapper.embeddedframework directory from the Finder window to the project navigator. No additional work is required. The framework folder name is "AbtoSipClientWrapper.embeddedframework". The embedded framework means that package contains some resources needed by framework itself. ABTO Software s VoIP SIP SDK is based on the event driven approaches. The UA (User Agent) application is supposed to handle events issued by the VoIP engine. There are two types of events: global events (e.g. connection status change) per session events (e.g. call state change) The entire SDK implements only two classes: AbtoVoipInterface AbtoVoipSession 2013 ABTO Software VoIP SIP SDK www.voipsipsdk.com Skype: sales.abto.software 5

Pic.1. Class diagram. AbtoVoipInterface is a namespace (class with no per instance methods) which implements global functions. The entire initialization is distributed in time (Pic. 2): basic initialization various global parameters settings final initialization 2013 ABTO Software VoIP SIP SDK www.voipsipsdk.com Skype: sales.abto.software 6

Client AbtoVoipInterface Initialize SetLocalPort SetSTUN... FinalizeConfiguration Pic. 2. Library initialization. Once the library is initialized You are ready to register on the SIP server. Registration is required to be able establish and accept calls. The registration and call flows are depicted on Pic. 3. 2013 ABTO Software VoIP SIP SDK www.voipsipsdk.com Skype: sales.abto.software 7

Client AbtoVoipInterface AbtoVoipSession LogInOnServer onconnectionstatuschange create (private) oninvite notify(ringing) answercall notify(callinprogress) hangupcall notify(hangedup) StartVoiceCall create(private) notify(dialing) notify(callinprogress) hangupcall notify(hangedup) Pic. 3. Registration and call handling. 2013 ABTO Software VoIP SIP SDK www.voipsipsdk.com Skype: sales.abto.software 8

API Abto VoIP Interface +(BOOL) abtoinitialize:(id <AbtoVoipInterfaceObserver>) observer This function should be called when application starts to initialize the framework. The client must provide global events observer (delegate) which conforms to class (protocol) AbtoVoipInterfaceObserver. +(BOOL) abtologinonserver:(nsstring*) address username:(nsstring*) login password:(nsstring*) passwd Register on SIP server. In this case default SIP port (5060) is used. Arguments: address SIP server IP (or host name) login client id passwd password Return value. +(BOOL) abtologinonserver:(nsstring*) address port:(nsstring*) port username:(nsstring*) login password:(nsstring*) passwd Register on SIP server. Arguments address SIP server IP (or host name) port srver port login client id passwd password Return value. +(BOOL) abtologout Unregister from SIP server. +(void)keepawake:(bool)enable Call this method to be able accept incoming calls while application is in background. Argument. enable YES enable background mode. NO disable. Call this method from UIApplication::applicationWillEnterForeground with enable equal YES to enable background mode. And from method UIApplication::applicationWillEnterForeground with enable equal NO to 2013 ABTO Software VoIP SIP SDK www.voipsipsdk.com Skype: sales.abto.software 9

disable. +(id <AbtoVoipSession>) abtostartvoicecall:(nsstring *) destination notify:(id<abtovoipsessionobserver>)observer; Start voice call. Arguments. destination observer Return value. remote party id (doesn't include @host) session event observer (delegate) which conforms with AbtoVoipSessionObserver class (protocol) +(id <AbtoVoipSession>)abtoStartVideoCall:(NSString *) destination notify:(id<abtovoipsessionobserver>)observer; Not yet supported. +(void)abtoclosesession:(id <AbtoVoipSession>)session Delete session object. Arguments: session active session to be closed Retun value +(void)abtoringbacktoneplayenable:(bool) enable Enable/disable playing ringback tone when calling to remote party. +(void)abtoringtoneplayenable:(bool) enable Enable/disable playing ringtone when calling to remote party. +(BOOL)abtoMuteSpeaker:(BOOL)mute Mute/unmute speaker. Abto VoIP Interface Observer The client should provide AbtoVoipInterfaceObserver instance to handle VoIP framework events. This object must implement the methods below: -(void)onnetworkevent:(abtonetworkevent)event Called on network event -(void)onconnectionstatuschange:(abtosipclientconnectionstatus)status Called when connection/registration status changed. 2013 ABTO Software VoIP SIP SDK www.voipsipsdk.com Skype: sales.abto.software 10

-(void)oninvite:(id <AbtoVoipSession>)session Called on incoming call. The AbtoVoipSession instance is passed as argument. On success return YES. Abto VoIP Session When the client is making or accepting a call the VoIP session object is instantiated. -(BOOL)answerCall Answer incoming call. -(BOOL)hangUpCall Hang up or reject call. -(BOOL)holdCall Put call on hold. -(BOOL)resumeCall Resume previously held call. -(void)setobserver:(id<abtovoipsessionobserver>)observer Before session becomes active (incoming call accepted or outgoing call started) client must provide session observer (delegate). -(NSString*)remotePartyNumber Get remote party number (id). -(AbtoVoipSessionType)type Get session type: voice or video. -(AbtoSessionState)state Get session state. Abto VoIP Session Observer To properly handle VoIP sesstion events UA application must provide class which inherits the AbtoVoipSessionObserver. Class (protocol). Required methods: 2013 ABTO Software VoIP SIP SDK www.voipsipsdk.com Skype: sales.abto.software 11

-(BOOL)notify:(AbtoSessionEvent)event; Called on every session status change. -(void)setsession:(id<abtovoipsession>)session Set session 2013 ABTO Software VoIP SIP SDK www.voipsipsdk.com Skype: sales.abto.software 12