tphillips / SERV

SERV bespoke system
GNU General Public License v2.0
1 stars 2 forks source link

Flextel API #13

Closed ghost closed 10 years ago

ghost commented 10 years ago

On the Flextel API page* they describe how you can change the Flextel routing using a simple POST call:

https://www.flextel.ltd.uk/cgi-bin/reroute.sh?alt=simple&mode=divert&flextel=xxxxxxxxxxx&pin=xxxx&new_dest=xxxxxxxxxxx

flextel = pin = dest = text box on the Controller's Tool, populated with the controller's mobile number

Armed with a [Go] button, it could submit the request, and receive a return: 123,12,31,21,2,12,1,1,1,flextelserv@yahoo.co.uk,Ian Kirkham,John Steele,Graham Browning,Bruce Clarke,Michael Ney,Jamie Betteridge,Geoff Streeter,Alan Rogers

I'll confess that I've no idea what half of that means but, having tested it a couple of times, the important bit is before the first comma. So long as that's the number that was submitted, the request has been processed.

tphillips commented 10 years ago

Edited out sensitive information

ghost commented 10 years ago

Fair play, did't know if this was public or private.