Hi,
Anyone has had any experience creating an auto-unsubscribe overytime someone reply with the word STOP?
Can we make it so it removes a contact from a particular group?
THanks.
Hi,
Anyone has had any experience creating an auto-unsubscribe overytime someone reply with the word STOP?
Can we make it so it removes a contact from a particular group?
THanks.
Would it make sense to have a routine that puts them in the stoplist instead?
Yes it may work. What im looking for is that if someone replies ‘STOP’ then automatically an action is triggered and the phone number/contact is removed.
What do you think?
I’m looking at doing the exact same thing. I think an eventhandler needs to be invoked. I’ll update if I get anywhere.
probably useful if you want to tinker:
https://github.com/antonraharja/plugin-autorespond/blob/master/web/plugin/feature/sms_autorespond/fn.php
see how I hook recvsms_intercept()
basically you need to hook recvsms_intercept(), look for the word STOP and then call function to remove a number from a group, or whatever you need
anton
I can’t seem to get to that file, I get a 404 on Github… could you be a little more specific on this?
the plugin name’s changed from sms autorespond to just autorespond, so here it is:
anton
I think what I am looking for is when someone replies with the text “STOP”, I want to add that number to the stoplist. Is that possible or easy?
The hardest part is that if the autorespond needs to be invoked to call another function, the autorespond plugin is not included in the main project.
Did you ever sort this out? I am looking for the same functionality!
did you solve this? I am stil wondering on the same problem. Please notify me if you’ve solved this.