/
3.14.1.2 QUICK CALLINGS

3.14.1.2 QUICK CALLINGS

The Quick Calling services enables an end user to redirect his local access number (DID) to any destination number (e.g. international).

Authorization 

The method requires authorization using basic authentication. Please use the sip login and password.

If notepad++ is used to generate basic authentication token for tests, please use option “Base64 Encode with padding”.

Example:

user:password in base 64 format --> dXNlcjpwYXNzd29yZA==

/GetList

  • Description: Gets quick calling list.

  • Url: /VUP/api/QuickCallings/GetList

  • HTTP method: GET

curl --location 'https://xxxxxxxx/vup/api/QuickCallings/GetList' \ --header 'Accept: application/json, text/plain, */*' \ --header 'Authorization: Basic dXNlcjpwYXNzd29yZA=='
{ "recordsTotal": 0, "recordsFiltered": 0, "data": [] }

/Save

  • Description: Save/ADD a quick calling rule.

  • Url: /VUP/api/QuickCallings/Save

  • HTTP method: POST

curl --location 'https://xxxxxxxxxx/vup/api/QuickCallings/Save' \ --header 'Accept: application/json, text/plain, */*' \ --header 'Authorization: Basic bWFyY2luOmRvYnVjaDE4ODk=' \ --header 'Content-Type: application/json' \ --data '{ "number": "48669669669", "didId": "8", "description": "Call mama" }'
{}

/Remove

  • Description: Remove?delete particular quick calling rule

  • Url: /VUP/api/QuickCallings/Remove

  • HTTP method: POST

curl --location 'https://xxxxxxxxxxx/vup/api/QuickCallings/Remove' \ --header 'Accept: application/json, text/plain, */*' \ --header 'Authorization: Basic bWFyY2luOmRvYnVjaDE4ODk=' \ --header 'Content-Type: application/json' \ --data '{ "id": 11 }'
{}

Related content