We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello. I run script like this: AGI(agi-scripts/createCall/run.php,HI,THERE,WITH,ARGUMENTS)
AGI(agi-scripts/createCall/run.php,HI,THERE,WITH,ARGUMENTS)
In exmaples I found this way to get arguments:
$variables = $pagiClient->getChannelVariables(); for ($i = 0; $i < $variables->getTotalArguments(); $i++) { $pagiClient->getAsteriskLogger()->notice(' -- Argument ' . intval($i) . ': ' . $variables->getArgument($i)); }
but in this case argument with index 0 is always empty and last argument is always absent.
TEMPORARY FIX:
I have to start from "index = 1 to <= total" counts in for loop.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello.
I run script like this:
AGI(agi-scripts/createCall/run.php,HI,THERE,WITH,ARGUMENTS)
In exmaples I found this way to get arguments:
but in this case argument with index 0 is always empty and last argument is always absent.
TEMPORARY FIX:
I have to start from "index = 1 to <= total" counts in for loop.
The text was updated successfully, but these errors were encountered: