Given a sample use case:
- user composes an SMS containing ice.push.browser and sends it
to an ICEsoft phone number. This is convenient because we can
create a link for them that pre-fills the message with
the browser ID
sms:5551212?body=Register%20for%20cloud%20push%20ve6oa
- we receive an HTTP POST at our server from twilio containing
the SMS
Ted's initial suggestion about how it might work using just the browser id:
At that point we want to call something like this, because we
have the notifyBackURI, which is sms:phonenumber
public void park(final String pushId, final NotifyBackURI notifyBackURI)
{
parkedPushIDs.put(pushId, notifyBackURI);
}
So, we should look at how difficult it would be to add more support
for browserID. Maybe the ability to registerCloudPushId would be
a good place to start (even if we just kept a table of browserID/pushID
we could iterate through them and park them all).
Given a sample use case:
to an ICEsoft phone number. This is convenient because we can
create a link for them that pre-fills the message with
the browser ID
sms:5551212?body=Register%20for%20cloud%20push%20ve6oa
the SMS
Ted's initial suggestion about how it might work using just the browser id:
At that point we want to call something like this, because we
have the notifyBackURI, which is sms:phonenumber
public void park(final String pushId, final NotifyBackURI notifyBackURI)
{ parkedPushIDs.put(pushId, notifyBackURI); }So, we should look at how difficult it would be to add more support
for browserID. Maybe the ability to registerCloudPushId would be
a good place to start (even if we just kept a table of browserID/pushID
we could iterate through them and park them all).