SlideShare una empresa de Scribd logo
1 de 24
Descargar para leer sin conexión
VOICE OVER IP USING
NOKIA ASHA SOFTWARE PLATFORM 1.1 (BETA)

Dalbir S Dahiya
Engineering Manager
Nokia Asha Developer Platform
Dalbir.dahiya@nokia.com
CONTENTS
•
•
•
•

•
•

Introduction to VOIP
VOIP Experience
Native VOIP
VOIP App using Java API
• Implementation Steps
• Basic VOIP APIs
• Call Setup Coding details
• Configuration
VOIP Example
Additional Information
NOKIA ASHA VOIP INTRODUCTION
Voice over IP (VOIP) uses the Internet Protocol (IP) to transmit voice as
packets over an IP network. Nokia Asha Platform uses Session Initiation
Protocol (SIP) protocol.
VOIP platform details:
• Protocols: SIP, RTP/RTCP, STUN
• Supports WiFi internet access
• Call features: Mobile Originating and Mobile
Terminating calls
• Hold/Retrieve
• Multi call support (one active, one held, one
waiting)
• Call forwarding
• DTMF support
NOKIA ASHA VOIP INTRODUCTION
VOIP platform capabilities:
• One media stream (audio) only is supported
• Speech codecs: AMR-WB/NB, G.711 u-law/a-law, G.729, G.726,
GSM-EFR/FR.
• Echo cancelation & Dynamic jitter buffer
• Secure call support (SIP TLS + SRTP)
• Network Aaddress Translation /Firewall travelsal: STUN support,
NAT keep alive, symmetric signaling/media
• Quality of Service: Media/Signalling QoS marking with
Differentiated Service Fields, Bandwidth negotiation, RTP CP
Extended Report VoIP metrics
• IPv4 and IPv6 in signaling.
• E.164 numbers
NOKIA ASHA VOIP INTRODUCTION
VOIP platform limitations:
• Multicast streams are not supported.
• Changing the port number/media type/transport
during a session is not supported in the
• Session establishment through two proxies.
• Successful session with proxy failure
• Session through a SIP ALG.
• Offer & Answer: A port number of zero is used to
reject offered media for MT sessions.
VOIP EXPERIENCE
VoIP is available both as natively integrated solution as well as via
Java API. Both utilise the same platform VoIP implementation
Native VoIP
•
•
•
•
•
•
•

Setting up via Accounts
Native Call UI experience
Native Phonebook integration
Native notifications integration
Native dialer integration
Native logs integration
Native fastlane integration

Java Application
• Seamless SIP setting
configuration
• Full control on the call UI
• Custom ringing tones
• All in-call features available
• Support for multiple calls
SETTING UP NATIVE VOIP CONFIGURATION

Accounts is a Nokia hosted FREE service that
can be accessed directly from the phone UI
over GPRS/WLAN connection.
From the Accounts end users can setup the
wanted VoIP providers to their handsets or
create their own manual VoIP settings.

Companies can host OTA SMS based
configuration systems which are OMA
CP compliant to their employes or
customers to setup VoIP to Asha
handset.

Small companies or individual users
can create OMA CP compliant VoIP
configuration documents and
configure them to the phone over
Bluetooth OBEX Push.
NATIVE VOIP SIMULATION SETUP
Asterisk Server Version
OS Version
Server IP Address
Total SIP Account Created
Usernames
Password
Extension Number’s

Emulator 11000,
SIP AC-1001/ext-6001

Emulator 11002,
SIP AC-1002/ext-6002

1.8.13.1
Ubuntu 13.04
192.168.1.100
40
1001-1040
password
6001-6040
NATIVE VOIP DEMO
VOIP APP USING JAVA API
VOIP IMPLEMENTATION ON NOKIA ASHA
•

•

•
•

Nokia Asha software platform 1.1 provides the actual
VoIP client engine implementation and the VoIP API
for 3rd party applications
Platform is taking care most of the actual VoIP
functionality, but it needs also the also the specific
VoIP settings from the given application and SIP
account.
The VoIP settings of each VoIP MIDlets are given in a
form of an XML file to the VoIP API.
VoIP settings, such as network, audio codec settings,
etc. can be left to their default values. Otherwise,
developer should use appropriate configuration for
the SIP server in use.
VOIP PACKAGE OVERVIEW
•
•

•

On Nokia Asha Platform 1.1, there is new Java package available:
• com.nokia.mid.voip
Principal classes in the package are as following:
• VoipManager
• VoipStates
• VoipCauses
Principal interfaces in the package are as following:
• VoipSettings
• VoipSettingsStateListener
• VoipAudioCall
• VoipSettingsStateListener
• VoipMTCallListener
MAKING VOIP CALL STEP I
•

In order to retrieve the VoIP settings and register with the VoiP server, read the
xml file from the resource/jar file and represent it as a String:

•

There is no build-in method for this so the developer needs to write his own. For
example a custom made function for reading the xml file:
MAKING VOIP CALL STEP II
•

•

Create a VoipSettings instance that is used for reading the VoIP settings from a String. When
the settings are written (with the build-in writeVoipSettings method), the client attempts to
use the settings as they have been provided by the developer to connect and register with
the VoIP server.
A VoipSettingsStateUpdated listener is used for listening for the status of the registration
attempt (whether the client is online, offline or a connection or registration error occurred):
MAKING VOIP CALL STEP III
•

A VoipAudioCall instance and a VoipAudioCallStateListener are used to establish a call and
listen for any call updates (call establishment, call termination, connection error). The
startCall method receives as argument a boolean that allows the calling MIDlet to send its
caller id to the remote party:
RECIEVING VOIP CALL I
•

When the MIDlet is running, A VoipMTCallListener is used for listening for any incoming calls:
RECEIVING CALL WHEN APP IS CLOSED
•

When the MIDlet is not running, the getAppProperty method is used from the instance that
extends the MIDlet class in order to retrieve the invocation reason (“arg-0”) and the caller id
(“arg-1”). The developers needs to control if the invocation reason is a valid incoming call
and then handle the incoming call as follows:
IMPLEMENTING VOIP FUNCTIONALITY

