20
Who wants to be a Millionaire How we can make it happen... [email protected] - Cloud Strategy Director [email protected] - CEO

TADS Developer Summit Ubuntu Maarten Ectors

Embed Size (px)

DESCRIPTION

Maarten Ectors, Ubuntu, presentation in the developer summit at TADS, 21-22 Nov 2013 in Bangkok, on Who wants to be a millionaire?

Citation preview

Page 1: TADS Developer Summit Ubuntu Maarten Ectors

Who wants to be a MillionaireHow we can make it happen...

[email protected] - Cloud Strategy [email protected] - CEO

Page 2: TADS Developer Summit Ubuntu Maarten Ectors

TADS 2014 - Maarten Ectors

Page 3: TADS Developer Summit Ubuntu Maarten Ectors

TADS 2014 - Maarten Ectors

Page 4: TADS Developer Summit Ubuntu Maarten Ectors

TADS 2014 - Maarten Ectors

Page 5: TADS Developer Summit Ubuntu Maarten Ectors

TADS 2014 - Maarten Ectors

Page 6: TADS Developer Summit Ubuntu Maarten Ectors

TADS 2014 - Maarten Ectors

Page 7: TADS Developer Summit Ubuntu Maarten Ectors

TADS 2014 - Maarten Ectors

POST http://example.

com/1/smsmessaging/outbound/

tel%3A%2B12345678/requests HTTP/1.1

Host: example.com:80

Content-Type: application/x-www-form-

urlencoded

Accept: application/json

address=tel%3A%2B13500000991&

senderAddress=tel:%2B12345678&

message=Hello%20World&

clientCorrelator=123456&

notifyURL=http://application.example.

com/notifications/

DeliveryInfoNotification&

callbackData=some-data-useful-to-the-

requester&

senderName=ACME%20Inc.

1$ curl -XPOST https://api.example.com/2010-04-01/Accounts/AC5ef8732a3c49700934481addd5ce1659/Messages.json \-d "Body=Hello%20World" \-d "To=%2B15558675309" \-d "From=%2B14158141829" \-u 'AC5ef8732a3c49700934481addd5ce1659:{AuthToken}'

2SmppTransactionACIFactory smppAcif;

SmppSession smppSession;

