07-05-2019, 09:49 AM
you are looking for the variable $serviceURL and $params.
After this assignment:
add this code
make sure you have the $DEBUG variable set to true in config.inc.php and you should see the values in the logs/vtigercrm.log file
Note that you are asking about sending the parameters via GET, but the code is sending them via POST, maybe just changing the $serviceURL variable you will have enough
another interesting variable to see is $response as that will contain the answer from your SMS provider
After this assignment:
PHP Code:
$serviceURL = $this->getServiceURL(self::SERVICE_SEND);
add this code
PHP Code:
global $log;
$log->fatal($serviceURL);
$log->fatal($params);
make sure you have the $DEBUG variable set to true in config.inc.php and you should see the values in the logs/vtigercrm.log file
Note that you are asking about sending the parameters via GET, but the code is sending them via POST, maybe just changing the $serviceURL variable you will have enough
another interesting variable to see is $response as that will contain the answer from your SMS provider
Joe
TSolucio
TSolucio