0
By clicking on the button I designed to communicate with the call API, it throws me to a page where it confirms that everything was correct. Do not qeroq play for this page, what I could do, preferably in php?
I didn’t really know how to search to find the answer, I hope I was clear.
<?php
session_start();
$celular = $_SESSION['celular'];
$ddd = $_SESSION['ddd'];
$zero = 0;
$num_com_zero = $zero.$ddd.$celular ;
$num_s_zero = $ddd.$celular;
header("Location: http://201.76.188.6:8090/call.php?exten=7601&number=$num_com_zero");
?>
But you are, literally, redirecting to the API page. That is, the code does only what you don’t want to do, which makes it seem like you don’t understand the code you wrote yourself. What exactly you need to do and why you did it this way?
– Woss
I did so, because I needed to make it work, however, this is not in the perfect way that I would like. One snag is I just have the link to send the number through. what I would really like is to send this number by the link and not go to the API response screen, keep on the msm page q the client was
– Pedro Castilho
is a "call me" button where the client clicks and the api automatically calls him.
– Pedro Castilho