You can identify if calls are blocked due to Voice Geo Permissions by checking the hangup cause in the Voice logs.


You can filter the logs with below hangup causes:

  • Destination Country Barred (Code 2030)
  • Destination Number Barred (Code 2040)




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.