January 09, 2015
GetRingTo function
This function will provide a list of Ring URIs configured for this phone number. RingType is 1 for Ring and 2 for Music (Provided as Early Media where and when available, if setup as 2)
Meta:
GetRingTo(Username, Password, Number)
Sample usage:
POST:
curl -X POST http://api.multitel.net/json/getringto \
--data-urlencode "UserName=USERNAME" \
--data-urlencode "Password=PASSWORD" \
--data-urlencode "Number=12031234567"
GET:
curl -x GET http://api.multitel.net/json/getringto/USERNAME/PASSWORD/12031234567
Sample output:
{"DATA":[{"RINGTO":"18886868581","RINGTO2":"12035851234","RINGTO3":"","RINGTYPE":"1"}]}