public void setSbbContext(SbbContext sbbContext) {

this.sbbContext = sbbContext;

try {

logger.info("Called setSbbContext PtinAudioConf!!!");

Context myEnv = (Context) new InitialContext().lookup("java:

comp/env");

smppSession = (SmppSession)

myEnv.lookup("slee/resources/smpp/5.0/smppSession");

smppAcif = (SmppTransactionACIFactory)

myEnv.lookup("slee/resources/smpp/5.0/factoryprovider");

} catch (NamingException ne) {

logger.warn("Could not set SBB context:" + ne.getMessage());

}

}

public void onSomeEvent(SomeEvent event, ActivityContextInterface aci) {

SubmitSM submitSm = (SubmitSM)smppSession.createSmppRequest

(SmppRequest.SUBMIT_SM);

Address esmeAddress = smppSession.createAddress(1, 0, "501");

Address destAddress = smppSession.createAddress(1, 0,

"919960666666");

submitSm.setEsmeAddress(esmeAddress);

submitSm.setEsmeAddress(destAddress);

submitSm.setMessage("Hello World".getBytes());

SmppTransaction submitTxn = smppSession.sendRequest(submitSm);

// attach to the new activity so we get the response

ActivityContextInterface newaci = smppAcif.getActivityContextInterface

(submitTxn);

newaci.attach(getSbbLocalObject());

}

3

Page 8: TADS Developer Summit Ubuntu Maarten Ectors

TADS 2014 - Maarten Ectors

POST http://example.

com/1/smsmessaging/outbound/

tel%3A%2B12345678/requests HTTP/1.1

Host: example.com:80

Content-Type: application/x-www-form-

urlencoded

Accept: application/json

address=tel%3A%2B13500000991&

senderAddress=tel:%2B12345678&

message=Hello%20World&

clientCorrelator=123456&

notifyURL=http://application.example.

com/notifications/

DeliveryInfoNotification&

callbackData=some-data-useful-to-the-

requester&

senderName=ACME%20Inc.

1$ curl -XPOST https://api.example.com/2010-04-01/Accounts/AC5ef8732a3c49700934481addd5ce1659/Messages.json \-d "Body=Hello%20World" \-d "To=%2B15558675309" \-d "From=%2B14158141829" \-u 'AC5ef8732a3c49700934481addd5ce1659:{AuthToken}'

2SmppTransactionACIFactory smppAcif;

SmppSession smppSession;

public void setSbbContext(SbbContext sbbContext) {

this.sbbContext = sbbContext;

try {

logger.info("Called setSbbContext PtinAudioConf!!!");

Context myEnv = (Context) new InitialContext().lookup("java:

comp/env");

smppSession = (SmppSession)

myEnv.lookup("slee/resources/smpp/5.0/smppSession");

smppAcif = (SmppTransactionACIFactory)

myEnv.lookup("slee/resources/smpp/5.0/factoryprovider");

} catch (NamingException ne) {

logger.warn("Could not set SBB context:" + ne.getMessage());

}

}

public void onSomeEvent(SomeEvent event, ActivityContextInterface aci) {

SubmitSM submitSm = (SubmitSM)smppSession.createSmppRequest

(SmppRequest.SUBMIT_SM);

Address esmeAddress = smppSession.createAddress(1, 0, "501");

Address destAddress = smppSession.createAddress(1, 0,

"919960666666");

submitSm.setEsmeAddress(esmeAddress);

submitSm.setEsmeAddress(destAddress);

submitSm.setMessage("Hello World".getBytes());

SmppTransaction submitTxn = smppSession.sendRequest(submitSm);

// attach to the new activity so we get the response

ActivityContextInterface newaci = smppAcif.getActivityContextInterface

(submitTxn);

newaci.attach(getSbbLocalObject());

}

3

Page 9: TADS Developer Summit Ubuntu Maarten Ectors

TADS 2014 - Maarten Ectors

TelecomSandboxHello World,

Test? Test! Test...

St@rC0der

Page 10: TADS Developer Summit Ubuntu Maarten Ectors

TADS 2014 - Maarten Ectors

TelecomSandbox 30 Days

Page 11: TADS Developer Summit Ubuntu Maarten Ectors

TADS 2014 - Maarten Ectors

0 Days

R1chC0der

Page 12: TADS Developer Summit Ubuntu Maarten Ectors

TADS 2014 - Maarten Ectors

1 Solution 4 All

XXLR1chC0der

Blue Orange

Yellow RedDas

hbo

ard

Page 13: TADS Developer Summit Ubuntu Maarten Ectors

TADS 2014 - Maarten Ectors

1¢1¢1¢

Rev

enue C

ostP

rofitM

y Profit

1.4¢70%Telco P

rofit

Page 14: TADS Developer Summit Ubuntu Maarten Ectors

TADS 2014 - Maarten Ectors

Page 15: TADS Developer Summit Ubuntu Maarten Ectors

TADS 2014 - Maarten Ectors

Telecom Integration

Takes Months...

Page 16: TADS Developer Summit Ubuntu Maarten Ectors

TADS 2014 - Maarten Ectors

Telecom IntegrationTakes Months Seconds...

Page 17: TADS Developer Summit Ubuntu Maarten Ectors

TADS 2014 - Maarten Ectors

Q1 Q3 Q4

PoC Beta Launch

Page 18: TADS Developer Summit Ubuntu Maarten Ectors

TADS 2014 - Maarten Ectors

10 People10 Operators31 December

TelecomCrowd-Funding

Page 19: TADS Developer Summit Ubuntu Maarten Ectors

TADS 2014 - Maarten Ectors

Page 20: TADS Developer Summit Ubuntu Maarten Ectors

Tell Operators About Ubuntu Telco Apps TodayThank you

More [email protected]@telestax.com

canonical.com / ubuntu.comtelestax.com