Problem Sending to Multiple Twilio Users

I have FIVE Twilio configurations for my family, one for each mobile and one for ALL combined.
Twilio A 305-xxx-xx86
Twilio B 305-xxx-xx87
Twilio C 305-xxx-xx91
Twilio D 786-xxx-xx00
Twilio All 305-xxx-xx86,305-xxx-xx87,305-xxx-xx91,786-xxx-xx00

All of these work properly when used individually. BUT if I want to send a notification to Twilio-A AND Twilio-C only Twilio-A receives the message. The concatenated Twilio-All works fine so I can send a notification to everyone just not to two or three users

Have you turned on debugging for the Vera Alerts plugin and see what error messages are happening in the Vera log file ?

No but I will … which then raises the problem of finding anything in the Vera Log file :slight_smile:

Extract of the Vera Log from Sending Message to two Twilio Users, Twilio-Betty AND Twilio-John. In this case ONLY Twilio-Betty received the messaqe


08 11/04/15 8:16:05.251 JobHandler_LuaUPnP::HandleActionRequest device: 1675 service: urn:richardgreen:serviceId:VeraAlert1 action: SendAlert <0x33226680>
08 11/04/15 8:16:05.251 JobHandler_LuaUPnP::HandleActionRequest argument DeviceNum=1675 <0x33226680>
08 11/04/15 8:16:05.251 JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:richardgreen:serviceId:VeraAlert1 <0x33226680>
08 11/04/15 8:16:05.251 JobHandler_LuaUPnP::HandleActionRequest argument action=SendAlert <0x33226680>
08 11/04/15 8:16:05.252 JobHandler_LuaUPnP::HandleActionRequest argument Message=Test Two Twilio Users <0x33226680>
08 11/04/15 8:16:05.252 JobHandler_LuaUPnP::HandleActionRequest argument Recipients=Twilio-Betty Twilio-John <0x33226680>
08 11/04/15 8:16:05.252 JobHandler_LuaUPnP::HandleActionRequest argument rand=0.8967275223694742 <0x33226680>
50 11/04/15 8:16:05.257 luup_log:1675: VeraAlert:1675:SendAlert:Msg:Test Two Twilio Users <0x2ba25000>
50 11/04/15 8:16:05.258 luup_log:1675: VeraAlert:1675:ExpandRecipients:Checking:Twilio-Betty <0x2ba25000>
50 11/04/15 8:16:05.258 luup_log:1675: VeraAlert:1675:ExpandRecipients:Adding Requested Profile <0x2ba25000>
50 11/04/15 8:16:05.259 luup_log:1675: VeraAlert:1675:ExpandRecipients:Checking:Twilio-John <0x2ba25000>
50 11/04/15 8:16:05.259 luup_log:1675: VeraAlert:1675:ExpandRecipients:Adding Requested Profile <0x2ba25000>
50 11/04/15 8:16:05.260 luup_log:1675: VeraAlert:1675:SendAlert:Sending to:Twilio-Betty <0x2ba25000>
50 11/04/15 8:16:05.261 luup_log:1675: VeraAlert:1675:TwilioSend:Url:https://** Twilio Account Number ******:5f728332b279e0ddeec0e66d6782cb31@api.twilio.com/2010-04-01/Accounts/ Twilio Account Number ******/SMS/Messages <0x2ba25000>
50 11/04/15 8:16:05.261 luup_log:1675: VeraAlert:1675:TwilioSend:Body:Operation=SMS&From=786%2Dxxx%2Dxx25&To=305%2Dxxx%2Dxx86&Body=Test%20Two%20Twilio%20Users <0x2ba25000>
50 11/04/15 8:16:06.081 luup_log:1675: VeraAlert:1675:TwilioSend:Result:201 Resp:
SMc995dde0b75f4a1bad9df8b54732062bWed, 04 Nov 2015 13:16:04 +0000Wed, 04 Nov 2015 13:16:04 +0000
Twilio Account Number ******+1305xxxxx86+1xxxxx25525Test Two Twilio Usersqueuedoutbound-api2010-04-01USD/2010-04-01/Accounts/ Twilio Account Number ******/SMS/Messages/SMc995dde0b75f4a1bad9df8b54732062b1 <0x2ba25000>
50 11/04/15 8:16:06.081 luup_log:1675: VeraAlert:1675:SendAlert:Sending to:Twilio-John <0x2ba25000>
50 11/04/15 8:16:06.082 luup_log:1675: VeraAlert:1675:TwilioSend:Url:https://
Twilio Account Number ******:5f728332b279e0ddeec0e66d6782cb31@api.twilio.com/2010-04-01/Accounts/ Twilio Account Number ******/SMS/Messages <0x2ba25000>
50 11/04/15 8:16:06.083 luup_log:1675: VeraAlert:1675:TwilioSend:Body:Operation=SMS&From=786%2Dxxx%2Dxx25&To=305%2Dxxx%2Dxx86&Body=Test%20Two%20Twilio%20Users <0x2ba25000>
50 11/04/15 8:16:06.730 luup_log:1675: VeraAlert:1675:TwilioSend:Result:201 Resp:
SMfa73eb71eac94f339ba82c320b9e4c9fWed, 04 Nov 2015 13:16:04 +0000Wed, 04 Nov 2015 13:16:04 +0000
Twilio Account Number ******+1305xxxxx86+1786xxxxx25Test Two Twilio Usersqueuedoutbound-api2010-04-01USD/2010-04-01/Accounts/ Twilio Account Number ********/SMS/Messages/SMfa73eb71eac94f339ba82c320b9e4c9f1 <0x2ba25000>
06 11/04/15 8:16:06.731 Device_Variable::m_szValue_set device: 1675 service: urn:richardgreen:serviceId:VeraAlert1 variable: LastMsgSent was: 08:12:51 Wed Nov 04 now: 08:16:06 Wed Nov 04 #hooks: 0 upnp: 0 v:0xfa9df0/NONE duplicate:0 <0x2ba25000>
50 11/04/15 8:16:06.762 luup_log:1675: VeraAlert:1675:SendAlert:Memory:465242 <0x2ba25000>

The SENDTO Number used was the SAME (Twilio-Betty 1305xxxxx86) in both sends. apparently the Plug In is only ever using the First Send Number, not the Send Number for subsequent users…

{BUMPED}

I looked at the code … there … there might be a bug but I have to add debug info and test … and I do not have the time right now … I also think my Twilio account expired.

Richard, any news on this?

I probably will not get to this until near the end of the year.

I have been waiting for Vera new make a new UI7 release before releasing the fix for this.

The fix is in version 7.11 … I have submitted this to MCV for audit.
This also has the new User Interface which should be accessible via ALTUI.
This is UI7+ only.