diff --git a/www/html/aplicativo/cadastros/pesquisa/pesquisa.php b/www/html/aplicativo/cadastros/pesquisa/pesquisa.php index 418a1cefc..ca02363cd 100644 --- a/www/html/aplicativo/cadastros/pesquisa/pesquisa.php +++ b/www/html/aplicativo/cadastros/pesquisa/pesquisa.php @@ -46,7 +46,7 @@ try { $socket = ConectaAmi("192.168.115.98", 5038, "verita", "manager007@"); if ($socket) { - $asd = DiscarCallAmi($socket, "SIP/VERITA_SIMPLES/$phone", "1001", "9000", "$ppId|CIDADE|UF|BAIRRO", "from-internal"); + $asd = DiscarCallAmi($socket, "SIP/VERITA_SIMPLES/$phone", "1001", "9000", "\"$ppId|CIDADE|UF|BAIRRO\" <$phone>", "from-internal"); fclose($socket); echo json_encode(['status' => 1, 'message' => $asd]); exit;