•

After obtaining a reference to a VoIP
Audio Call using VoipManager,
applications can use method
startCall() to initiate and outbound
call or to answer an incoming call
CONFIGURATION XML EXAMPLE
Java midlet config xml file can be
obtain from Asha SDK 1.1 example
application.
For TLS support, one need to do the
following changes to xml file:
1.

Turning SIPoTLS ON or OFF - to turn on
SIPoTLS following need to be changed
SECURECALLPREF <0,1,2>
1.if SIPoTLS and RTP used
2.if SIPoTLS and SRTP used
2. all sip: prefix need to be sips:
APROTOCOL <TCP/UDP)
PORTNBR as 5061
THE VOIP EXAMPLE
This example shows how to create a simple VoIP client MIDlet for making
internet calls over SIP protocol. It demonstrates the usage the VoIP API on Nokia
Asha software platform 1.1 and how to handle VoIP calls.
Pre-requisites:
1. Nokia IDE for Java ME with Java ME support
2. Nokia Asha SDK 1.1 - Beta
3. Two emulator instances
4. SIP Server running i.e. Asterisk SIP server at 192.168.1.100
5. Two SIP accounts i.e. 1001 with ext. 6001 & 1002 with ext. 6002
THE VOIP EXAMPLE DEMO
MORE INFORMATION
Overview
- http://developer.nokia.com/Develop/asha/java/start/
Downloads
- http://developer.nokia.com/Develop/asha/java/tools.xhtml
- http://projects.developer.nokia.com/LWUIT_for_Series_40
Guides
- Nokia Asha Design Guide: http://developer.nokia.com/Resources/Library/Asha_UI/
- Porting Guide: http://developer.nokia.com/Resources/Library/Porting_to_Nokia_Asha/
- Documentation: http://developer.nokia.com/Develop/asha/java/resources/docs/
- Training Videos: http://developer.nokia.com/Develop/asha/learning.xhtml
- Code Examples: http://developer.nokia.com/Develop/asha/java/resources/code/
THANK YOU.
QUESTIONS?
For more information:
https://developer.nokia.com/Develop/asha/learning.xhtml
BACKUP

Más contenido relacionado

La actualidad más candente

Avaya IP Office Overview
Avaya IP Office OverviewAvaya IP Office Overview
Avaya IP Office OverviewMotty Ben Atia
 
Advanced topologies for microsoft e learning shared by voip.com.vn
Advanced topologies for microsoft e learning shared by voip.com.vnAdvanced topologies for microsoft e learning shared by voip.com.vn
Advanced topologies for microsoft e learning shared by voip.com.vnTran Thanh
 
Ccvp plus module 3
Ccvp plus module 3Ccvp plus module 3
Ccvp plus module 3Le Ngoc Viet
 
CCIE Collaboration Lecture - Chapter 1.1 campus design - vlan dhcp and ntp
CCIE Collaboration Lecture - Chapter 1.1   campus design - vlan dhcp and ntpCCIE Collaboration Lecture - Chapter 1.1   campus design - vlan dhcp and ntp
CCIE Collaboration Lecture - Chapter 1.1 campus design - vlan dhcp and ntpFaisal Khan
 
Westcon Avaya IP Office R9 Launch Event Presentations
Westcon Avaya IP Office R9 Launch Event PresentationsWestcon Avaya IP Office R9 Launch Event Presentations
Westcon Avaya IP Office R9 Launch Event PresentationsWESTCON EMEA
 
InMotion Web Conferencing
InMotion Web ConferencingInMotion Web Conferencing
InMotion Web ConferencingVideoguy
 
Ccnp collaboration plus module 1 chapter 5 cisco unified communication express
Ccnp collaboration plus module 1   chapter 5 cisco unified communication expressCcnp collaboration plus module 1   chapter 5 cisco unified communication express
Ccnp collaboration plus module 1 chapter 5 cisco unified communication expressFaisal Khan
 
Uptodate IP PBX System
Uptodate IP PBX System Uptodate IP PBX System
Uptodate IP PBX System Guisun Han
 
CCIE Collaboration Lecture Chapter 4.4 voice gateway cucm sip overview
CCIE Collaboration Lecture Chapter 4.4 voice gateway   cucm sip overviewCCIE Collaboration Lecture Chapter 4.4 voice gateway   cucm sip overview
CCIE Collaboration Lecture Chapter 4.4 voice gateway cucm sip overviewFaisal Khan
 
Afrina Naznin (063514056)
Afrina Naznin (063514056)Afrina Naznin (063514056)
Afrina Naznin (063514056)mashiur
 
EMEA Airheads- Aruba IAP Webinar – How AirGroup service works in Aruba Instan...
EMEA Airheads- Aruba IAP Webinar – How AirGroup service works in Aruba Instan...EMEA Airheads- Aruba IAP Webinar – How AirGroup service works in Aruba Instan...
EMEA Airheads- Aruba IAP Webinar – How AirGroup service works in Aruba Instan...Aruba, a Hewlett Packard Enterprise company
 
Ccnp collaboration plus module 1 chapter 8 dial plan and call routing
Ccnp collaboration plus module 1   chapter 8 dial plan and call routingCcnp collaboration plus module 1   chapter 8 dial plan and call routing
Ccnp collaboration plus module 1 chapter 8 dial plan and call routingFaisal Khan
 
SIP-to-SIP Connections on a Cisco Unified Border Element
SIP-to-SIP Connections on a Cisco Unified Border ElementSIP-to-SIP Connections on a Cisco Unified Border Element
SIP-to-SIP Connections on a Cisco Unified Border ElementLong Nguyen
 
TADS Developer Summit WebRTC Dan Burnett
TADS Developer Summit WebRTC Dan BurnettTADS Developer Summit WebRTC Dan Burnett
TADS Developer Summit WebRTC Dan BurnettAlan Quayle
 
