You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an example of message received by acdc:
{"to":["tel:+6666666666"],"message":"Nivel de tanque AV_MEDVO_CA_0001 por debajo del umbral. Última medida 239","from":"tel:666666666;phone-context=+34"}
Do you mean that ACDC would receive something like: ?
{"to":["tel:+6666666666", "tel:+6666666666"],"message":"Nivel de tanque AV_MEDVO_CA_0001 por debajo del umbral. Última medida 239","from":"tel:66666666666;phone-context=+34"}
sms_to value of visual rule would be composed of several numbers: "+346666666 +347777777" we only need deefine which could be the format for multiple numbers (splited with a separator like )
After the PR #341 merge, the following is yet pending to close this issue (#341 (comment)):
Apart from this acceptance test (which I'm not sure is in use now), I'd suggest adding a component test. You can base in existing "should return ok with a valid action with a rule for sms", just adding a new case (a new JSON) which the new syntaxis for multi-SMS.
AlvaroVega
changed the title
Allow several phone numbers in SMS action
Allow several phone numbers in SMS action [ To be closed]
Jul 11, 2019
Allow several phone numbers in SMS action
This is an example of message received by acdc:
{"to":["tel:+6666666666"],"message":"Nivel de tanque AV_MEDVO_CA_0001 por debajo del umbral. Última medida 239","from":"tel:666666666;phone-context=+34"}
Do you mean that ACDC would receive something like: ?
This new feature would imply modify "vrules".
sms_to
value of visual rule would be composed of several numbers: "+346666666 +347777777" we only need deefine which could be the format for multiple numbers (splited with a separator likeand then split
options.to
according with that separator: https://github.com/telefonicaid/perseo-fe/blob/master/lib/models/smsAction.js#L42The text was updated successfully, but these errors were encountered: