Wireless LAN
Reply
Visitor
mklinkel
Posts: 6
Registered: ‎04-21-2010
0

SmartPass Self user generation using E-Mail

Dear all,

 

I am trying to use SmartPass (7.4.4.1.0)  for WLAN guest access. I would like the users to self generate their login via Web Portal.

 

My problem is that I do not want to use clickatell. But I am not able to use a User-type which is configured to send the coupon only via E-mail or using a non clickatell SMS-Gateway...

 

Is there anyway to use SmartPass self user generation with e-Mail or non clickatell-SMS?

 

Thanks a lot in advance,

 

Michaela

Visitor
sjuniper
Posts: 2
Registered: ‎05-04-2011
0

Re: SmartPass Self user generation using E-Mail

 

Hi....

 

I've been facing the same problem.....did you get any solution from any where..?

 

thanks

Contributor
aaron.howard@uni.edu
Posts: 38
Registered: ‎12-03-2011
0

Re: SmartPass Self user generation using E-Mail

Yes I've been struggling with the same problem for over a year!

Contributor
aaron.howard@uni.edu
Posts: 38
Registered: ‎12-03-2011
0

Re: SmartPass Self user generation using E-Mail

I made some progress on this today. I'm able to send text messages through clickatell with their test interface

 

http post api.clickatell.com/xml/xml?data=

<clickAPI>

<sendMsg>

<api_id>[your  XMLapi ID]</api_id>

<user>[your username]</user>

<password>[password]</password>

<to>[1phone number]</to>

<from>[clickatell assigned #]</from>

<text>[Your SMS Message]</text>

<mo>1</mo>

</sendMsg>

</clickAPI>

 

I grabbed a packet capture from smartpass and decoded the url from base64.

http post api.clickatell.com/xml/xml?data=

 

<clickAPI>

<sendMsg>

<session_id>f4cade2af92a546b06b8ccd194b7038a</session_id>

<to>[1phone number]</to>

<text>smartpass!</text>

<concat>1</concat>

</sendMsg>

</clickAPI>

 

After reading the clickatell api documentation I realized that smartpass is authenticating on the first attempt and then referencing a session number. But, you can clearly see smartpass is not sending a from number or the mobile phone <mo>1</mo> tag. I verified with clickatell support that these tags are required for all clickatell api messages regardless of the account or service level!

 

I also learned that it's important that you create an xml api. Further more that the xml api is assigned to the from number clickatell assigns. I also noticed smartpass trying to ping api.clickatell.com, if it can't it logs an error. Overall I found clickatell support very helpful. Now I think juniper needs to address these missing fields.

Contributor
aaron.howard@uni.edu
Posts: 38
Registered: ‎12-03-2011
0

Re: SmartPass Self user generation using E-Mail

I have an update on this. U.S. Carriers require that a long or short origination number be included in an sms. This is to prevent spamming and spoofing. I believe the existing code would work for carriers that don't have this requirement.  Sending sms to the U.S. requires a <from> and <mo> tag.

 

 

Visitor
jochr
Posts: 3
Registered: ‎09-13-2010
0

Re: SmartPass Self user generation using E-Mail

Hello,

 

Is it not possible to NOT use clickatell? We only want Email to SMS.


But it seems I can't configure a web portal without having clickatell.

 

We get this error message "You must select a Clickatell SMS Profile for this User Type".

 

Jo Christian

Trusted Contributor
michael.saw
Posts: 1,048
Registered: ‎09-26-2011
0

Re: SmartPass Self user generation using E-Mail

Hi All,

What other SMS gateway can we use?
Eg. SendQuick?
Thanks!

Michael
JNCIA-JUNOS, JNCIS-ENT/SEC, JNCIP-ENT
(CCNA, ACMP, ACFE, CISE)
"http://www.thechampioncommunity.com/"
CONNECT EVERYTHING. EMPOWER EVERYONE.
Share & Learn. Knowledge is Power.

"If there's a will, there's a way!"
Copyright© 1999-2013 Juniper Networks, Inc. All rights reserved.