Bonrix Bulk voice call - Voice SMS Marketing Web Based Panel
Bonrix Bulk voice call - Voice SMS Marketing Web Based PanelBonrix Bulk voice call - Voice SMS Marketing Web Based Panel
Bonrix Bulk voice call - Voice SMS Marketing Web Based PanelRenish Ladani
 
Avaya Aura Five Nines by PacketBase
Avaya Aura Five Nines by PacketBaseAvaya Aura Five Nines by PacketBase
Avaya Aura Five Nines by PacketBasePacketBase, Inc.
 

La actualidad más candente (20)

Tekaba Manual
Tekaba ManualTekaba Manual
Tekaba Manual
 
Avaya IP Office Overview
Avaya IP Office OverviewAvaya IP Office Overview
Avaya IP Office Overview
 
Advanced topologies for microsoft e learning shared by voip.com.vn
Advanced topologies for microsoft e learning shared by voip.com.vnAdvanced topologies for microsoft e learning shared by voip.com.vn
Advanced topologies for microsoft e learning shared by voip.com.vn
 
Ccvp plus module 3
Ccvp plus module 3Ccvp plus module 3
Ccvp plus module 3
 
CCIE Collaboration Lecture - Chapter 1.1 campus design - vlan dhcp and ntp
CCIE Collaboration Lecture - Chapter 1.1   campus design - vlan dhcp and ntpCCIE Collaboration Lecture - Chapter 1.1   campus design - vlan dhcp and ntp
CCIE Collaboration Lecture - Chapter 1.1 campus design - vlan dhcp and ntp
 
Westcon Avaya IP Office R9 Launch Event Presentations
Westcon Avaya IP Office R9 Launch Event PresentationsWestcon Avaya IP Office R9 Launch Event Presentations
Westcon Avaya IP Office R9 Launch Event Presentations
 
InMotion Web Conferencing
InMotion Web ConferencingInMotion Web Conferencing
InMotion Web Conferencing
 
Ccnp collaboration plus module 1 chapter 5 cisco unified communication express
Ccnp collaboration plus module 1   chapter 5 cisco unified communication expressCcnp collaboration plus module 1   chapter 5 cisco unified communication express
Ccnp collaboration plus module 1 chapter 5 cisco unified communication express
 
Uptodate IP PBX System
Uptodate IP PBX System Uptodate IP PBX System
Uptodate IP PBX System
 
Sunturn
SunturnSunturn
Sunturn
 
CCIE Collaboration Lecture Chapter 4.4 voice gateway cucm sip overview
CCIE Collaboration Lecture Chapter 4.4 voice gateway   cucm sip overviewCCIE Collaboration Lecture Chapter 4.4 voice gateway   cucm sip overview
CCIE Collaboration Lecture Chapter 4.4 voice gateway cucm sip overview
 
Afrina Naznin (063514056)
Afrina Naznin (063514056)Afrina Naznin (063514056)
Afrina Naznin (063514056)
 
EMEA Airheads- Aruba IAP Webinar – How AirGroup service works in Aruba Instan...
EMEA Airheads- Aruba IAP Webinar – How AirGroup service works in Aruba Instan...EMEA Airheads- Aruba IAP Webinar – How AirGroup service works in Aruba Instan...
EMEA Airheads- Aruba IAP Webinar – How AirGroup service works in Aruba Instan...
 
ESI-50
ESI-50ESI-50
ESI-50
 
Ccnp collaboration plus module 1 chapter 8 dial plan and call routing
Ccnp collaboration plus module 1   chapter 8 dial plan and call routingCcnp collaboration plus module 1   chapter 8 dial plan and call routing
Ccnp collaboration plus module 1 chapter 8 dial plan and call routing
 
SIP-to-SIP Connections on a Cisco Unified Border Element
SIP-to-SIP Connections on a Cisco Unified Border ElementSIP-to-SIP Connections on a Cisco Unified Border Element
SIP-to-SIP Connections on a Cisco Unified Border Element
 
TADS Developer Summit WebRTC Dan Burnett
TADS Developer Summit WebRTC Dan BurnettTADS Developer Summit WebRTC Dan Burnett
TADS Developer Summit WebRTC Dan Burnett
 
Bonrix Bulk voice call - Voice SMS Marketing Web Based Panel
Bonrix Bulk voice call - Voice SMS Marketing Web Based PanelBonrix Bulk voice call - Voice SMS Marketing Web Based Panel
Bonrix Bulk voice call - Voice SMS Marketing Web Based Panel
 
Asterisk Deployments
Asterisk DeploymentsAsterisk Deployments
Asterisk Deployments
 
Avaya Aura Five Nines by PacketBase
Avaya Aura Five Nines by PacketBaseAvaya Aura Five Nines by PacketBase
Avaya Aura Five Nines by PacketBase
 

Similar a Nokia Asha webinar: Add VoIP services to your Nokia Asha apps

Avaya lync integration 6 16
Avaya lync integration 6 16Avaya lync integration 6 16
Avaya lync integration 6 16Chris Stegh
 
Cấu hình bắt tay giữ tổng đài Avaya và Gateway Audiocodes mediapack 124
Cấu hình bắt tay giữ tổng đài Avaya và Gateway Audiocodes mediapack 124Cấu hình bắt tay giữ tổng đài Avaya và Gateway Audiocodes mediapack 124
Cấu hình bắt tay giữ tổng đài Avaya và Gateway Audiocodes mediapack 124www.thegioitongdai .com.vn
 
SITE_6_Release_Highlights.pdf
SITE_6_Release_Highlights.pdfSITE_6_Release_Highlights.pdf
SITE_6_Release_Highlights.pdfBirodhShrestha1
 
Skype for business understanding what is new, preview or unchanged
Skype for business understanding what is new, preview or unchangedSkype for business understanding what is new, preview or unchanged
Skype for business understanding what is new, preview or unchangedFabrizio Volpe
 
Polycom soundpoint ip450 data sheet
Polycom soundpoint ip450 data sheetPolycom soundpoint ip450 data sheet
Polycom soundpoint ip450 data sheetbest4systems
 
Introduction to FreeSWITCH
Introduction to FreeSWITCHIntroduction to FreeSWITCH
Introduction to FreeSWITCHChien Cheng Wu
 
