Thanks,
Jared
On Nov 19 2009, 2:07 pm, "l...@zeepmobile.com"
<luke.pachol...@gmail.com> wrote:
> Hi Guys, we're putting together a todo list for upcoming
> improvements / fixes.
>
> To summarize, here are the problems with the JOIN command:
>
> 1) You'renotable to send messages to users who subscribed with the
> JOIN command (using their number as the user_id)
> 2) On MO events from users who subscribed via the JOIN command, "uid"
> isn't being set to their phone number
>
> Can you guys confirm these?
>
> Thanks,
> Luke
>
> On Oct 8, 7:11 pm, Joel <joel.l...@gmail.com> wrote:
>
>
>
> > > But, I did find that
> > > The variable for the uid isnotbeing passed in the response for MO
> > >Notsure if it is related ornotbut I was doing some testing to try
> > > and duplicate what was happening
> > > I used to be able to send messages to even those users that used JOIN
> > > instead of the panel but I cant anymore
> > > The only difference is I get the following error
> > > Thesubscrtiptionspecifiedisnotactiveor isblockingaccessfrom
> > >yourapplication.
> > >Not
> > > Subscription with (user_id: [phone number]) doesnothave anactive
> > > subscription foryourapplication.
>
> > > But, I did find that
> > > The variable for the uid isnotbeing passed in the response for MO
> > > > >notchanging anything.
>
> > > > > On Oct 7, 11:04 am, bdg <birddogsgara...@comcast.net> wrote:
>
> > > > > > You shouldnt have to do anything different - if they sign up via the
> > > > > > panel or they sign up using the JOIN command the notification comes
> > > > > > back to you as SUBSCRIPTION_UPDATE
> > > > > > So whateveryourcallback url is set to do w/ SUBSCRIPTION_UPDATE is
--
John
--
John
You can send the MIN to my email at si...@zeepmobile.com.
-Simon
> --
> You received this message because you are subscribed to the Google Groups "Zeep Mobile" group.
> To post to this group, send email to zeep-...@googlegroups.com.
> To unsubscribe from this group, send email to zeep-mobile...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/zeep-mobile?hl=en.
>
>
>
>
--
John
- Simon.
On Jan 14, 5:11 pm, Simon Wex <si...@simonwex.com> wrote:
> Thanks John, I got it. I'll look into it this afternoon.
>
> - Simon.
>
When a user registers with the MIN "(415)867-5309" the system
normalizes it (and all other MINs) to the E.164 format.
http://en.wikipedia.org/wiki/E.164
This means that: "(415)867-5309" becomes "+14158675309"
This also means that the user id is then set to: "+14158675309". After
the JOIN command is received inbound, we'll send your callback url the
following event:
{"event"=>"SUBSCRIPTION_UPDATE", "uid"=>"+14158675309",
"sms_prefix"=>"surfsup", "app_id"=>"4027", "min"=>"+14158675309",
"short_code"=>"88147"}
(shown in ruby hash)
This means that if you want to then send the user an MT, you'll have
to use the value of the "uid" from the event, not the original MIN.
I hope this clears things up, I'll be looking at the docs tomorrow to
see if I can supplement them with this information.
Cheers, Simon.
Simon Wex
CTO and Co-Founder
Zeep
http://zeepmobile.com
http://zeepmedia.com
Here's an update on my situation. I used another coworker's cell phone
to text the JOIN command. He then correctly received a text in
response saying he had subscribed. And your system correctly used the
callback URL to my site and sent me an e-mail with the coworker's cell
phone number. When I sent a request to your system using cURL through
PHP with the user_id of this E.164 formatted cell number, I got this
response:
"The subscrtiption specified is not active or is blocking access from
your application."
Am I still doing something wrong here, or is that message signifying
something wrong on the system's side? Thanks for your help!
--
John
On Jan 14, 9:04 pm, Simon Wex <si...@simonwex.com> wrote:
> So this is what I think is happening guys...
>
> When a user registers with the MIN "(415)867-5309" the system
> normalizes it (and all other MINs) to the E.164 format.
>
> http://en.wikipedia.org/wiki/E.164
>
> This means that: "(415)867-5309" becomes "+14158675309"
>
> This also means that the user id is then set to: "+14158675309". After
> the JOIN command is received inbound, we'll send your callback url the
> following event:
>
> {"event"=>"SUBSCRIPTION_UPDATE", "uid"=>"+14158675309",
> "sms_prefix"=>"surfsup", "app_id"=>"4027", "min"=>"+14158675309",
> "short_code"=>"88147"}
>
> (shown in ruby hash)
>
> This means that if you want to then send the user an MT, you'll have
> to use the value of the "uid" from the event, not the original MIN.
>
> I hope this clears things up, I'll be looking at the docs tomorrow to
> see if I can supplement them with this information.
>
> Cheers, Simon.
>
> Simon Wex
> CTO and Co-Founder
> Zeephttp://zeepmobile.comhttp://zeepmedia.com
--
John
Simon's out today, but as I understand it you just need to urlencode
the +1xxxxxxxxxx. In other words ensure you're posting
'%2B1xxxxxxxxxx' instead of '+1xxxxxxxxxx'. My guess is your http
library is converting the '+' to a space rather than '%2B1'
> --
> You received this message because you are subscribed to the Google Groups "Zeep Mobile" group.
> To post to this group, send email to zeep-...@googlegroups.com.
> To unsubscribe from this group, send email to zeep-mobile...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/zeep-mobile?hl=en.
>
>
>
>
--
Scott Robertson
CEO and Co-Founder
For future reference for PHP developers, you can use the PHP function
rawurlencode() to do this. So you could put a string together like
this:
$parameters = 'user_id=' . rawurlencode('+15551239876') . '&body=' .
rawurlencode('The content of the text message goes here.');
Thanks a ton, guys!
--
John