-
lvlinuxMooseable: Been good. Swamped but good lol. I haven't ventured into M$ Tombs yet; avoiding/ignoring it as long as I can hahaha. I've been working on messaging in Kazoo...struggling a bit on the basics with the lack of docs. :)
-
lvlinuxAnyone have insight on how to enable messaging for a number? I have added messaging, sms, mms to the number's allowed features. I did a PATCH on the number with {"data":{"features":["messaging","sms","mms"]}} and when I query crossbar for the number it relfects that in the features. But when I query crossbar for all numbers in the account, it shows an empty "features" array for the number.
-
lvlinuxSo what am I missing here?
-
lvlinuxWhen I query crossbar for the individual number, i see the "features":["messaging","sms","mms"] key. Below that there is the _read_only: object which in it has "features":{"available":["messaging"], "settings":{}}
-
lvlinuxSo I'm thinking the settings:{} is supposed to have something in it like {"sms":true} or the like but I'm not sure what populates that _read_only object?
-
lvlinuxOK I've made a bit of progress, I think---I added "pvt_features":["messaging", "sms", "mms"] to the phone number document in couch. Now it shows up in features as it should, and thus crossbar thinks the number is activated for SMS. Surely that's not the correct way to do it though??
-
lvlinuxWhen I try to send an SMS using Crossbar now instead of a 400 validation error "number does not have sms enabled", I get a 500 "init failed". I of course didn't expect the SMS to be actually sent as there is nowhere for it to go, but thought it might be a step closer lol. I checked the log on debug and it has a validation error and gives a stacktrace which seems to point to not being able to verify that
-
lvlinuxthe number has sms enabled. So I suppose my "pvt_features" addition wasn't the correct way to do it.
-
lvlinuxCorrection: I added "pvt_features":{"messaging":"enabled", "sms":"enabled", "mms":"enabled"} before it would accept it.
-
lvlinuxSo anyway I'm still missing something...
-
lvlinuxIn MonsterUI it shows the little SMS/MMS icons next to the number listing. But when I click on the cog and click "Messaging" the little dialog that pops up that should have the switches to enable/disable SMS/MMS is empty except for the save/cancel buttons.