Voice Geo Permissions are effective for calls made using Rest APIs and Dial XML.

Hangup cause and its respective hangup cause code will be as 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 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 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.