我正在使用Twilio API,并尝试使用可编程传真发送传真,但出现此错误。
[HTTP 403]无法创建记录:您帐户的国际权限不允许拨号到该国家/地区
下面是我发送传真的代码。
$sid = config('services.twilio.sid');
$token = config('services.twilio.token');
$client = new Client($sid,$token);
try {
$fax = $client->fax->v1->faxes->create(
"+92304xxxxxxx",// to
"https://www.twilio.com/docs/documents/25/justthefaxmaam.pdf",// mediaUrl
array("from" => config('services.twilio.phone_number') )
);
}
有人请帮忙吗?
谢谢。