VoLTE Testing Solution in NFV ecosystem
VoLTE Testing Solution in NFV ecosystemVoLTE Testing Solution in NFV ecosystem
VoLTE Testing Solution in NFV ecosystemDebayan Chaudhuri
 
Voip introduction
Voip introductionVoip introduction
Voip introductiondaksh bhatt
 
Jason Fischl The Softphone And The Pbx
Jason Fischl The Softphone And The PbxJason Fischl The Softphone And The Pbx
Jason Fischl The Softphone And The PbxCarl Ford
 
Introduction to IP Telephony
Introduction to IP TelephonyIntroduction to IP Telephony
Introduction to IP TelephonyVideoguy
 
Kamailio :: A Quick Introduction
Kamailio :: A Quick IntroductionKamailio :: A Quick Introduction
Kamailio :: A Quick IntroductionOlle E Johansson
 
Solo Telco Gateway
Solo Telco GatewaySolo Telco Gateway
Solo Telco GatewaySOLO Gateway
 
AN OVERVIEW OF VOICE OVER INTERNET PROTOCOL (VOIP
AN OVERVIEW OF VOICE OVER INTERNET PROTOCOL (VOIPAN OVERVIEW OF VOICE OVER INTERNET PROTOCOL (VOIP
AN OVERVIEW OF VOICE OVER INTERNET PROTOCOL (VOIPSean Flores
 
VOIP Design & Implementation
VOIP Design & ImplementationVOIP Design & Implementation
VOIP Design & ImplementationAhmed A. Arefin
 
VoIPER: Smashing the VoIP stack while you sleep
VoIPER: Smashing the VoIP stack while you sleepVoIPER: Smashing the VoIP stack while you sleep
VoIPER: Smashing the VoIP stack while you sleepguestad6e9e
 
VoIP - Cisco CME &amp; IP Communicator
VoIP - Cisco CME &amp; IP CommunicatorVoIP - Cisco CME &amp; IP Communicator
VoIP - Cisco CME &amp; IP Communicatorchinmaypadhye1985
 

Similar a Nokia Asha webinar: Add VoIP services to your Nokia Asha apps (20)

Avaya lync integration 6 16
Avaya lync integration 6 16Avaya lync integration 6 16
Avaya lync integration 6 16
 
Cấu hình bắt tay giữ tổng đài Avaya và Gateway Audiocodes mediapack 124
Cấu hình bắt tay giữ tổng đài Avaya và Gateway Audiocodes mediapack 124Cấu hình bắt tay giữ tổng đài Avaya và Gateway Audiocodes mediapack 124
Cấu hình bắt tay giữ tổng đài Avaya và Gateway Audiocodes mediapack 124
 
Noel_Sukumar
Noel_SukumarNoel_Sukumar
Noel_Sukumar
 
SITE_6_Release_Highlights.pdf
SITE_6_Release_Highlights.pdfSITE_6_Release_Highlights.pdf
SITE_6_Release_Highlights.pdf
 
Skype for business understanding what is new, preview or unchanged
Skype for business understanding what is new, preview or unchangedSkype for business understanding what is new, preview or unchanged
Skype for business understanding what is new, preview or unchanged
 
Polycom soundpoint ip450 data sheet
Polycom soundpoint ip450 data sheetPolycom soundpoint ip450 data sheet
Polycom soundpoint ip450 data sheet
 
Linux VOIP
Linux VOIP Linux VOIP
Linux VOIP
 
Introduction to FreeSWITCH
Introduction to FreeSWITCHIntroduction to FreeSWITCH
Introduction to FreeSWITCH
 
VoLTE Testing Solution in NFV ecosystem
VoLTE Testing Solution in NFV ecosystemVoLTE Testing Solution in NFV ecosystem
VoLTE Testing Solution in NFV ecosystem
 
Voip introduction
Voip introductionVoip introduction
Voip introduction
 
Jason Fischl The Softphone And The Pbx
Jason Fischl The Softphone And The PbxJason Fischl The Softphone And The Pbx
Jason Fischl The Softphone And The Pbx
 
Introduction to IP Telephony
Introduction to IP TelephonyIntroduction to IP Telephony
Introduction to IP Telephony
 
Kamailio :: A Quick Introduction
Kamailio :: A Quick IntroductionKamailio :: A Quick Introduction
Kamailio :: A Quick Introduction
 
Abhishek_cv
Abhishek_cvAbhishek_cv
Abhishek_cv
 
Solo Telco Gateway
Solo Telco GatewaySolo Telco Gateway
Solo Telco Gateway
 
AN OVERVIEW OF VOICE OVER INTERNET PROTOCOL (VOIP
AN OVERVIEW OF VOICE OVER INTERNET PROTOCOL (VOIPAN OVERVIEW OF VOICE OVER INTERNET PROTOCOL (VOIP
AN OVERVIEW OF VOICE OVER INTERNET PROTOCOL (VOIP
 
e-2joelezell.ppt
e-2joelezell.ppte-2joelezell.ppt
e-2joelezell.ppt
 
VOIP Design & Implementation
VOIP Design & ImplementationVOIP Design & Implementation
VOIP Design & Implementation
 
VoIPER: Smashing the VoIP stack while you sleep
VoIPER: Smashing the VoIP stack while you sleepVoIPER: Smashing the VoIP stack while you sleep
VoIPER: Smashing the VoIP stack while you sleep
 
VoIP - Cisco CME &amp; IP Communicator
VoIP - Cisco CME &amp; IP CommunicatorVoIP - Cisco CME &amp; IP Communicator
VoIP - Cisco CME &amp; IP Communicator
 

Más de Microsoft Mobile Developer

Intro to Nokia X software platform 2.0 and tools
Intro to Nokia X software platform 2.0 and toolsIntro to Nokia X software platform 2.0 and tools
Intro to Nokia X software platform 2.0 and toolsMicrosoft Mobile Developer
 
Location based services for Nokia X and Nokia Asha using Geo2tag
Location based services for Nokia X and Nokia Asha using Geo2tagLocation based services for Nokia X and Nokia Asha using Geo2tag
Location based services for Nokia X and Nokia Asha using Geo2tagMicrosoft Mobile Developer
 
Lumia App Labs: Lessons learned from 50 windows phone 8 design consultations
Lumia App Labs: Lessons learned from 50 windows phone 8 design consultationsLumia App Labs: Lessons learned from 50 windows phone 8 design consultations
Lumia App Labs: Lessons learned from 50 windows phone 8 design consultationsMicrosoft Mobile Developer
 
Windows Phone 8 speech: parliamo con la nostra app
Windows Phone 8 speech: parliamo con la nostra appWindows Phone 8 speech: parliamo con la nostra app
Windows Phone 8 speech: parliamo con la nostra appMicrosoft Mobile Developer
 
La pubblicazione di un'applicazione sullo store
La pubblicazione di un'applicazione sullo storeLa pubblicazione di un'applicazione sullo store
La pubblicazione di un'applicazione sullo storeMicrosoft Mobile Developer
 
Il pattern mvvm come strutturare al meglio il vostro progetto
Il pattern mvvm come strutturare al meglio il vostro progettoIl pattern mvvm come strutturare al meglio il vostro progetto
Il pattern mvvm come strutturare al meglio il vostro progettoMicrosoft Mobile Developer
 

Más de Microsoft Mobile Developer (20)

Intro to Nokia X software platform 2.0 and tools
Intro to Nokia X software platform 2.0 and toolsIntro to Nokia X software platform 2.0 and tools
Intro to Nokia X software platform 2.0 and tools
 
Lumia App Labs: Lumia SensorCore SDK beta
Lumia App Labs: Lumia SensorCore SDK betaLumia App Labs: Lumia SensorCore SDK beta
Lumia App Labs: Lumia SensorCore SDK beta
 
Nokia Asha from idea to app - Imaging
Nokia Asha from idea to app - ImagingNokia Asha from idea to app - Imaging
Nokia Asha from idea to app - Imaging
 
Healthcare apps for Nokia X and Nokia Asha
Healthcare apps for Nokia X and Nokia AshaHealthcare apps for Nokia X and Nokia Asha
Healthcare apps for Nokia X and Nokia Asha
 
Push notifications on Nokia X
Push notifications on Nokia XPush notifications on Nokia X
Push notifications on Nokia X
 
DIY Nokia Asha app usability studies
DIY Nokia Asha app usability studiesDIY Nokia Asha app usability studies
DIY Nokia Asha app usability studies
 
Lessons learned from Nokia X UI reviews
Lessons learned from Nokia X UI reviewsLessons learned from Nokia X UI reviews
Lessons learned from Nokia X UI reviews
 
Location based services for Nokia X and Nokia Asha using Geo2tag
Location based services for Nokia X and Nokia Asha using Geo2tagLocation based services for Nokia X and Nokia Asha using Geo2tag
Location based services for Nokia X and Nokia Asha using Geo2tag
 
HERE Maps for the Nokia X platform
HERE Maps for the Nokia X platformHERE Maps for the Nokia X platform
HERE Maps for the Nokia X platform
 
Nokia In-App Payment - UX considerations
Nokia In-App Payment - UX considerationsNokia In-App Payment - UX considerations
Nokia In-App Payment - UX considerations
 
Introduction to Nokia Asha SDK 1.2 (beta)
Introduction to Nokia Asha SDK 1.2 (beta)Introduction to Nokia Asha SDK 1.2 (beta)
Introduction to Nokia Asha SDK 1.2 (beta)
 
UX considerations when porting to Nokia X
UX considerations when porting to Nokia XUX considerations when porting to Nokia X
UX considerations when porting to Nokia X
 
Kids' games and educational app design
Kids' games and educational app designKids' games and educational app design
Kids' games and educational app design
 
Nokia X: opportunities for developers
Nokia X: opportunities for developersNokia X: opportunities for developers
Nokia X: opportunities for developers
 
Lumia App Labs: Nokia Imaging SDK 1.1
Lumia App Labs: Nokia Imaging SDK 1.1Lumia App Labs: Nokia Imaging SDK 1.1
Lumia App Labs: Nokia Imaging SDK 1.1
 
Intro to Nokia X software platform and tools
Intro to Nokia X software platform and toolsIntro to Nokia X software platform and tools
Intro to Nokia X software platform and tools
 
Lumia App Labs: Lessons learned from 50 windows phone 8 design consultations
Lumia App Labs: Lessons learned from 50 windows phone 8 design consultationsLumia App Labs: Lessons learned from 50 windows phone 8 design consultations
Lumia App Labs: Lessons learned from 50 windows phone 8 design consultations
 
Windows Phone 8 speech: parliamo con la nostra app
Windows Phone 8 speech: parliamo con la nostra appWindows Phone 8 speech: parliamo con la nostra app
Windows Phone 8 speech: parliamo con la nostra app
 
La pubblicazione di un'applicazione sullo store
La pubblicazione di un'applicazione sullo storeLa pubblicazione di un'applicazione sullo store
La pubblicazione di un'applicazione sullo store
 
Il pattern mvvm come strutturare al meglio il vostro progetto
Il pattern mvvm come strutturare al meglio il vostro progettoIl pattern mvvm come strutturare al meglio il vostro progetto
Il pattern mvvm come strutturare al meglio il vostro progetto
 

Último

The Impact Of Social Media Advertising.pdf
The Impact Of Social Media Advertising.pdfThe Impact Of Social Media Advertising.pdf
The Impact Of Social Media Advertising.pdfishikajaiswal116
 
Alpha Media March 2024 Buyers Guide.pptx
Alpha Media March 2024 Buyers Guide.pptxAlpha Media March 2024 Buyers Guide.pptx
Alpha Media March 2024 Buyers Guide.pptxDave McCallum
 
TAM_AdEx-Cross_Media_Report-Banking_Finance_Investment_(BFSI)_2023.pdf
TAM_AdEx-Cross_Media_Report-Banking_Finance_Investment_(BFSI)_2023.pdfTAM_AdEx-Cross_Media_Report-Banking_Finance_Investment_(BFSI)_2023.pdf
TAM_AdEx-Cross_Media_Report-Banking_Finance_Investment_(BFSI)_2023.pdfSocial Samosa
 
Best 5 Graphics Designing Course In Chandigarh
Best 5 Graphics Designing Course In ChandigarhBest 5 Graphics Designing Course In Chandigarh
Best 5 Graphics Designing Course In Chandigarhhamitthakurdma01
 
Micro-Choices, Max Impact Personalizing Your Journey, One Moment at a Time.pdf
Micro-Choices, Max Impact Personalizing Your Journey, One Moment at a Time.pdfMicro-Choices, Max Impact Personalizing Your Journey, One Moment at a Time.pdf
Micro-Choices, Max Impact Personalizing Your Journey, One Moment at a Time.pdfPiyush Kumar
 
SALES-PITCH-an-introduction-to-sales.pptx
SALES-PITCH-an-introduction-to-sales.pptxSALES-PITCH-an-introduction-to-sales.pptx
SALES-PITCH-an-introduction-to-sales.pptx23397013
 
Social Media Marketing Portfolio - Maharsh Benday
Social Media Marketing Portfolio - Maharsh BendaySocial Media Marketing Portfolio - Maharsh Benday
Social Media Marketing Portfolio - Maharsh BendayMaharshBenday
 
[Expert Panel] New Google Shopping Ads Strategies Uncovered
[Expert Panel] New Google Shopping Ads Strategies Uncovered[Expert Panel] New Google Shopping Ads Strategies Uncovered
[Expert Panel] New Google Shopping Ads Strategies UncoveredSearch Engine Journal
 
Elevating Your Digital Presence by Evitha.pdf
Elevating Your Digital Presence by Evitha.pdfElevating Your Digital Presence by Evitha.pdf
Elevating Your Digital Presence by Evitha.pdfevithatojoparel
 
HOW TO HANDLE SALES OBJECTIONS | SELLING AND NEGOTIATION
HOW TO HANDLE SALES OBJECTIONS | SELLING AND NEGOTIATIONHOW TO HANDLE SALES OBJECTIONS | SELLING AND NEGOTIATION
HOW TO HANDLE SALES OBJECTIONS | SELLING AND NEGOTIATIONpratheeshraj987
 
2024 Social Trends Report V4 from Later.com
2024 Social Trends Report V4 from Later.com2024 Social Trends Report V4 from Later.com
2024 Social Trends Report V4 from Later.comnmislamchannal
 
How consumers use technology and the impacts on their lives
How consumers use technology and the impacts on their livesHow consumers use technology and the impacts on their lives
How consumers use technology and the impacts on their livesMathuraa
 
Optimizing Your Marketing with AI-Powered Prompts
Optimizing Your Marketing with AI-Powered PromptsOptimizing Your Marketing with AI-Powered Prompts
Optimizing Your Marketing with AI-Powered PromptsVbout.com
 
SP Search Term Data Optimization Template.pdf
SP Search Term Data Optimization Template.pdfSP Search Term Data Optimization Template.pdf
SP Search Term Data Optimization Template.pdfPauleneNicoleLapira
 
Gain potential customers through Lead Generation
Gain potential customers through Lead GenerationGain potential customers through Lead Generation
Gain potential customers through Lead Generationvidhyalakshmiveerapp
 
Resumé Karina Perez | Digital Strategist
Resumé Karina Perez | Digital StrategistResumé Karina Perez | Digital Strategist
Resumé Karina Perez | Digital StrategistKarina Perez
 
W.H.Bender Quote 61 -Influential restaurant and food service industry network...
W.H.Bender Quote 61 -Influential restaurant and food service industry network...W.H.Bender Quote 61 -Influential restaurant and food service industry network...
W.H.Bender Quote 61 -Influential restaurant and food service industry network...William (Bill) H. Bender, FCSI
 
10 Email Marketing Best Practices to Increase Engagements, CTR, And ROI
10 Email Marketing Best Practices to Increase Engagements, CTR, And ROI10 Email Marketing Best Practices to Increase Engagements, CTR, And ROI
10 Email Marketing Best Practices to Increase Engagements, CTR, And ROIShamsudeen Adeshokan
 
Unveiling the Legacy of the Rosetta stone A Key to Ancient Knowledge.pptx
Unveiling the Legacy of the Rosetta stone A Key to Ancient Knowledge.pptxUnveiling the Legacy of the Rosetta stone A Key to Ancient Knowledge.pptx
Unveiling the Legacy of the Rosetta stone A Key to Ancient Knowledge.pptxelizabethella096
 
Instant Digital Issuance: An Overview With Critical First Touch Best Practices
Instant Digital Issuance: An Overview With Critical First Touch Best PracticesInstant Digital Issuance: An Overview With Critical First Touch Best Practices
Instant Digital Issuance: An Overview With Critical First Touch Best PracticesMedia Logic
 

Último (20)

The Impact Of Social Media Advertising.pdf
The Impact Of Social Media Advertising.pdfThe Impact Of Social Media Advertising.pdf
The Impact Of Social Media Advertising.pdf
 
Alpha Media March 2024 Buyers Guide.pptx
Alpha Media March 2024 Buyers Guide.pptxAlpha Media March 2024 Buyers Guide.pptx
Alpha Media March 2024 Buyers Guide.pptx
 
TAM_AdEx-Cross_Media_Report-Banking_Finance_Investment_(BFSI)_2023.pdf
TAM_AdEx-Cross_Media_Report-Banking_Finance_Investment_(BFSI)_2023.pdfTAM_AdEx-Cross_Media_Report-Banking_Finance_Investment_(BFSI)_2023.pdf
TAM_AdEx-Cross_Media_Report-Banking_Finance_Investment_(BFSI)_2023.pdf
 
Best 5 Graphics Designing Course In Chandigarh
Best 5 Graphics Designing Course In ChandigarhBest 5 Graphics Designing Course In Chandigarh
Best 5 Graphics Designing Course In Chandigarh
 
Micro-Choices, Max Impact Personalizing Your Journey, One Moment at a Time.pdf
Micro-Choices, Max Impact Personalizing Your Journey, One Moment at a Time.pdfMicro-Choices, Max Impact Personalizing Your Journey, One Moment at a Time.pdf
Micro-Choices, Max Impact Personalizing Your Journey, One Moment at a Time.pdf
 
SALES-PITCH-an-introduction-to-sales.pptx
SALES-PITCH-an-introduction-to-sales.pptxSALES-PITCH-an-introduction-to-sales.pptx
SALES-PITCH-an-introduction-to-sales.pptx
 
Social Media Marketing Portfolio - Maharsh Benday
Social Media Marketing Portfolio - Maharsh BendaySocial Media Marketing Portfolio - Maharsh Benday
Social Media Marketing Portfolio - Maharsh Benday
 
[Expert Panel] New Google Shopping Ads Strategies Uncovered
[Expert Panel] New Google Shopping Ads Strategies Uncovered[Expert Panel] New Google Shopping Ads Strategies Uncovered
[Expert Panel] New Google Shopping Ads Strategies Uncovered
 
Elevating Your Digital Presence by Evitha.pdf
Elevating Your Digital Presence by Evitha.pdfElevating Your Digital Presence by Evitha.pdf
Elevating Your Digital Presence by Evitha.pdf
 
HOW TO HANDLE SALES OBJECTIONS | SELLING AND NEGOTIATION
HOW TO HANDLE SALES OBJECTIONS | SELLING AND NEGOTIATIONHOW TO HANDLE SALES OBJECTIONS | SELLING AND NEGOTIATION
HOW TO HANDLE SALES OBJECTIONS | SELLING AND NEGOTIATION
 
2024 Social Trends Report V4 from Later.com
2024 Social Trends Report V4 from Later.com2024 Social Trends Report V4 from Later.com
2024 Social Trends Report V4 from Later.com
 
How consumers use technology and the impacts on their lives
How consumers use technology and the impacts on their livesHow consumers use technology and the impacts on their lives
How consumers use technology and the impacts on their lives
 
Optimizing Your Marketing with AI-Powered Prompts
Optimizing Your Marketing with AI-Powered PromptsOptimizing Your Marketing with AI-Powered Prompts
Optimizing Your Marketing with AI-Powered Prompts
 
SP Search Term Data Optimization Template.pdf
SP Search Term Data Optimization Template.pdfSP Search Term Data Optimization Template.pdf
SP Search Term Data Optimization Template.pdf
 
Gain potential customers through Lead Generation
Gain potential customers through Lead GenerationGain potential customers through Lead Generation
Gain potential customers through Lead Generation
 
Resumé Karina Perez | Digital Strategist
Resumé Karina Perez | Digital StrategistResumé Karina Perez | Digital Strategist
Resumé Karina Perez | Digital Strategist
 
W.H.Bender Quote 61 -Influential restaurant and food service industry network...
W.H.Bender Quote 61 -Influential restaurant and food service industry network...W.H.Bender Quote 61 -Influential restaurant and food service industry network...
W.H.Bender Quote 61 -Influential restaurant and food service industry network...
 
10 Email Marketing Best Practices to Increase Engagements, CTR, And ROI
10 Email Marketing Best Practices to Increase Engagements, CTR, And ROI10 Email Marketing Best Practices to Increase Engagements, CTR, And ROI
10 Email Marketing Best Practices to Increase Engagements, CTR, And ROI
 
Unveiling the Legacy of the Rosetta stone A Key to Ancient Knowledge.pptx
Unveiling the Legacy of the Rosetta stone A Key to Ancient Knowledge.pptxUnveiling the Legacy of the Rosetta stone A Key to Ancient Knowledge.pptx
Unveiling the Legacy of the Rosetta stone A Key to Ancient Knowledge.pptx
 
Instant Digital Issuance: An Overview With Critical First Touch Best Practices
Instant Digital Issuance: An Overview With Critical First Touch Best PracticesInstant Digital Issuance: An Overview With Critical First Touch Best Practices
Instant Digital Issuance: An Overview With Critical First Touch Best Practices
 

Nokia Asha webinar: Add VoIP services to your Nokia Asha apps

  • 1. VOICE OVER IP USING NOKIA ASHA SOFTWARE PLATFORM 1.1 (BETA) Dalbir S Dahiya Engineering Manager Nokia Asha Developer Platform Dalbir.dahiya@nokia.com
  • 2. CONTENTS • • • • • • Introduction to VOIP VOIP Experience Native VOIP VOIP App using Java API • Implementation Steps • Basic VOIP APIs • Call Setup Coding details • Configuration VOIP Example Additional Information
  • 3. NOKIA ASHA VOIP INTRODUCTION Voice over IP (VOIP) uses the Internet Protocol (IP) to transmit voice as packets over an IP network. Nokia Asha Platform uses Session Initiation Protocol (SIP) protocol. VOIP platform details: • Protocols: SIP, RTP/RTCP, STUN • Supports WiFi internet access • Call features: Mobile Originating and Mobile Terminating calls • Hold/Retrieve • Multi call support (one active, one held, one waiting) • Call forwarding • DTMF support
  • 4. NOKIA ASHA VOIP INTRODUCTION VOIP platform capabilities: • One media stream (audio) only is supported • Speech codecs: AMR-WB/NB, G.711 u-law/a-law, G.729, G.726, GSM-EFR/FR. • Echo cancelation & Dynamic jitter buffer • Secure call support (SIP TLS + SRTP) • Network Aaddress Translation /Firewall travelsal: STUN support, NAT keep alive, symmetric signaling/media • Quality of Service: Media/Signalling QoS marking with Differentiated Service Fields, Bandwidth negotiation, RTP CP Extended Report VoIP metrics • IPv4 and IPv6 in signaling. • E.164 numbers
  • 5. NOKIA ASHA VOIP INTRODUCTION VOIP platform limitations: • Multicast streams are not supported. • Changing the port number/media type/transport during a session is not supported in the • Session establishment through two proxies. • Successful session with proxy failure • Session through a SIP ALG. • Offer & Answer: A port number of zero is used to reject offered media for MT sessions.
  • 6. VOIP EXPERIENCE VoIP is available both as natively integrated solution as well as via Java API. Both utilise the same platform VoIP implementation Native VoIP • • • • • • • Setting up via Accounts Native Call UI experience Native Phonebook integration Native notifications integration Native dialer integration Native logs integration Native fastlane integration Java Application • Seamless SIP setting configuration • Full control on the call UI • Custom ringing tones • All in-call features available • Support for multiple calls
  • 7. SETTING UP NATIVE VOIP CONFIGURATION Accounts is a Nokia hosted FREE service that can be accessed directly from the phone UI over GPRS/WLAN connection. From the Accounts end users can setup the wanted VoIP providers to their handsets or create their own manual VoIP settings. Companies can host OTA SMS based configuration systems which are OMA CP compliant to their employes or customers to setup VoIP to Asha handset. Small companies or individual users can create OMA CP compliant VoIP configuration documents and configure them to the phone over Bluetooth OBEX Push.
  • 8. NATIVE VOIP SIMULATION SETUP Asterisk Server Version OS Version Server IP Address Total SIP Account Created Usernames Password Extension Number’s Emulator 11000, SIP AC-1001/ext-6001 Emulator 11002, SIP AC-1002/ext-6002 1.8.13.1 Ubuntu 13.04 192.168.1.100 40 1001-1040 password 6001-6040
  • 10. VOIP APP USING JAVA API
  • 11. VOIP IMPLEMENTATION ON NOKIA ASHA • • • • Nokia Asha software platform 1.1 provides the actual VoIP client engine implementation and the VoIP API for 3rd party applications Platform is taking care most of the actual VoIP functionality, but it needs also the also the specific VoIP settings from the given application and SIP account. The VoIP settings of each VoIP MIDlets are given in a form of an XML file to the VoIP API. VoIP settings, such as network, audio codec settings, etc. can be left to their default values. Otherwise, developer should use appropriate configuration for the SIP server in use.
  • 12. VOIP PACKAGE OVERVIEW • • • On Nokia Asha Platform 1.1, there is new Java package available: • com.nokia.mid.voip Principal classes in the package are as following: • VoipManager • VoipStates • VoipCauses Principal interfaces in the package are as following: • VoipSettings • VoipSettingsStateListener • VoipAudioCall • VoipSettingsStateListener • VoipMTCallListener
  • 13. MAKING VOIP CALL STEP I • In order to retrieve the VoIP settings and register with the VoiP server, read the xml file from the resource/jar file and represent it as a String: • There is no build-in method for this so the developer needs to write his own. For example a custom made function for reading the xml file:
  • 14. MAKING VOIP CALL STEP II • • Create a VoipSettings instance that is used for reading the VoIP settings from a String. When the settings are written (with the build-in writeVoipSettings method), the client attempts to use the settings as they have been provided by the developer to connect and register with the VoIP server. A VoipSettingsStateUpdated listener is used for listening for the status of the registration attempt (whether the client is online, offline or a connection or registration error occurred):
  • 15. MAKING VOIP CALL STEP III • A VoipAudioCall instance and a VoipAudioCallStateListener are used to establish a call and listen for any call updates (call establishment, call termination, connection error). The startCall method receives as argument a boolean that allows the calling MIDlet to send its caller id to the remote party:
  • 16. RECIEVING VOIP CALL I • When the MIDlet is running, A VoipMTCallListener is used for listening for any incoming calls:
  • 17. RECEIVING CALL WHEN APP IS CLOSED • When the MIDlet is not running, the getAppProperty method is used from the instance that extends the MIDlet class in order to retrieve the invocation reason (“arg-0”) and the caller id (“arg-1”). The developers needs to control if the invocation reason is a valid incoming call and then handle the incoming call as follows:
  • 18. IMPLEMENTING VOIP FUNCTIONALITY • After obtaining a reference to a VoIP Audio Call using VoipManager, applications can use method startCall() to initiate and outbound call or to answer an incoming call
  • 19. CONFIGURATION XML EXAMPLE Java midlet config xml file can be obtain from Asha SDK 1.1 example application. For TLS support, one need to do the following changes to xml file: 1. Turning SIPoTLS ON or OFF - to turn on SIPoTLS following need to be changed SECURECALLPREF <0,1,2> 1.if SIPoTLS and RTP used 2.if SIPoTLS and SRTP used 2. all sip: prefix need to be sips: APROTOCOL <TCP/UDP) PORTNBR as 5061
  • 20. THE VOIP EXAMPLE This example shows how to create a simple VoIP client MIDlet for making internet calls over SIP protocol. It demonstrates the usage the VoIP API on Nokia Asha software platform 1.1 and how to handle VoIP calls. Pre-requisites: 1. Nokia IDE for Java ME with Java ME support 2. Nokia Asha SDK 1.1 - Beta 3. Two emulator instances 4. SIP Server running i.e. Asterisk SIP server at 192.168.1.100 5. Two SIP accounts i.e. 1001 with ext. 6001 & 1002 with ext. 6002
  • 22. MORE INFORMATION Overview - http://developer.nokia.com/Develop/asha/java/start/ Downloads - http://developer.nokia.com/Develop/asha/java/tools.xhtml - http://projects.developer.nokia.com/LWUIT_for_Series_40 Guides - Nokia Asha Design Guide: http://developer.nokia.com/Resources/Library/Asha_UI/ - Porting Guide: http://developer.nokia.com/Resources/Library/Porting_to_Nokia_Asha/ - Documentation: http://developer.nokia.com/Develop/asha/java/resources/docs/ - Training Videos: http://developer.nokia.com/Develop/asha/learning.xhtml - Code Examples: http://developer.nokia.com/Develop/asha/java/resources/code/
  • 23. THANK YOU. QUESTIONS? For more information: https://developer.nokia.com/Develop/asha/learning.xhtml