hi,

I've managed to verify my mobile (so account settings are ok) , yet I cannot send notifications through sms framework. I've set all settings as expected. Is there a debug option to see more info?

CommentFileSizeAuthor
#2 sms_api_issue.jpg64.16 KBcharos

Comments

univate’s picture

Project: SMS Framework » Clickatell for SMS Framework
Version: 6.x-2.x-dev » 6.x-1.0
Component: Clickatell » Code
charos’s picture

StatusFileSize
new64.16 KB

Using SMS Framework 6.x-2.x-dev (2011-Mar-31). In /admin/smsframework/sms_track/view I can see the notifications but were never sent. Clearly an issue with SMS Framework (since Notification "passed" the content to SMS Framework). I attach a screenshot

univate’s picture

If its so "clearly" then you would provide a patch or code show where the problem is occurring. At the moment from the information it sound like you are just guessing where the problem is... I have no idea what the screenshot is showing - it appears to show message are being sent?

At the very least, to provide a good bug report you should clearly describe your setup and the exact step to report the issue. I can't promise that I will have a chance to test myself, but someone else may or through stepping through the process you may just workout wants going on yourself.

charos’s picture

I think it's obvious that the screenshot shows the page indicated above (/admin/smsframework/sms_track/view). Since you're one of the maintainers of SMS Framework , I assumed you're aware of "Tracking" submodule of SMS Framework (Message archiving and delivery tracking for the SMS Framework.).
"Clearly": Since Notification module "passed" the delivery method to SMS Framework , I can't see how this may not be related to it. If choose notification method by email, content is sent by email. If I choose notification method by sms, it's not send (the sms). If I couldn't see the content at /smsframework/sms_track/view , then I would assume that there was a problem with Notification module not routing the request to SMS Framework. But since I can see the content to the sms tracking list, by logic, issue occurs within the SMS Framework.

Repeatable: Always
Steps to repeat:
1. Enable Clickatell Gateway module and choose it as the default gateway
2. Enable SMS user module and SMS Tracking
3. Visit /user/*/edit/mobile page and confirm your mobile number
4. Receive the confirmation code and enter the required code ( Clickatell gateway works fine until this step)
5. Edit your Messaging and Notification settings at user page (user/*/edit) and select "Default send method: sms" with "Default send interval: immediately"
6. Login as another user,make a post in any content that has Notifications and request a notification for the user above.

Expected Results:
User with sms notification should receive an sms

Actual Results:
No sms is received although notification is seen in SMS tracking list (/admin/smsframework/sms_track/view)

Is this clear enough now?

univate’s picture

Glad its clear and obvious to you where the problem is, looking forward to the patch you upload so I can get this fix in for you.

charos’s picture

What's with the attitude mate? Did I request an immediate solution or demanded anything? Did I mock you in any way? Do you think I am capable of providing a patch and I'm too bored to do it or what? If I could make a patch I'd just do it . Unless you think only users with coding skills can create issues. If you're too snob to reply kindly to anyone who can't code , just make a note in the project page so we won't "bother" your majesty with peasant issues.

yeti22’s picture

Same problem. Only admin user can send sms that is received by another user.
Even with permission, non-admin users send sms but that is NOT received by other users. Help needed.

kekko1’s picture

I do not know if it helps but ...
my problem was the confirmation of the telephone number from the user.

My solution:
go to admin / user / permissions
form sms_sendtophone and select for autenticate user this option
send-to-any number

and work

bye

dpi’s picture

Issue summary: View changes
Status: Active » Closed (outdated)