TADS Developer Summit Ubuntu Maarten Ectors
-
Upload
alan-quayle -
Category
Technology
-
view
657 -
download
2
description
Transcript of TADS Developer Summit Ubuntu Maarten Ectors
Who wants to be a MillionaireHow we can make it happen...
[email protected] - Cloud Strategy [email protected] - CEO
TADS 2014 - Maarten Ectors
TADS 2014 - Maarten Ectors
TADS 2014 - Maarten Ectors
TADS 2014 - Maarten Ectors
TADS 2014 - 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
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
TADS 2014 - Maarten Ectors
TelecomSandboxHello World,
Test? Test! Test...
St@rC0der
TADS 2014 - Maarten Ectors
TelecomSandbox 30 Days
TADS 2014 - Maarten Ectors
0 Days
R1chC0der
TADS 2014 - Maarten Ectors
1 Solution 4 All
XXLR1chC0der
Blue Orange
Yellow RedDas
hbo
ard
TADS 2014 - Maarten Ectors
1¢1¢1¢
Rev
enue C
ostP
rofitM
y Profit
1.4¢70%Telco P
rofit
TADS 2014 - Maarten Ectors
TADS 2014 - Maarten Ectors
Telecom Integration
Takes Months...
TADS 2014 - Maarten Ectors
Telecom IntegrationTakes Months Seconds...
TADS 2014 - Maarten Ectors
Q1 Q3 Q4
PoC Beta Launch
TADS 2014 - Maarten Ectors
10 People10 Operators31 December
TelecomCrowd-Funding
TADS 2014 - Maarten Ectors
Tell Operators About Ubuntu Telco Apps TodayThank you
More [email protected]@telestax.com
canonical.com / ubuntu.comtelestax.com