Are voice geo-permissions effective only for calls made via the Rest API?

Voice geo-permissions are effective for calls made using Rest APIs and Dial XML. The hangup cause and its respective hangup cause code will be shown as outline below. 

Calls to blocked countries

API calls to blocked countries will be rejected with HTTP response code 403 and the error message "Calls to this destination country are barred".

Calls initiated with Dial XML will be dropped automatically. The hangup cause (in CDR) for such calls will be set to "Destination Country Barred" (Code 2030).

Learn more about Plivo hangup causes here.

Calls to blocked numbers

API calls to blocked numbers will be rejected with HTTP response code 403 and the error message "Calls to this destination number are barred".

Calls initiated with Dial XML will be dropped automatically. The hangup cause (in CDR) for such calls will be set to "Destination Number Barred" (Code 2040).

For more information, see our detailed reference document.

Was this article helpful?
0 out of 0 found this helpful
Didn’t find what you are looking for? Create new ticket