| 180 | |
| 181 | === Setting up SMS gateway === |
| 182 | |
| 183 | Go to Administration -> Settings. On the left panel, you will see a number of Settings including the SMS Settings. We would be using WebAPI channels as it is easier to setup and use. If you are planning to use other such as hardware-based, etc. then refer to [http://eden.sahanafoundation.org/wiki/UserGuidelines/Messaging#SMS this wiki]. |
| 184 | |
| 185 | * Click on the '''SMS WebAPI Channels''' |
| 186 | * Click to create a new channel or edit the existing one. |
| 187 | * There are many providers like [https://www.clickatell.com/ Clickatell], [http://www.cardboardfish.com/ Cardboardfish], [https://www.textmagic.com/ TextMagic] etc. that can be used. |
| 188 | * Put in the appropriate values for the '''URL, Parameters, Message variable, To variable''', etc. |
| 189 | For example, for Clickatell the values are |
| 190 | {{{ |
| 191 | URL: https://api.clickatell.com/http/sendmsg |
| 192 | Parameters: user=yourusername&password=yourpassword&api_id=yourapiid |
| 193 | Message variable: text |
| 194 | To variable: 480 |
| 195 | }}} |
| 196 | * After saving, Click on '''SMS OUTBOUNDS GATEWAYS'''. There could be a number of channels for the SMS but the Gateway define which one to use. Click to create a new gateway and select the appropriate '''Channel''' that you want to use along with the '''Default Country Code''' for the SMS. Click Save. |
| 197 | * Add your phone number and test by using url /eden/msg/compose. |